AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 53

Your application is hosted behind an Elastic Load Balancer (ELB) within an autoscaling group. The autoscaling group is configured with a minimum of 2, a maximum of 14, and a desired value of 2. The autoscaling cooldown and the termination policies are set to the default value.
CloudWatch reports that the site typically requires just two servers, but spikes at the start and end of the business day can require eight to ten servers. You receive intermittent reports of timeouts and partially loaded web pages.
Which configuration change should you make to address this issue?

Answer options

Correct answer: A

Explanation

Configuring connection draining on the ELB allows in-progress requests to complete before instances are deregistered or terminated, which helps prevent timeouts and partially loaded pages during scaling events. The other options, such as adjusting the cooldown period or changing the termination policy, may not directly address the immediate issue of managing active connections during scaling operations.