AWS Solutions Architect · Design Resilient Architectures · easy

A web application runs on an Amazon EC2 Auto Scaling group behind an Application Load Balancer across three Availability Zones. During flash sales, instances take four minutes to boot and install dependencies, causing HTTP 503 errors before new capacity is healthy. What should a solutions architect configure to accelerate scale-out?

Published · Last updated · checked before publication — how we verify questions

Options

  • AIncrease the Auto Scaling health check grace period to ten minutes and switch to Network Load Balancer health checks
  • BIncrease the default scaling cooldown period to fifteen minutes so instances finish booting before another alarm fires
  • CEnable cross-zone load balancing on the Application Load Balancer and attach an elastic network interface per zone
  • DConfigure an EC2 Auto Scaling warm pool with pre-initialized instances and bake dependencies into a golden AMICorrect answer

Answer: D. Configure an EC2 Auto Scaling warm pool with pre-initialized instances and bake dependencies into a golden AMI

An Auto Scaling warm pool maintains pre-initialized EC2 instances in a stopped or running state with dependencies already installed, allowing them to join the load balancer target group in seconds during scale-out. Raising the health check grace period hides unhealthy instances rather than serving traffic, and cooldown periods delay scaling actions.

Why the other options are wrong

  • A. Increase the Auto Scaling health check grace period to ten minutes and switch to Network Load Balancer health checks — Extending the grace period prevents premature termination but does not make new instances ready to serve traffic faster.
  • B. Increase the default scaling cooldown period to fifteen minutes so instances finish booting before another alarm fires — Longer cooldown periods delay subsequent scaling activities and do not reduce the four-minute instance initialization time.
  • C. Enable cross-zone load balancing on the Application Load Balancer and attach an elastic network interface per zone — Cross-zone load balancing is already enabled by default on ALBs and does not add compute capacity during a spike.

All Design Resilient Architectures questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.