Skip to Content

Amazon SAA-C03: How to Prevent Accidental Deletion of Amazon EBS Snapshots?

Learn the easiest way to protect your Amazon EBS snapshots from being accidentally deleted using AWS Recycle Bin. Set up snapshot retention rules to safeguard your data.

Table of Contents

Question

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’s 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).

Answer

C. Create a 7-day EBS snapshot retention rule in Recycle Bin and apply the rule for all snapshots.

Explanation

AWS Recycle Bin is a feature that allows you to set retention rules for accidentally deleted EBS snapshots. When a snapshot is deleted, it is moved to the Recycle Bin and kept there based on the retention period specified in the rule. This provides a safety net against accidental deletions.

Creating a 7-day retention rule in Recycle Bin is the solution that requires the least development effort among the given options:

A) Changing IAM policies to deny snapshot deletion requires manual configuration and ongoing management. It doesn’t prevent deletion if the IAM policy is accidentally modified.

B) Copying snapshots to another region provides geographic redundancy but involves additional costs and management overhead. It doesn’t directly prevent deletion in the source region.

D) Copying snapshots to S3 is a valid backup strategy but requires custom scripting or third-party tools. It’s more complex than using Recycle Bin.

In summary, leveraging AWS Recycle Bin to set a 7-day retention rule for EBS snapshots is the simplest and most effective solution to prevent accidental data loss without the need for indefinite snapshot retention or custom development.

Amazon AWS Certified Solutions Architect – Associate SAA-C03 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Associate SAA-C03 exam and earn Amazon AWS Certified Solutions Architect – Associate SAA-C03 certification.