Proper EBS Volume Backup and Data Durability Solution

Ensure Proper EBS Volume Backup and Data Durability

Prev Question Next Question

Question

Your company is concerned with EBS volume backup on Amazon EC2 and wants to ensure they have proper backups and that the data is durable.

What solution would you implement and why? Choose the correct answer from the options below.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - D.

You can use Amazon Data Lifecycle Manager (Amazon DLM) to automate the creation, retention, and deletion of snapshots taken to back up your Amazon EBS volumes.

The snapshots are automatically stored on S3 for durability.

For more information on EBS snapshots and DLM , please refer to the below link:

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-lifecycle.html

The correct answer is D - Use Amazon Data Lifecycle Manager (Amazon DLM) to automate the creation of snapshots taken to back up your Amazon EBS volumes. The data is durable because EBS snapshots are stored on the Amazon S3 standard storage class.

Explanation: Amazon EBS (Elastic Block Store) is a block-level storage volume used in Amazon EC2 (Elastic Compute Cloud) instances. EBS volumes provide durable and persistent storage for data. However, as with any storage solution, it is important to have proper backups to ensure data can be recovered in case of data loss, corruption or disasters.

Amazon Data Lifecycle Manager (Amazon DLM) is an AWS service that allows you to create and automate policies for taking EBS snapshots to protect your data. Amazon DLM can be used to automate the creation, retention, and deletion of EBS snapshots.

Amazon DLM provides the following benefits:

  • Automates EBS snapshot creation and management.
  • Can be used to set retention policies that determine how long snapshots are kept.
  • Can be used to automate snapshot deletion, based on a schedule or retention policy.
  • Can create snapshots across multiple regions for disaster recovery purposes.

By using Amazon DLM to automate EBS snapshots, the backups will be taken regularly and stored on the Amazon S3 standard storage class, which provides 99.999999999% durability. This means that the data will be protected against data loss and will be available for recovery in case of a disaster.

Option A - Configure Amazon Storage Gateway with EBS volumes as the data source and store the backups on premise through the storage gateway is incorrect because it requires the company to set up an on-premises backup solution, which can be costly and complex. Additionally, it does not take advantage of Amazon's cloud-based backup and disaster recovery solutions.

Option B - Write a cronjob on the server that compresses the data that needs to be backed up using gzip compression, then use AWS CLI to copy the data into an S3 bucket for durability is incorrect because it does not take advantage of EBS snapshots, which provide a more efficient and cost-effective backup solution.

Option C - Use a lifecycle policy to back up EBS volumes stored on Amazon S3 for durability is incorrect because EBS volumes are not stored on Amazon S3, but rather on EBS itself. Therefore, using a lifecycle policy to back up EBS volumes stored on Amazon S3 is not a valid solution.