200-301 Question 44
Single answerA company is designing its network architecture for a small-scale application that consists of a web server and a database server. They decide to implement a two-tier architecture. Which of the following statements correctly describes a key characteristic of a two-tier architecture?
- A
The web server and database server communicate directly without an intermediary layer.
- B
The web server acts as a middle layer between the user and the database server.
- C
The architecture includes separate tiers for presentation, application logic, and data storage.
- D
The two-tier architecture provides scalability by introducing load balancers between application servers.
Show answer and explanation
Correct answer: A
Explanation
In a two-tier architecture, the application is divided into two layers: the client-side (presentation layer) and the server-side (data layer). The web server communicates directly with the database server without any intermediary layer, making it a simpler and more straightforward architecture suitable for small-scale applications.
- A. Correct.
Correct: In a two-tier architecture, the web server (front-end) directly communicates with the database server (back-end) without using an intermediary layer.
- B. Incorrect.
Incorrect: The web server does not act as a middle layer in a two-tier architecture. This statement describes a three-tier architecture.
- C. Incorrect.
Incorrect: This statement describes a three-tier architecture where presentation, application logic, and data storage are separated into distinct layers.
- D. Incorrect.
Incorrect: While scalability can be achieved in more complex architectures, introducing load balancers typically applies to multi-tier or distributed systems, not a basic two-tier setup.