Q40 — AWS DVA-C02 Ch.2

Question 40 of 100 | ← Chapter 2

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

Correct Answer: A. CodeDeployDefault.ECSCanary10Percent15Minutes

Explanation

In AWS CodeDeploy, predefined configurations allow users to set specific behaviors and rules for deployment processes. According to the requirements, the company needs to expose 10% of live traffic to the new Amazon ECS application version first, then route all remaining traffic after 15 minutes. This matches a 'Canary' deployment strategy—routing a small portion of traffic to the new version before gradually increasing it. Option A, 'CodeDeployDefault.ECSCanary10Percent15Minutes', explicitly specifies an ECS Canary deployment with an initial 10% traffic shift and full cutover after 15 minutes, fully satisfying the requirement. Options B and C involve Lambda, which is inconsistent with the ECS deployment scenario. Option D uses a linear traffic ramp-up, not the required fixed 10% initial shift followed by full cutover. Therefore, option A is correct. 【Lantern Certification provided by: swufelp1999】