ANS-C01 Question 70
Single answerA company is designing a web application that requires high availability and secure communication between clients and the application. The application has both HTTP and WebSocket traffic. Which load balancer type should the company choose to meet its requirements?
- A
Application Load Balancer (ALB)
- B
Network Load Balancer (NLB)
- C
Classic Load Balancer (CLB)
- D
Gateway Load Balancer (GWLB)
Show answer and explanation
Correct answer: A
Explanation
The Application Load Balancer (ALB) is the most suitable choice for this scenario because it is specifically designed to handle HTTP and HTTPS traffic, including WebSocket protocols, while providing features such as SSL termination, advanced routing, and integration with AWS security services. These capabilities make it ideal for ensuring high availability and secure communication for the web application.
- A. Correct.
Application Load Balancer (ALB) is designed to handle HTTP and HTTPS traffic, including WebSocket protocols, making it ideal for applications requiring secure communication and high availability. ALB also provides advanced routing and security features.
- B. Incorrect.
Network Load Balancer (NLB) is optimized for handling high-throughput TCP/UDP traffic with ultra-low latency but does not natively support HTTP, HTTPS, or WebSocket protocols, making it less suitable for the given scenario.
- C. Incorrect.
Classic Load Balancer (CLB) supports HTTP and HTTPS but lacks the advanced routing and WebSocket support provided by ALB. It is considered a legacy option and not recommended for modern applications.
- D. Incorrect.
Gateway Load Balancer (GWLB) is designed for deploying, managing, and scaling third-party virtual appliances and is not suitable for handling HTTP, HTTPS, or WebSocket traffic.