AWS Certified SysOps Administrator – Associate (legacy) — Question 412
How can an EBS volume that is currently attached to an EC2 instance be migrated from one Availability Zone to another?
Answer options
- A. Simply create a new volume in the other AZ and specify the original volume as the source.
- B. Detach the volume, then use the ec2-migrate-volume command to move it to another AZ.
- C. Create a snapshot of the volume, and create a new volume from the snapshot in the other AZ.
- D. Detach the volume and attach it to another EC2 instance in the other AZ.
Correct answer: C
Explanation
EBS volumes are inherently tied to the specific Availability Zone (AZ) in which they were created and cannot be attached to EC2 instances in other AZs. To move the data, you must create a snapshot of the EBS volume and then restore that snapshot to a new volume in the desired target AZ. There is no direct attachment across AZs, nor does an 'ec2-migrate-volume' command exist.