Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam SOA-C02 Topic 3 Question 111 Discussion

Actual exam question for Amazon's SOA-C02 exam
Question #: 111
Topic #: 3
[All SOA-C02 Questions]

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?

Show Suggested Answer Hide Answer
Suggested Answer: B

Amazon EC2 and Availability Zones:

EC2 instances are tied to a specific Availability Zone within a region. Moving an instance directly is not possible.

Creating an Amazon Machine Image (AMI) allows the instance to be recreated in another Availability Zone.

Steps to Migrate an EC2 Instance to a New Availability Zone:

Create an AMI:

Open the EC2 Console.

Select the EC2 instance you want to migrate.

Choose Actions > Image and templates > Create Image.

Configure the AMI creation settings and create the image.

Launch a New Instance:

Navigate to the AMI section in the EC2 Console.

Select the newly created AMI.

Click Launch Instance from Image.

Specify the new Availability Zone during the instance configuration.

Terminate the Original Instance:

After validating that the new instance is functioning correctly, terminate the original instance to avoid additional costs.

Why Other Options Are Incorrect:

A: Directly copying an instance to another AZ is not supported.

C: There is no AWS CLI command to move an EC2 instance between AZs.

D: Stopping and modifying the AZ of an existing instance is not possible.


Amazon EC2 Documentation

Creating an AMI

Contribute your Thoughts:

Alberta
28 days ago
Option E: Throw the server out the window and start over. Problem solved!
upvoted 0 times
Aaron
5 hours ago
D) Stop the EC2 instance, modify the Availability Zone, and start the instance.
upvoted 0 times
...
Latanya
8 days ago
A) Copy the EC2 instance to a different Availability Zone. Terminate the original instance
upvoted 0 times
...
Ryan
12 days ago
B) Create an Amazon Machine Image (AMI) from the EC2 instance and launch it in a different Availability Zone. Terminate the original instance
upvoted 0 times
...
...
Bonita
1 months ago
I like how option A just says 'Terminate the original instance' - very blunt! Not exactly the best migration strategy.
upvoted 0 times
...
Alfreda
1 months ago
C using the AWS CLI? Hmm, I'm not sure that's a real option. Sounds a bit too good to be true.
upvoted 0 times
...
Tanesha
1 months ago
D is tempting, but I don't think you can just modify the Availability Zone of a running instance. That's asking for trouble.
upvoted 0 times
Salina
10 days ago
I agree, that seems like the safest option to migrate the EC2 instance to a new Availability Zone.
upvoted 0 times
...
Loise
15 days ago
B) Create an Amazon Machine Image (AMI) from the EC2 instance and launch it in a different Availability Zone. Terminate the original instance
upvoted 0 times
...
...
Diego
1 months ago
But wouldn't creating an AMI be a safer option in case something goes wrong during the migration process?
upvoted 0 times
...
Tesha
1 months ago
I disagree, I believe the correct solution is D) Stop the EC2 instance, modify the Availability Zone, and start the instance.
upvoted 0 times
...
Diego
2 months ago
I think the answer is B) Create an Amazon Machine Image (AMI) from the EC2 instance and launch it in a different Availability Zone. Terminate the original instance.
upvoted 0 times
...
Rocco
2 months ago
Option B seems the most straightforward. AMIs are perfect for migrating instances to different Availability Zones.
upvoted 0 times
Glendora
7 days ago
Definitely. It's important to ensure a smooth transition when moving instances between Availability Zones.
upvoted 0 times
...
Elroy
8 days ago
That makes sense. It's a safe and reliable method for migrating EC2 instances.
upvoted 0 times
...
Cherelle
14 days ago
I agree, creating an AMI and launching it in a different Availability Zone is the way to go.
upvoted 0 times
...
Claribel
22 days ago
Option B seems the most straightforward. AMIs are perfect for migrating instances to different Availability Zones.
upvoted 0 times
...
...

Save Cancel