exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 367 discussion

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?

  • A. Modify the CloudFormation template to include a Transform section and the AWS::CodeDeploy::BlueGreen hook.
  • B. Deploy the new version in a new CloudFormation stack. After testing is complete, update the application's DNS records for the new stack.
  • C. Run CloudFormation stack updates on the application stack to deploy new application versions when they are available.
  • D. Create a nested stack for the new version. Include a Transform section and the AWS::CodeDeploy::BlueGreen hook.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
preachr
7 months ago
Selected Answer: A
To perform CodeDeploy blue/green deployments on ECS using CloudFormation, you include the following information in your stack template: - A Hooks section that describes a AWS::CodeDeploy::BlueGreen hook. - A Transform section that specifies the AWS::CodeDeployBlueGreen transform.
upvoted 1 times
...
rdiaz
9 months, 3 weeks ago
Selected Answer: 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.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago