DOP-C02 · Question #353
DOP-C02 Question #353: Real Exam Question with Answer & Explanation
The correct answer is A: Modify the CodeDeploy deployment to use the. The CodeDeployDefault.ECSCanary10Percent5Minutes configuration uses a canary deployment strategy that shifts 10% of traffic to the new version initially and waits 5 minutes before proceeding. This provides time to monitor the new version's performance on a subset of traffic befor
Question
A DevOps team supports an application that runs in an Amazon Elastic Container Service (Amazon ECS) cluster behind an Application Load Balancer (ALB). Currently, the DevOps team uses AWS CodeDeploy to deploy the application by using a blue/green all-at-once strategy. Recently, the DevOps team had to roll back a deployment when a new version of the application dramatically increased response times for requests. The DevOps team needs use to a deployment strategy that will allow the team to monitor a new version of the application before the team shifts all traffic to the new version. If a new version of the application increases response times, the deployment should be rolled back as quickly as possible. Which combination of steps will meet these requirements? (Choose two.)
Options
- AModify the CodeDeploy deployment to use the
- BModify the CodeDeploy deployment to use the
- CCreate an Amazon CloudWatch alarm to monitor the UnHealthyHostCount metric for the ALB. Set
- DCreate an Amazon CloudWatch alarm to monitor the TargetResponseTime metric for the ALB.
- ECreate an Amazon CloudWatch alarm to monitor the TargetConnectionErrorCount metric for the
Explanation
The CodeDeployDefault.ECSCanary10Percent5Minutes configuration uses a canary deployment strategy that shifts 10% of traffic to the new version initially and waits 5 minutes before proceeding. This provides time to monitor the new version's performance on a subset of traffic before shifting all traffic, allowing for quicker rollback if issues arise. Monitoring the TargetResponseTime metric for the ALB ensures that any increase in response times due to the new version is detected promptly. Associating this CloudWatch alarm with the CodeDeploy deployment group allows for automatic rollback if response times exceed the defined threshold, which meets the requirement of quickly rolling back when issues are detected.
Topics
Community Discussion
No community discussion yet for this question.