Professional Cloud Architect · Free Practice Question Medium

Question 26

In the europe-central2-a zone, your team has an application server running on Compute Engine. What should you do to ensure high availability and replicate this server to europe-central2-b zone in as few steps as possible?

  • A

    You should create a snapshot from the disk and then create a disk from this snapshot in the europe-central2-b zone. Finally, create a new virtual machine with that disk.

  • B

    You should use gcloud tool to copy the drive to the europe-central2-b zone and then create a new virtual machine with this disk.

  • C

    You should create a snapshot from the disk and then create a disk from this snapshot in the europe-central2-a zone, move this disk to europe-central2-b and finally create a new virtual machine with that disk.

  • D

    You should use gcloud tool to copy the drive to the europe-central2-a zone, move this disk to europe-central2-b and finally create a new virtual machine with this disk.

Reveal correct answer

Correct answer: A

A.

Creating a snapshot of the disk is the quickest and easiest way to replicate an application server running on Compute Engine from one zone to another. A snapshot is a point-in-time copy of a disk that can be used to create a new disk in another zone or region. By creating a snapshot of the disk and then creating a new disk in the europe-central2-b zone, you can ensure that the data is replicated in as few steps as possible.

B.

It suggests using the gcloud tool to copy the drive to the europe-central2-b zone and then creating a new virtual machine with this disk. This option is not as efficient as creating a snapshot because it requires copying the entire drive, which may take longer and consume more resources.

C.

It suggests creating a disk from the snapshot in the same zone, moving the disk to the europe-central2-b zone and then creating a new virtual machine with that disk. This option adds an extra step of moving the disk to the new zone, which is not necessary since a disk can be created directly in the desired zone from the snapshot.

D.

It suggests using the gcloud tool to copy the drive to the europe-central2-a zone, moving the disk to europe-central2-b and then creating a new virtual machine with that disk. This option is also not as efficient as creating a snapshot since it involves an additional step of moving the disk between zones.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need