Courseiva
Accelerate Workload Migration and ModernizationeasyMultiple ChoiceObjective-mapped

SAP-C02 Practice Question: Accelerate Workload Migration and Modernization

A company is migrating a web application to AWS and wants to use a blue/green deployment strategy to minimize downtime. The application runs on EC2 instances behind an Application Load Balancer (ALB). Which approach should be used?

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

Create a new target group for the green environment, register the new instances, test, and then modify the ALB listener rule to forward traffic to the green target group.

Blue/green deployment involves creating a new target group for the green environment, registering the new instances, testing, and then modifying the ALB listener rule to forward traffic to the green target group. Option A is wrong because stopping old instances before starting new ones would cause downtime. Option B is wrong because an in-place update of the Auto Scaling group would cause downtime. Option D is wrong because using a different ALB and updating DNS is not a typical blue/green deployment with ALB; it adds unnecessary complexity and may cause delays.

Answer analysis

Option-by-option breakdown

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

  • Stop the old instances, start the new instances, and update the ALB target group.

    Why it's wrong here

    Causes downtime during the switch.

  • Use an AWS CloudFormation stack update to replace the Auto Scaling group and instances in place.

    Why it's wrong here

    In-place update may cause downtime.

  • Create a new target group for the green environment, register the new instances, test, and then modify the ALB listener rule to forward traffic to the green target group.

    Why this is correct

    Minimal downtime with smooth cutover.

  • Deploy the new instances behind a different ALB and update DNS to point to the new ALB.

    Why it's wrong here

    This is not a blue/green deployment; DNS propagation delays may cause downtime.

About these practice questions

One of 1,660 original SAP-C02 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 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.