Courseiva
Continuous Improvement for Existing SolutionshardMultiple SelectObjective-mapped

SAP-C02 Continuous Improvement for Existing Solutions Practice Question

A company runs a critical application on Amazon ECS with Fargate launch type. The application needs to be highly available across multiple Availability Zones. The company wants to implement blue/green deployments to minimize downtime. Which THREE steps should the solutions architect take?

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 two separate ECS task definitions for the blue and green environments.

Options C, D, and E are correct because blue/green deployments for ECS require separate task definitions for each environment (C), CodeDeploy to manage traffic shifting (D), and an Application Load Balancer with separate target groups for each task set to route traffic (E). Option A is incorrect because storing artifacts in ECR is about container images, not a deployment step. Option B is incorrect because using a load balancer is a prerequisite for any ECS service, but it is not one of the specific steps required to implement blue/green deployments. The blue/green-specific steps are C, D, and E.

Answer analysis

Option-by-option breakdown

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

  • Store the application artifacts in Amazon ECR and use an ECS service with a single task definition.

    Why it's wrong here

    Storing application artifacts in Amazon ECR is a prerequisite for deployment but is not a step in the blue/green deployment process itself.

  • Use a Network Load Balancer to route traffic to the ECS service.

    Why it's wrong here

    Network Load Balancers do not support the weighted traffic shifting required for smooth blue/green deployments with CodeDeploy and ECS; an Application Load Balancer is needed.

  • Create two separate ECS task definitions for the blue and green environments.

    Why this is correct

    Creating two separate ECS task definitions allows independent updates for blue and green environments, which is essential for blue/green deployments.

  • Use AWS CodeDeploy with a blue/green deployment configuration.

    Why this is correct

    AWS CodeDeploy automates the traffic shifting and task set management for blue/green deployments on ECS.

  • Configure an Application Load Balancer with a target group for each task set.

    Why this is correct

    An Application Load Balancer with a target group for each task set enables precise traffic routing and gradual traffic shifting.

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.