Q87 — AWS SAA-C03 Ch.13
Question 87 of 100 | ← Chapter 13
Q987. A company runs a self-managed Microsoft SQL Server on Amazon EC2 instances and Amazon Elastic Block Store (Amazon EBS). Daily snapshots are taken of the EBS volumes.Recently, all the company EBS snapshots were accidentally deleted while running a snapshot cleaning script that deletes all expired EBS snapshots. A solutions architect needs to update the architecture to prevent data loss without retaining EBS snapshots indefinitely.Which solution will meet these requirements with the LEAST development effort?
- A. Change the IAM policy of the user to deny EBS snapshot deletion.
- B. Copy the EBS snapshots to another AWS Region after completing the snapshots daily.
- C. Create a 7-day EBS snapshot retention rule in Recycle Bin and apply the rule for all snapshots. ✓
- D. Copy EBS snapshots to Amazon S3 Standard-Infrequent Access (S3 Standard-IA).
Correct Answer: C. Create a 7-day EBS snapshot retention rule in Recycle Bin and apply the rule for all snapshots.
Explanation
To prevent data loss from accidental deletion of EBS snapshots while ensuring that snapshots are not retained indefinitely, the best solution with the least development effort is:C. Create a 7-day EBS snapshot retention rule in Recycle Bin and apply the rule for all snapshots.Explanation:EBS Snapshot Recycle Bin: AWS offers a feature called the EBS Snapshot Recycle Bin, which allows you to retain deleted snapshots for a specified period (in this case, 7 days). This means that if a snapshot is accidentally deleted, it can still be recovered within that retention period, thereby preventing data loss.Evaluation of Other Options:A. Change the IAM policy of the user to deny EBS snapshot deletion: While this would prevent users from deleting snapshots, it does not allow for the management of snapshots based on a retention policy or provide a recovery option for already deleted snapshots.B. Copy the EBS snapshots to another AWS Region after completing the snapshots daily: This would provide redundancy but adds complexity and operational overhead. It may also not directly address the issue of accidental deletions effectively within a single region.D. Copy EBS snapshots to Amazon S3 Standard-Infrequent Access (S3 Standard-IA): While this could provide a form of backup, it does not seamlessly integrate with EBS snapshots and could require significant development effort to manage the backup and restore process.In summary, Option C is the most effective and straightforward solution to prevent data loss from accidental deletions while maintaining a manageable snapshot retention policy.