ANS-C01 Question 68
Select 1A company is deploying a multi-tier web application on AWS. The application requires an internet-facing load balancer for the front-end and another load balancer to handle traffic between the application and database tiers. The front-end must support HTTP and HTTPS protocols, while the communication between the application and database tiers requires TCP-based load balancing for high throughput. Which combination of load balancers should the company use to meet these requirements?
- A
Use an Application Load Balancer (ALB) for the front-end and a Network Load Balancer (NLB) for the application-to-database communication.
- B
Use a Classic Load Balancer (CLB) for both the front-end and the application-to-database communication.
- C
Use a Network Load Balancer (NLB) for the front-end and an Application Load Balancer (ALB) for the application-to-database communication.
- D
Use an Application Load Balancer (ALB) for the front-end and another Application Load Balancer (ALB) for the application-to-database communication.
- E
Use a Network Load Balancer (NLB) for both the front-end and the application-to-database communication.
Show answer and explanation
Correct answer: A
Explanation
The company needs to use load balancers that meet the specific requirements of each tier. The Application Load Balancer (ALB) is the best choice for the front-end as it supports HTTP and HTTPS protocols, along with advanced routing features. The Network Load Balancer (NLB) is the ideal choice for the application-to-database communication because it can handle high-throughput TCP traffic efficiently. Using these load balancers ensures optimal performance, scalability, and adherence to the application's requirements.
- A. Correct.
This is the correct option because an ALB is well-suited for HTTP/HTTPS-based traffic in the front-end, while the NLB is designed to handle high-throughput TCP traffic, which is ideal for application-to-database communication.
- B. Incorrect.
This is incorrect because while a CLB can handle both HTTP/HTTPS and TCP traffic, it is outdated and lacks the advanced features, scalability, and performance optimizations of ALB and NLB.
- C. Incorrect.
This is incorrect because an NLB is not optimized for HTTP/HTTPS traffic on the front-end and lacks features like host-based or path-based routing that an ALB provides.
- D. Incorrect.
This is incorrect because while ALBs are suitable for HTTP/HTTPS traffic on the front-end, they are not optimized for high-throughput TCP-based communication like the one required between the application and database tiers.
- E. Incorrect.
This is incorrect because while an NLB is suitable for high-throughput TCP traffic, it is not ideal for HTTP/HTTPS traffic on the front-end due to the lack of advanced routing features.