ANS-C01 Question 77
Select 3Your company has deployed a web application using an Application Load Balancer (ALB) in AWS. During periods of high traffic, users occasionally report slow response times. You suspect the issue is related to the scaling behavior of the load balancer. Which factors should you consider to ensure optimal performance and scaling of the ALB?
- A
The number of targets registered with the load balancer
- B
The configured idle timeout value for the load balancer
- C
The pre-warm capacity of the load balancer
- D
The rate of incoming connections to the load balancer
- E
The EC2 instance type of the targets behind the load balancer
Show answer and explanation
Correct answers: A, C, D
Explanation
To ensure optimal scaling of an Application Load Balancer (ALB), it is important to consider factors such as the number of registered targets (to handle traffic distribution), the pre-warm capacity (to handle traffic spikes), and the rate of incoming connections (to allow the ALB scaling mechanism to adjust in time). Idle timeout settings and EC2 instance types relate to connection management and target capacity, respectively, but do not directly influence the scaling of the load balancer itself.
- A. Correct.
The number of targets is critical because the load balancer needs sufficient targets to distribute traffic effectively. Insufficient targets can result in degraded performance during scaling events.
- B. Incorrect.
The idle timeout value is not directly related to the scaling of the load balancer but rather to how long connections are kept open when inactive.
- C. Correct.
Pre-warming the load balancer can help handle sudden surges in traffic by ensuring that the load balancer is ready to scale ahead of high-demand periods.
- D. Correct.
The rate of incoming connections impacts how quickly the load balancer scales. Sudden spikes may require time for the load balancer to adapt and provision additional capacity.
- E. Incorrect.
While the EC2 instance type determines the individual performance of the targets, it does not directly affect the scaling behavior of the load balancer itself.