Backup Options for Multiple EBS Volumes | AWS Certified Developer - Associate Exam

Performing Backup for Multiple EBS Volumes

Prev Question Next Question

Question

An IT firm is storing critical data on multiple provisioned IOPS & throughput optimized EBS volumes based upon various categories of data.

For quick restoration of this data in other regions, Operation Team is looking for data backup for all these EBS volumes.

Which of the following is the best option in performing backup for multiple EBS volumes?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer - A.

Using Multi-Volume Snapshot, a point-in-time snapshot of all EBS volumes connected to an EC2 instance can be performed.

For this from the Snapshot navigation pane, resource type should be selected as Instance which will provide the option of performing snapshot for all EBS volumes connected to that EC2 instance.

Option B is incorrect as Resource Type should be selected as Instance & Not Volumes.

Options C & D are incorrect.

Instead of creating a snapshot for each EBS volume, a Multi-volume Snapshot can create multiple EBS volumes in a single operation.

For more information on Amazon EBS Multi-volume Snapshots, refer to the following URL-

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-creating-snapshot.html#ebs-create-snapshot-multi-volume

To perform backups for multiple EBS volumes, the best option would be to create a Multi-volume Snapshot for all the EBS volumes attached to the EC2 instance.

Option A and Option D both suggest creating a Snapshot by selecting the Resource Type as Instance. However, this will only create a snapshot of the root EBS volume attached to the instance and not the additional EBS volumes attached to it. Therefore, both options A and D can be eliminated.

Option C suggests creating a snapshot of each EBS volume individually by selecting the Resource Type as Volumes. While this option will provide backups for each EBS volume, it can be a time-consuming process if there are many EBS volumes to be backed up. Moreover, this option also increases the risk of inconsistencies if the EBS volumes are not synchronized at the time of snapshot creation.

Therefore, the best option would be Option B, which suggests creating a Multi-volume Snapshot for all EBS Volumes attached to the EC2 instance by selecting the Resource Type as Volumes in the Snapshot navigation pane. This will create a consistent backup of all the EBS volumes attached to the EC2 instance in a single step, making it easier and quicker to restore the data in other regions.

It's worth noting that multi-volume snapshots are only available for EBS volumes that are in an attached state and not in a detached state. Also, multi-volume snapshots can be created using the AWS Management Console, AWS CLI, or AWS SDKs.