To ensure that your CI/CD pipeline can 'Roll Back' automatically if a deployment triggers a CloudWatch alarm, which CodeDeploy feature should you configure?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Deployment configuration with 'Alarm-based rollback' enabled

CodeDeploy can monitor CloudWatch alarms during a deployment and automatically roll back if an alarm threshold is reached....

📋Part of AWS Certified DevOps Engineer – Professional (DOP-C02) · AWS Certification Practice
Real Exam ScenarioScenario Based

To ensure that your CI/CD pipeline can 'Roll Back' automatically if a deployment triggers a CloudWatch alarm, which CodeDeploy feature should you configure?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

Deployment configuration with 'Alarm-based rollback' enabled

Why This Answer Is Correct

CodeDeploy can monitor CloudWatch alarms during a deployment and automatically roll back if an alarm threshold is reached.

📚 What This Question Tests

This question evaluates your knowledge of Scenario Based — a core concept tested in AWS Certified DevOps Engineer – Professional (DOP-C02). Understanding Scenario Based is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.