Courseiva

SOA-C02 Reliability and Business Continuity Practice Question

A company runs a stateless web application on EC2 instances in an Auto Scaling group. The instances are behind an Application Load Balancer. The Auto Scaling group uses a dynamic scaling policy based on average CPU utilization. During a traffic spike, new instances are launched but take 5 minutes to become healthy. Users experience errors during this time. Which solution would reduce the time to serve traffic from new instances?

⚠ Common exam trap

A common mix-up: candidates think increasing the cooldown period (Option C) helps stabilize scaling, but it actually delays the launch of new instances, making the problem worse during traffic spikes.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Use a launch template with a pre-provisioned AMI.

A pre-provisioned AMI eliminates the need for software installation and configuration at launch time, reducing the time for new EC2 instances to become healthy. By baking the application and dependencies into the AMI, instances can start serving traffic almost immediately after booting, rather than waiting for user data scripts or configuration management tools to complete.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Use a launch template with a pre-provisioned AMI.

    Why this is correct

    A pre-provisioned (pre-warmed) AMI has the application binary, runtime, and all dependencies already installed and initialized during image creation. When the Auto Scaling group launches a new instance from a launch template using this AMI, the app is immediately ready to serve traffic, avoiding the need for first-boot user-data scripts to install and configure software. This directly reduces the instance's "time to healthy" and is the correct way to speed up scaling in a stateless web tier.

  • ✗

    Add a lifecycle hook to delay instance termination.

    Why it's wrong here

    A lifecycle hook pauses instances at launch or termination to let you run custom actions, such as draining connections or for cleanup. Adding a hook to delay instance termination would only keep the old instance in the "Terminating:Wait" state longer; it does nothing to accelerate the launch or initialization of replacement instances. In fact, if your scaling policy waits for the old instance to fully terminate before launching a new one, the hook extends the overall delay, making the problem worse rather than better.

  • ✗

    Increase the cooldown period for the scaling policy.

    Why it's wrong here

    The cooldown period is a buffer that prevents Auto Scaling from launching or terminating additional instances for a set number of seconds after a scaling activity completes. Increasing the cooldown would make Auto Scaling wait even longer before reacting to rising demand, so new instances would be launched later, not sooner. It has no effect on how fast an individual instance boots or initializes after launch; it only throttles the frequency of scaling actions.

  • ✗

    Use a larger instance type.

    Why it's wrong here

    A larger instance type provides more vCPUs and memory, but the time required for an application to become healthy is typically dominated by software initialization, such as loading dependencies, connecting to configuration services, and running startup scripts, not by raw compute capacity. Unless the startup is strictly CPU-bound, a larger instance may not meaningfully reduce boot time and could even be slower if the application image or init process is the bottleneck. The proper solution is to pre-provision the application into a golden AMI so no post-launch configuration is needed.

About these practice questions

This SOA-C02 question is part of Courseiva's 1,169-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This SOA-C02 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SOA-C02 exam.