Exam DVA-C02 All QuestionsBrowse all questions from this exam
Question 367

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?

    Correct Answer: A

    Leveraging the AWS::CodeDeploy::BlueGreen hook in the CloudFormation template allows the developer to specify blue/green deployment strategies directly. This method enables the automatic deployment of new application versions to a subset of users, effectively allowing for canary or linear deployments before making the new version available to all users. This approach ensures a seamless and automated deployment process using AWS CodeDeploy and ECS.

Discussion
rdiazOption: A

option A leverages the AWS::CodeDeploy::BlueGreen transform hook in the CloudFormation template. This hook allows the developer to specify blue/green deployment strategies directly in the CloudFormation template. It facilitates deploying new versions to a subset of users (canary or linear deployments) before fully rolling out to all users. This approach is designed for seamless and automated deployments using AWS CodeDeploy and ECS.