DVA-C02 · Question #381
DVA-C02 Question #381: Real Exam Question with Answer & Explanation
The correct answer is A: Modify the CloudFormation template to include a Transform section and the. To deploy to a percentage of users before a full rollout, AWS CodeDeploy supports canary and linear deployment configurations defined within a CloudFormation template using the appropriate transform. The Transform section enables AWS SAM to process the ECS blue/green deployment c
Question
A developer is creating AWS CloudFormation templates to manage an application's deployment in Amazon Elastic Container Service (Amazon ECS) through AWS CodeDeploy. The developer wants to automatically deploy new versions of the application to a percentage of users before the new version becomes available for all users. How should the developer manage the deployment of the new version?
Options
- AModify the CloudFormation template to include a Transform section and the
- BDeploy the new version in a new CloudFormation stack. After testing is complete, update the
- CRun CloudFormation stack updates on the application stack to deploy new application versions
- DCreate a nested stack for the new version. Include a Transform section and the
Explanation
To deploy to a percentage of users before a full rollout, AWS CodeDeploy supports canary and linear deployment configurations defined within a CloudFormation template using the appropriate transform. The Transform section enables AWS SAM to process the ECS blue/green deployment configuration.
Common mistakes.
- B. Deploying to a separate stack and manually updating DNS or load balancer weights is a manual process that does not leverage CodeDeploy's automated canary traffic shifting.
- C. Running a standard CloudFormation stack update deploys the new version to all instances simultaneously, with no canary traffic splitting.
- D. Creating a nested stack alone does not provide traffic shifting; the CodeDeploy deployment configuration must be explicitly defined with the correct transform.
Concept tested. CodeDeploy canary deployment with CloudFormation Transform
Community Discussion
No community discussion yet for this question.