Topic 1 Question 338
2 つ選択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?
Modify the CodeDeploy deployment to use the CodeDeployDefault.ECSCanary10Percent5Minutes configuration.
Modify the CodeDeploy deployment to use the CodeDeployDefault.ECSLinear10PercentEvery3Minutes configuration.
Create an Amazon CloudWatch alarm to monitor the UnHealthyHostCount metric for the ALB. Set the alarm to activate if the metric is higher than the desired value. Associate the alarm with the CodeDeploy deployment group. Modify the deployment group to roll back when a deployment fails.
Create an Amazon CloudWatch alarm to monitor the TargetResponseTime metric for the ALB. Set the alarm to activate if the metric is higher than the desired value. Associate the alarm with the CodeDeploy deployment group. Modify the deployment group to roll back when alarm thresholds are met.
Create an Amazon CloudWatch alarm to monitor the TargetConnectionErrorCount metric for the ALB. Set the alarm to activate if the metric is higher than the desired value. Associate the alarm with the CodeDeploy deployment group. Modify the deployment group to roll back when alarm thresholds are met.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: AD
Using a canary deployment strategy with CodeDeployDefault.ECSCanary10Percent5Minutes allows for controlled, gradual deployment, providing the ability to monitor the new version's performance. Simultaneously, monitoring the TargetResponseTime with CloudWatch alarms ensures that any issues with response times are detected early, allowing for quick rollbacks to the previous stable version.
👍 4f4b18ba2024/11/22 - 正解だと思う選択肢: AD
• Use the CodeDeployDefault.ECSCanary10Percent5Minutes configuration (Option A) for canary deployment to test with minimal traffic initially. • Monitor the ALB’s TargetResponseTime metric (Option D) with an alarm to detect performance issues and trigger a rollback if needed.
👍 3uncledana2024/11/19
シャッフルモード