Scenario: To minimize the risk of an admin accidentally deleting a production 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 for Update:Delete action

Stack policies are an effective guardrail to prevent accidental updates or deletions of critical stack resources....

📋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 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 for Update:Delete action

Why This Answer Is Correct

Stack policies are an effective guardrail to prevent accidental updates or deletions of critical stack resources.

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