AWS Certified Developer – Associate — Question 430
A company is planning to use AWS CodeDeploy to deploy an application to AWS Lambda. 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, every 10 minutes, the company must route another
10% of live traffic to the new version of the deployed application until all live traffic is routed to the new version.
Which CodeDeploy predefined configuration will meet these requirements?
Answer options
- A. CodeDeployDefault.OnceAtATime
- B. CodeDeployDefault.LambdaCanary10Percent10Minutes
- C. CodeDeployDefault.LambdaLinear10PercentEvery10Minutes
- D. CodeDeployDefault.ECSLinear10PercentEvery3Minutes
Correct answer: C
Explanation
The CodeDeployDefault.LambdaLinear10PercentEvery10Minutes deployment configuration shifts 10 percent of traffic every 10 minutes linearly until all traffic is routed to the new Lambda version. In contrast, the LambdaCanary10Percent10Minutes configuration shifts 10 percent initially and then routes the remaining 90 percent all at once after 10 minutes. The ECS configuration is meant for Amazon ECS deployments, and OnceAtATime does not support the required gradual linear shifting.