AWS Certified Developer – Associate (DVA-C02) — Question 111
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?
Answer options
- A. CodeDeployDefault.ECSCanary10Percent15Minutes
- B. CodeDeployDefault.LambdaCanary10Percent5Minutes
- C. CodeDeployDefault.LambdaCanary10Percentl15Minutes
- D. CodeDeployDefault.ECSLinear10PercentEvery1Minutes
Correct answer: A
Explanation
The correct answer is A, as it specifies a canary deployment configuration that exposes 10% of traffic for 15 minutes, which matches the requirements. Option B and C are related to Lambda functions and have different timing or traffic percentages, making them unsuitable. Option D does not meet the timing requirement and uses a linear deployment strategy instead of a canary approach.