DOP-C02 Exam QuestionsBrowse all questions from this exam

DOP-C02 Exam - Question 246


A DevOps engineer is setting up an Amazon Elastic Container Service (Amazon ECS) blue/green deployment for an application by using AWS CodeDeploy and AWS CloudFormation. During the deployment window, the application must be highly available and CodeDeploy must shift 10% of traffic to a new version of the application every minute until all traffic is shifted.

Which configuration should the DevOps engineer add in the CloudFormation template to meet these requirements?

Show Answer
Correct Answer: B

To set up an Amazon ECS blue/green deployment using AWS CodeDeploy and CloudFormation, you should use the AWS::CodeDeployBlueGreen transform along with the AWS::CodeDeploy::BlueGreen hook parameter. The specific deployment configuration to gradually shift traffic in increments of 10% per minute is defined by CodeDeployDefault.ECSLinear10PercentEvery1Minutes. This configuration ensures that 10% of the traffic shifts to the new version of the application every minute until the deployment is complete, which meets the requirement of having a highly available application during the deployment window.

Discussion

2 comments
Sign in to comment
tgv
Jul 7, 2024

--> BB

trungtdOption: B
Jul 14, 2024

obviously B