AWS Certified SysOps Administrator – Associate — Question 421
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
To migrate an existing Amazon EC2 instance to a different Availability Zone, you must create an Amazon Machine Image (AMI) of the instance and use it to launch a new instance in the destination subnet. You cannot directly move, copy, or modify the Availability Zone of an already launched EC2 instance, making options A, C, and D technically impossible.