AWS Certified SysOps Administrator – Associate (legacy) — Question 675
A company runs a multi-tier web application with two Amazon EC2 instances in one Availability Zone in the us-east-1 Region. A SysOps administrator must migrate one of the EC2 instances to a new Availability Zone.
Which solution will accomplish this?
Answer options
- A. Copy the EC2 instance to a different Availability Zone. Terminate the original instance.
- B. Create an Amazon Machine Image (AMI) from the EC2 instance and launch it in a different Availability Zone. Terminate the original instance.
- C. Move the EC2 instance to a different Availability Zone using the AWS CLI.
- D. Stop the EC2 instance, modify the Availability Zone, and start the instance.
Correct answer: B
Explanation
An Amazon EC2 instance is tied to the specific Availability Zone in which it was launched and cannot be directly moved or modified to run in a different zone. The correct procedure is to create an Amazon Machine Image (AMI) from the source instance, launch a new instance from that AMI in the target Availability Zone, and then terminate the original instance. Other methods like modifying the AZ of an existing instance or using a CLI 'move' command are not supported.