CLF-C02 Question 180
Select 3A company has a website that experiences unpredictable traffic spikes. To ensure availability and optimize performance, the company decides to use an AWS Elastic Load Balancer (ELB). What are the primary purposes of using a load balancer in this scenario?
- A
Distributing incoming traffic across multiple instances
- B
Scaling the underlying EC2 instances automatically
- C
Providing fault tolerance by rerouting traffic to healthy instances
- D
Encrypting traffic between users and the application
- E
Improving performance by caching static content
Show answer and explanation
Correct answers: A, C, D
Explanation
The primary purposes of an AWS Elastic Load Balancer are to distribute traffic across multiple instances, enhance fault tolerance by redirecting traffic to healthy instances, and secure communication by handling SSL/TLS termination. While auto-scaling and caching are important, they are achieved through other AWS services (Auto Scaling and CloudFront, respectively).
- A. Correct.
Correct. A load balancer distributes incoming traffic across multiple targets (e.g., EC2 instances) to ensure no single instance is overwhelmed.
- B. Incorrect.
Incorrect. While auto-scaling works in conjunction with a load balancer, it is a separate AWS service that scales EC2 instances dynamically.
- C. Correct.
Correct. Load balancers monitor the health of targets and route traffic only to healthy instances, providing fault tolerance.
- D. Correct.
Correct. Elastic Load Balancers can terminate SSL/TLS connections, enabling secure communication between users and the application.
- E. Incorrect.
Incorrect. Caching static content is not a feature of load balancers but is typically handled by services like Amazon CloudFront.