AWS Certified Solutions Architect – Professional — Question 79
How can an EBS volume that is currently attached to an EC2 instance be migrated from one Availability Zone to another?
Answer options
- A. Detach the volume and attach it to another EC2 instance in the other AZ.
- B. Simply create a new volume in the other AZ and specify the original volume as the source.
- C. Create a snapshot of the volume, and create a new volume from the snapshot in the other AZ.
- D. Detach the volume, then use the ec2-migrate-volume command to move it to another AZ.
Correct answer: C
Explanation
The correct answer is C because creating a snapshot of the EBS volume allows you to make a copy of the data, which can then be used to create a new volume in a different Availability Zone. Option A is incorrect since you cannot directly move the volume between AZs by attaching it to another instance. Option B is misleading as you cannot specify an existing volume as a source for a new volume directly. Option D is incorrect because the ec2-migrate-volume command does not exist for moving EBS volumes.