nerdexam
AmazonAmazon

DOP-C02 · Question #439

DOP-C02 Question #439: Real Exam Question with Answer & Explanation

The correct answer is A: Use CodeDeployDefault.ECSCanary10Percent5Minutes deployment configuration.. Canary deployments gradually shift traffic (10% at first), enabling monitoring before full rollout. Monitoring TargetResponseTime aligns with detecting increased latency, a key issue reported. Alarms tied to the deployment group trigger automatic rollback on threshold breach. UnH

Submitted by lukas.cz· Mar 6, 2026SDLC Automation

Question

A DevOps team deploys an ECS app behind an ALB using CodeDeploy with all-at-once strategy. Recent deployment increased response times, requiring rollback. The team wants a deployment strategy to monitor new versions before full traffic shift and rollback quickly if issues occur. Which steps meet these requirements? (Select TWO.)

Options

  • AUse CodeDeployDefault.ECSCanary10Percent5Minutes deployment configuration.
  • BUse CodeDeployDefault.ECSLinear10PercentEvery3Minutes deployment configuration.
  • CCreate a CloudWatch alarm on ALB UnHealthyHostCount and associate it with the deployment
  • DCreate a CloudWatch alarm on ALB TargetResponseTime and associate it with the deployment
  • ECreate a CloudWatch alarm on ALB TargetConnectionErrorCount and associate it with the

Explanation

Canary deployments gradually shift traffic (10% at first), enabling monitoring before full rollout. Monitoring TargetResponseTime aligns with detecting increased latency, a key issue reported. Alarms tied to the deployment group trigger automatic rollback on threshold breach. UnHealthyHostCount and TargetConnectionErrorCount are less specific to response time issues. Linear deployment is valid but canary is preferred for quick detection.

Topics

#CodeDeploy#ECS deployment#Canary deployment#Automated rollback

Community Discussion

No community discussion yet for this question.

Full DOP-C02 PracticeBrowse All DOP-C02 Questions