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....
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.
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.
Your team wants to automate the provisioning of infrastructure to ensure consistency across environments. You need to define your infrastructure as code (IaC) using declarative templates. Which service should you use?
Which AWS service provides 'Infrastructure as Code' capabilities, allowing you to model and provision AWS resources using JSON or YAML templates?
An architect wants to deploy the same CloudFormation template across hundreds of AWS accounts and multiple regions within an organization. Which feature should be used?
What is the 'Drift Detection' feature in AWS CloudFormation used for?
How can an architect prevent a CloudFormation stack from failing its entire deployment if a single resource fails to create?