Q1. The two-tier architecture in databases consists of:
- A.Three layer tiers
- B.Client and Server✓ Correct
- C.Only Client tier
- D.Only Server tier
Explanation
Two-tier architecture has a client tier and a server tier.
Topic in Databases
Database architecture describes how a DBMS is layered and deployed, from the ANSI/SPARC three-schema model down to client-server and parallel configurations. Questions usually ask you to match the internal, conceptual and external levels to the mappings that provide data independence, and to compare one-tier, two-tier and three-tier deployments where an application server sits between clients and the database. Other items cover shared-memory, shared-disk and shared-nothing parallel designs, the buffer manager and its page replacement policy, connection pooling for many concurrent users, and where the system catalog, stored procedures and the query processor fit.
Below are 30 practice questions from a pool of 210 Database Architecture MCQs, one of 17 topics in Databases. Each shows the correct answer with an explanation; when you are ready, take a timed quiz to test recall under exam conditions.
Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
Q1. The two-tier architecture in databases consists of:
Two-tier architecture has a client tier and a server tier.
Q2. In a client-server architecture, the database resides on the:
In client-server architecture, the database resides on the server.
Q3. What is a centralized database system?
A centralized database system stores and manages all data at a single site.
Q4. Which tier in three-tier architecture handles the user interface?
The presentation tier handles the user interface in three-tier architecture.
Q5. What does a query processor do?
The query processor interprets, optimizes, and executes database queries.
Q6. The storage manager in a DBMS is responsible for:
The storage manager handles the interaction between the DBMS and the physical storage.
Q7. Which component of DBMS translates high-level queries into low-level operations?
The query compiler translates high-level queries like SQL into low-level file operations.
Q8. In a three-tier architecture, the middle tier is called:
The middle tier is the application server that contains business logic.
Q9. What is the role of the buffer manager?
The buffer manager handles reading and writing data blocks between disk and memory.
Q10. A database engine is also known as:
The database engine (storage engine) handles data storage, retrieval, and update.
Q11. In the three-schema architecture, which schema defines the user's view?
The external schema defines individual user views of the database.
Q12. Which DBMS component ensures that the database remains in a consistent state after a failure?
The recovery manager restores the database to a consistent state after failures.
Q13. The data definition language (DDL) compiler processes:
The DDL compiler processes schema definitions and stores them as metadata in the system catalog.
Q14. In a two-tier architecture, the application logic resides:
In two-tier architecture, application logic can reside on either the client or the server.
Q15. What is a database catalog?
The database catalog (system catalog) stores metadata including schema definitions and constraints.
Q16. Which architecture is most suitable for web-based database applications?
Three-tier architecture (client, application server, database server) is most suitable for web applications.
Q17. The runtime database processor executes:
The runtime database processor executes database access operations at runtime.
Q18. What is the purpose of the DML precompiler?
The DML precompiler extracts DML commands from application programs for processing.
Q19. In a parallel database system, the main goal is:
Parallel database systems use multiple processors to improve query processing performance.
Q20. Shared-nothing architecture means:
In shared-nothing architecture, each processor has its own private memory and disk.
Q21. In a shared-disk parallel architecture, the potential bottleneck is:
Shared-disk architecture can bottleneck at the interconnection network since all processors access the same disk.
Q22. The query optimizer in a DBMS uses which approach to find the best execution plan?
Cost-based optimization evaluates multiple execution plans and selects the one with the lowest estimated cost.
Q23. Which type of parallelism involves executing different operations of a query simultaneously?
Inter-query parallelism executes different queries simultaneously, while intra-query parallelism splits a single query.
Q24. In a DBMS architecture, the catalog manager is responsible for:
The catalog manager maintains metadata, schema information, and statistics used by the query optimizer.
Q25. The concept of data independence is directly supported by:
Data independence is supported by the three-level architecture where mappings between levels absorb changes.
Q26. In a DBMS, the lock manager is part of which subsystem?
The lock manager belongs to the concurrency control subsystem, managing locks for concurrent access.
Q27. What is the main advantage of shared-memory parallel architecture?
Shared-memory architecture enables fast inter-processor communication through shared memory.
Q28. The DBMS buffer replacement strategy LRU stands for:
LRU (Least Recently Used) is a buffer replacement strategy that evicts the least recently accessed page.
Q29. Which DBMS component is responsible for enforcing authorization and integrity constraints?
The authorization and integrity manager checks permissions and ensures data satisfies integrity constraints.
Q30. In a multi-tier architecture, which tier contains the business rules?
Business rules and application logic reside in the application tier (middle tier).
Practice MCQs with explanations
Practice MCQs with explanations
Practice MCQs with explanations
Practice MCQs with explanations
Practice MCQs with explanations
Practice MCQs with explanations
Take a timed quiz drawn from 210+ questions on this topic. No signup required — your progress saves in your browser.
Start Database Architecture Quiz