To protect critical resources (like a production database) from accidental deletion during a CloudFormation stack update or deletion, what should the architect use?

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

Correct Answer: DeletionPolicy: Retain or a Stack Policy that denies Delete actions

DeletionPolicy ensures the resource remains in your account even if the stack is deleted, while a Stack Policy can prevent specific updates....

📋Part of AWS Certified Solutions Architect – Associate (SAA-C03) · AWS Certification Practice
Real Exam ScenarioAWS CloudFormation

To protect critical resources (like a production database) from accidental deletion during a CloudFormation stack update or deletion, what should the architect use?

✓ Correct Answer & ExplanationAWS CloudFormation

Correct Answer

DeletionPolicy: Retain or a Stack Policy that denies Delete actions

Why This Answer Is Correct

DeletionPolicy ensures the resource remains in your account even if the stack is deleted, while a Stack Policy can prevent specific updates.

📚 What This Question Tests

This question evaluates your knowledge of AWS CloudFormation — a core concept tested in AWS Certified Solutions Architect – Associate (SAA-C03). Understanding AWS CloudFormation 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.