AWS SysOps Admin SOA-C02 · Reliability and Business Continuity · hard

An Amazon EC2 Auto Scaling group runs a proprietary financial analytics server whose UserData bootstrap script downloads a 40 GB dataset and compiles local caches, taking 14 minutes before an instance passes health checks. To handle sudden traffic surges without paying for running instances 24/7, the SysOps administrator configures an Auto Scaling Warm Pool with PoolState = Stopped and MinSize = 4 alongside the Auto Scaling group's DesiredCapacity = 6 and MaxSize = 12. If the group scales out from 6 to 9 running instances, how many instances are pulled from the pre-initialized Warm Pool and how many new stopped instances does the Warm Pool launch to replenish itself?

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

Options

  • AStarts 0 instances from the Warm Pool and launches 9 cold instances from the AMI
  • BStarts 3 instances from the Warm Pool and launches 2 new instances into the Warm PoolCorrect answer
  • CStarts 4 instances from the Warm Pool and terminates 6 running production instances in place
  • DStarts 1 instance from the Warm Pool and increases MaxSize to 24

Answer: B. Starts 3 instances from the Warm Pool and launches 2 new instances into the Warm Pool

When the Auto Scaling group scales out from 6 to 9 running instances (+3 instances), it immediately starts 3 pre-initialized instances from the Warm Pool (bypassing the 14-minute bootstrap). Because the Warm Pool is configured with MinSize = 4 (and MaxGroupPreparedCapacity defaults to MaxSize = 12, leaving 12 - 9 = 3 or replenishing back to MinSize = 4 if MaxGroupPreparedCapacity allows, specifically with default MaxGroupPreparedCapacity = MaxSize = 12, the maximum warm pool size at DesiredCapacity = 9 is 12 - 9 = 3 stopped instances, so the pool replenishes 2 stopped instances to reach 3 total in the warm pool (9 running + 3 warm = 12 MaxSize)!).

Why the other options are wrong

  • A. Starts 0 instances from the Warm Pool and launches 9 cold instances from the AMI — Auto Scaling always draws from the Warm Pool first before launching cold instances.
  • C. Starts 4 instances from the Warm Pool and terminates 6 running production instances in place — Scaling out from 6 to 9 requires only 3 instances and never terminates healthy active instances.
  • D. Starts 1 instance from the Warm Pool and increases MaxSize to 24 — Scale-out events never exceed or rewrite the configured MaxSize (12) of the Auto Scaling group.

All Reliability and Business Continuity 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.