AWS Certified Developer – Associate — Question 416
A company is using AWS CodeDeploy for all production deployments. A developer has an Amazon Elastic Container Service (Amazon ECS) application that uses the CodeDeployDefault.ECSAIIAtOnce configuration. The developer needs to update the production environment in increments of 10% until the entire production environment is updated.
Which CodeDeploy configuration should the developer use to meet these requirements?
Answer options
- A. CodeDeployDefault.ECSCanary10Percent5Minutes
- B. CodeDeployDefault.ECSLinear10PercentEvery3Minutes
- C. CodeDeployDefault.OneAtATime
- D. CodeDeployDefault.LambdaCanary10Percent5Minutes
Correct answer: B
Explanation
To update the ECS production environment in equal increments of 10% until fully deployed, a linear deployment configuration is required, making CodeDeployDefault.ECSLinear10PercentEvery3Minutes the correct choice. Canary configurations, such as CodeDeployDefault.ECSCanary10Percent5Minutes, only shift a portion of traffic initially and then route the remaining 90% all at once. CodeDeployDefault.OneAtATime is not a valid deployment configuration for Amazon ECS deployments, and Lambda configurations are meant for AWS Lambda functions.