Topic 1 Question 162
You want to make a copy of a production Linux virtual machine in the US-Central region. You want to manage and replace the copy easily if there are changes on the production virtual machine. You will deploy the copy as a new instance in a different project in the US-East region. What steps must you take?
Use the Linux dd and netcat commands to copy and stream the root disk contents to a new virtual machine instance in the US-East region.
Create a snapshot of the root disk and select the snapshot as the root disk when you create a new virtual machine instance in the US-East region.
Create an image file from the root disk with Linux dd command, create a new virtual machine instance in the US-East region
Create a snapshot of the root disk, create an image file in Google Cloud Storage from the snapshot, and create a new virtual machine instance in the US-East region using the image file the root disk.
ユーザの投票
コメント(17)
D is correct. A and B are talking about appending the file system to a new VM, not setting it at the root in a new VM set. Option C is not offered within the GCP because the image must be on the GCP platform to run the gcloud of Google Console instructions to create a VM with the image.
👍 27Eroc2019/10/22Why Not B. https://cloud.google.com/compute/docs/instances/create-start-instance#createsnapshot This clearly tells we can use snapshot to create a VM instance, and only need a custom image if we need to create many instances. Here we are creating only one.
👍 13Sudipta2020/01/14D is the correct answer. Key word - different project in the same region. https://cloud.google.com/compute/docs/instances/copy-vm-between-projects
👍 2Omni_Omnom2021/11/14
シャッフルモード