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
Related questions
A team wants to deploy infrastructure using declarative definitions and track changes safely across environments. Which approach best matches this requirement?
View question →
To reduce operational overhead, a system should automatically replace failed instances while maintaining desired capacity in an Auto Scaling group. Which feature provides this?
View question →
When using Amazon EKS, which Kubernetes-native mechanism is most directly responsible for exposing a service to the internet via a load balancer?
View question →
Which AWS capability is most appropriate to enforce least-privilege access to specific S3 objects for an application running under an IAM role?
View question →
Which AWS service is best suited for centralized, queryable storage of logs generated by multiple AWS services and applications?
View question →
A team wants to run scheduled maintenance tasks without managing servers. Which AWS service matches this requirement best?
View question →