Copy a production Linux VM in us-central to a new instance in another project in us-east while keeping the copy easy to replace when production changes. Which steps do you take?
Choose an answer
Tap an option to check your answer.
Correct answer: Take a snapshot of the root disk, export an image to Cloud Storage from the snapshot, and create the new VM in us-east from that image..
Why this is the answer
The correct approach involves creating a snapshot of the production VM's root disk. This snapshot can then be used to create a custom image in Compute Engine. This image can be stored in Cloud Storage and is globally accessible, allowing you to provision a new VM in a different region (us-east) and project. This method ensures that the new VM is an exact copy of the original and can be easily replaced or updated by creating new images from updated snapshots. Using dd and netcat is a manual, error-prone process not suitable for production environments or cross-project/region migrations. Creating a snapshot and directly selecting it as a root disk for a new VM is not a standard or supported cross-project/region workflow. Creating an image file with dd locally and then uploading it is less efficient and manageable than using Compute Engine's built-in image export functionality.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed