Question 1,719 of 1,750
SDLC AutomationhardMultiple ChoiceObjective-mapped

DOP-C02 Blue/Green Deployment Practice Question

This DOP-C02 practice question tests your understanding of sdlc automation. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. A key principle to apply: blue/Green Deployment. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A DevOps team is implementing a blue/green deployment strategy for a microservice running on Amazon ECS with AWS CodeDeploy. They want to shift 10% of traffic to the new task set for 5 minutes, then shift the remaining 90%. Which deployment configuration should they use?

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

CodeDeployDefault.ECSCanary10Percent5Minutes

The built-in configuration `CodeDeployDefault.ECSCanary10Percent5Minutes` shifts 10% of traffic to the new task set, holds for 5 minutes, then shifts the remaining 90%. This matches the requirement exactly. A custom configuration (D) is unnecessary and not a standard deployment configuration.

Key principle: Blue/Green Deployment

Answer analysis

Option-by-option breakdown

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

  • CodeDeployDefault.ECSAllAtOnce

    Why it's wrong here

    Incorrect. `CodeDeployDefault.ECSAllAtOnce` shifts all traffic immediately, not in two stages.

  • CodeDeployDefault.ECSLinear10PercentEvery1Minutes

    Why it's wrong here

    Incorrect. `CodeDeployDefault.ECSLinear10PercentEvery1Minutes` shifts 10% every minute over 10 minutes, not a single 10% shift with a 5-minute hold.

  • CodeDeployDefault.ECSCanary10Percent5Minutes

    Why this is correct

    Correct. `CodeDeployDefault.ECSCanary10Percent5Minutes` shifts 10% of traffic, waits 5 minutes, then shifts the remaining 90%.

    Related concept

    Blue/Green Deployment

  • Custom configuration with 10% initial traffic and 100% after 5-minute interval

    Why it's wrong here

    Incorrect. While a custom configuration could achieve the same behavior, the built-in canary configuration already matches the requirement, so a custom one is unnecessary.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Candidates often confuse the canary and linear configurations. `CodeDeployDefault.ECSCanary10Percent5Minutes` shifts 10% instantly and then holds for 5 minutes before shifting the rest. The linear configuration, `CodeDeployDefault.ECSLinear10PercentEvery1Minutes`, shifts 10% every minute over 10 minutes without a hold.

Detailed technical explanation

How to think about this question

In AWS CodeDeploy for ECS, a custom deployment configuration allows you to define the exact traffic percentages and intervals using the 'trafficRouting' configuration in the AppSpec file or via the AWS CLI. The built-in canary configurations (e.g., ECSCanary10Percent5Minutes) are designed for a single canary step followed by an automatic 100% shift, whereas a custom configuration can specify multiple steps with arbitrary percentages and wait times, such as 10% for 5 minutes and then 100% after that interval. This is critical for scenarios requiring precise traffic management, like gradual rollouts with manual validation or integration with external monitoring tools.

KKey Concepts to Remember

  • Blue/Green Deployment
  • CodeDeployDefault.ECSCanary10Percent5Minutes
  • Traffic Shifting

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Blue/Green Deployment

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Blue/Green Deployment Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Review blue/Green Deployment, then practise related DOP-C02 questions on the same topic to reinforce the concept.

Related practice questions

Related DOP-C02 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free DOP-C02 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this DOP-C02 question test?

SDLC Automation — This question tests SDLC Automation — Blue/Green Deployment.

What is the correct answer to this question?

The correct answer is: CodeDeployDefault.ECSCanary10Percent5Minutes — The built-in configuration `CodeDeployDefault.ECSCanary10Percent5Minutes` shifts 10% of traffic to the new task set, holds for 5 minutes, then shifts the remaining 90%. This matches the requirement exactly. A custom configuration (D) is unnecessary and not a standard deployment configuration.

What should I do if I get this DOP-C02 question wrong?

Review blue/Green Deployment, then practise related DOP-C02 questions on the same topic to reinforce the concept.

What is the key concept behind this question?

Blue/Green Deployment

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More DOP-C02 practice questions

Last reviewed: Jun 24, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This DOP-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 DOP-C02 exam.