An enterprise application hosted on Amazon EC2 instances inside an Auto Scaling group (ASG) is positioned behind an Application Load Balancer (ALB). The ALB target group has stickiness enabled using ALB-generated duration-based cookies. The ASG is configured with a target tracking scaling policy based on the average CPU utilization metric. During a promotional event, a small number of heavy API clients initiate a massive volume of concurrent requests. System administrators observe that a few EC2 instances become severely overloaded and fail health checks, while the remaining instances in the ASG remain underutilized. The ASG does not scale out to add more capacity. Which action should the solutions architect take to resolve the performance imbalance and ensure the application scales effectively?
- AConfigure the Application Load Balancer target group to perform health checks on a custom port instead of the traffic port, allowing the load balancer to bypass sticky routing for health monitoring.
- BModify the subnet Network ACLs to statefully restrict inbound traffic from the heavy API consumers, redirecting their requests to newly spawned instances in a different Availability Zone.
- Disable target group stickiness on the Application Load Balancer and modify the application to store session state externally in an Amazon ElastiCache cluster.Answer
- DConfigure an Amazon Route 53 latency-based routing policy to directly resolve the application's domain name to the public IP addresses of the individual EC2 instances, bypassing the Application Load Balancer to distribute client requests.