Your organization wants to automatically revert an AWS CloudFormation stack update if an 'HTTP 5xx' error spike is detected in the application's ELB metrics during the update. Which CloudFormation feature should be configured?

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

Correct Answer: CloudFormation Rollback Configuration (Monitoring Time and CloudWatch Alarms)

Rollback configuration allow you to specify CloudWatch Alarms that CloudFormation monitors during stack creation or update. If an alarm triggers, CloudFormation rolls back the stac...

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

Your organization wants to automatically revert an AWS CloudFormation stack update if an 'HTTP 5xx' error spike is detected in the application's ELB metrics during the update. Which CloudFormation feature should be configured?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

CloudFormation Rollback Configuration (Monitoring Time and CloudWatch Alarms)

Why This Answer Is Correct

Rollback configuration allow you to specify CloudWatch Alarms that CloudFormation monitors during stack creation or update. If an alarm triggers, CloudFormation rolls back the stack.

📚 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.