SAP-C02 Continuous Improvement for Existing Solutions Practice Question
A company is running a production web application on AWS Auto Scaling EC2 instances behind an Application Load Balancer. Recent deployments have caused intermittent errors. The team wants to implement a deployment strategy that minimizes downtime and allows for quick rollback. Which strategy should they use?
⚠ Common exam trap
SAP-C02 often tests the distinction between immutable and blue/green — candidates pick immutable because it also launches a new ASG, but immutable replaces instances in the same group without an instant traffic-switch rollback path.
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 blue/green deployment with a second Auto Scaling group and switch the ALB target group.
Blue/green deployment with a second Auto Scaling group and an ALB target group switch provides near-zero downtime and instant rollback. The green environment runs the new version fully warmed up; once validated, the ALB listener rule is flipped to the green target group. If errors appear, the listener is flipped back to blue in seconds, restoring the previous version without redeploying.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Deploy a new version to a single instance, test, then scale out.
Why it's wrong here
Testing on one instance then scaling out leaves the remaining fleet on the old version during the test, and a failed test still requires manual intervention to revert. It is tempting as a canary-style approach, but it does not shift traffic atomically or provide the instant rollback the scenario demands.
- ✓
Use blue/green deployment with a second Auto Scaling group and switch the ALB target group.
Why this is correct
Blue/green deployment with a second Auto Scaling group satisfies the zero-downtime and quick-rollback constraints: the new version runs in a parallel environment, and the ALB listener shifts traffic by swapping target groups. Rollback is a single target-group switch back, avoiding the gradual instance replacement and mixed-version window of rolling updates.
- ✗
Perform rolling updates with a single Auto Scaling group, updating a few instances at a time.
Why it's wrong here
Rolling updates replace instances gradually within one Auto Scaling group, so both versions serve traffic simultaneously and reverting means re-running the deployment backwards. It is tempting because it avoids full downtime, but rollback is slow and not atomic, unlike blue/green with instant traffic switching.
- ✗
Use an immutable deployment by launching a new Auto Scaling group and terminating the old one.
Why it's wrong here
An immutable deployment replaces the whole Auto Scaling group, so rollback requires relaunching the previous group rather than instantly reverting traffic. It is tempting because immutability avoids configuration drift, but the requirement for quick rollback favours blue/green with weighted target groups.
About these practice questions
Courseiva writes every SAP-C02 question from scratch — 984 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Amazon Web Services exam blueprint
This SAP-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 SAP-C02 exam.