AWS Certified SysOps Administrator – Associate (legacy) — Question 1
A SysOps Administrator is using AWS CloudFormation to deploy resources but would like to manually address any issues that the template encounters.
What should the Administrator add to the template to support the requirement?
Answer options
- A. Enable Termination Protection on the stack
- B. Set the OnFailure parameter to ג€DO_NOTHINGג€
- C. Restrict the IAM permissions for CloudFormation to delete resources
- D. Set the DeleteStack API action to ג€Noג€
Correct answer: A
Explanation
Enabling Termination Protection on the stack prevents CloudFormation from automatically deleting the stack upon failure, allowing the Administrator to address issues manually. The 'OnFailure' parameter option 'DO_NOTHING' would achieve a similar goal but is not the most direct approach. Restricting IAM permissions does not directly relate to the handling of template issues during deployment. The 'DeleteStack' API action set to 'No' is not a valid option in this context.