AWS Certified SysOps Administrator – Associate (legacy) — Question 91
A company's data retention policy dictates that backups be stored for exactly two years. After that time, the data must be deleted.
How can Amazon EBS snapshots be managed to conform to this data retention policy?
Answer options
- A. Use an Amazon S3 lifecycle policy to delete snapshots older than two years.
- B. Configure Amazon Inspector to find and delete old EBS snapshots.
- C. Schedule an AWS Lambda function using Amazon CloudWatch Events to periodically run a script to delete old snapshots.
- D. Configure an Amazon CloudWatch alarm to trigger the launch of an AWS CloudFormation template that will clean the older snapshots.
Correct answer: A
Explanation
The correct answer is A because Amazon S3 lifecycle policies can automatically manage the deletion of resources like snapshots based on their age. Options B, C, and D do not directly leverage the built-in lifecycle management features of S3 and would require additional configurations that are unnecessary for this specific retention policy.