nerdexam
Amazon

DVA-C02 · Question #95

A company is planning to use AWS CodeDeploy to deploy an application to Amazon Elastic Container Service (Amazon ECS). During the deployment of a new version of the application, the company initially

The correct answer is A. CodeDeployDefault.ECSCanary10Percent15Minutes. CodeDeployDefault.ECSCanary10Percent15Minutes shifts 10% of traffic to the new task set immediately, waits 15 minutes, then routes the remaining 90% - exactly matching the stated canary deployment requirement.

Submitted by deeparc· Mar 5, 2026Deployment

Question

A company is planning to use AWS CodeDeploy to deploy an application to Amazon Elastic Container Service (Amazon ECS). During the deployment of a new version of the application, the company initially must expose only 10% of live traffic to the new version of the deployed application. Then, after 15 minutes elapse, the company must route all the remaining live traffic to the new version of the deployed application. Which CodeDeploy predefined configuration will meet these requirements?

Options

  • ACodeDeployDefault.ECSCanary10Percent15Minutes
  • BCodeDeployDefault.LambdaCanary10Percent5Minutes
  • CCodeDeployDefault.LambdaCanary10Percentl15Minutes
  • DCodeDeployDefault.ECSLinear10PercentEvery1Minutes

How the community answered

(31 responses)
  • A
    90% (28)
  • C
    6% (2)
  • D
    3% (1)

Why each option

CodeDeployDefault.ECSCanary10Percent15Minutes shifts 10% of traffic to the new task set immediately, waits 15 minutes, then routes the remaining 90% - exactly matching the stated canary deployment requirement.

ACodeDeployDefault.ECSCanary10Percent15MinutesCorrect

The ECSCanary10Percent15Minutes predefined configuration is purpose-built for Amazon ECS deployments using a canary strategy. It initially routes 10% of production traffic to the new version, holds that state for 15 minutes to allow monitoring and validation, and then completes the deployment by shifting the remaining 90% in a single step - precisely meeting both the 10% initial exposure and the 15-minute interval requirements.

BCodeDeployDefault.LambdaCanary10Percent5Minutes

This configuration targets AWS Lambda, not ECS, and shifts 10% of traffic with only a 5-minute interval before completing - neither the compute platform nor the wait time matches the requirements.

CCodeDeployDefault.LambdaCanary10Percentl15Minutes

This configuration also targets Lambda rather than ECS; despite having a 15-minute interval in the name, it cannot be applied to an ECS deployment.

DCodeDeployDefault.ECSLinear10PercentEvery1Minutes

The ECSLinear10PercentEvery1Minutes configuration uses a linear strategy that shifts traffic in 10% increments every 1 minute - it would take 9 additional minutes to reach 100% and does not match the single-step completion after 15 minutes.

Concept tested: CodeDeploy ECS canary deployment configuration

Source: https://docs.aws.amazon.com/codedeploy/latest/userguide/deployment-configurations.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice