AWS Certified SysOps Administrator – Associate (legacy) — Question 7

An AWS CloudFormation template creates an Amazon RDS instance. This template is used to build up development environments as needed and then delete the stack when the environment is no longer required. The RDS-persisted data must be retained for further use, even after the CloudFormation stack is deleted.
How can this be achieved in a reliable and efficient way?

Answer options

Correct answer: D

Explanation

The correct answer is D because creating a new CloudFormation template specifically for backups allows for a structured approach to preserving data before stack deletion. Options A and B require manual intervention or continuous scripts, which may be error-prone. Option C does not address the need to retain data after stack deletion since the Snapshot Deletion Policy only affects how snapshots are handled when deleting resources, not when the stack itself is removed.