A platform team uses infrastructure templates to define IAM roles and networking. They need to prevent accidental deletion of critical infrastructure during updates. What should they use?

Answer

CloudFormation DeletionPolicy and/or Retain settings

Explanation

CloudFormation DeletionPolicy/Retain can keep or protect resources when a stack is deleted or updated. This reduces risk of unintended data loss.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list