A company hosts a high-traffic e-commerce platform on Amazon EC2 instances managed by an Auto Scaling group (ASG) behind an Application Load Balancer (ALB). During flash sales, the ASG scales out rapidly. However, newly launched EC2 instances are immediately bombarded with a large volume of requests before they can complete their initialization tasks, such as pre-populating local caches. This causes the instances to become overloaded, fail health checks, and be prematurely terminated by the ASG. Additionally, when the flash sale ends and the ASG scales in, clients with active checkout connections receive HTTP 504 Gateway Timeout errors because their sessions are abruptly severed.
Which combination of actions should a Solutions Architect take to resolve these issues? (Select two.)
- Configure a slow start duration in the Application Load Balancer target group settings.Answer
- Increase the deregistration delay timeout in the Application Load Balancer target group settings.Answer
- CConfigure an Amazon Route 53 latency routing policy with health checks to route client traffic directly to individual EC2 instance IP addresses.
- DConfigure stateful Network ACL rules on the application subnets to temporarily block incoming connections to new instances until their cache is populated.
- EModify the target group's health check configuration to query a default port such as port 80 instead of the custom application port to prevent early health check failures.