Scenario: To minimize the risk of an admin accidentally deleting a production resource group (stack), you want to ensure that no one can perform a 'Delete' operation without first removing a specific 'Stack Policy' from the resource. Solution ?

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

Correct Answer: CloudFormation Stack Policy with 'Deny' effect on 'Update:Delete'

Stack policies prevent stack resources from being unintentionally updated or deleted during stack updates....

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

Scenario: To minimize the risk of an admin accidentally deleting a production resource group (stack), you want to ensure that no one can perform a 'Delete' operation without first removing a specific 'Stack Policy' from the resource. Solution ?

✓ Correct Answer & ExplanationScenario Based

Correct Answer

CloudFormation Stack Policy with 'Deny' effect on 'Update:Delete'

Why This Answer Is Correct

Stack policies prevent stack resources from being unintentionally updated or deleted during stack updates.

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