Google Cloud Associate Cloud Engineer — Question 140
You need to create a copy of a custom Compute Engine virtual machine (VM) to facilitate an expected increase in application traffic due to a business acquisition.
What should you do?
Answer options
- A. Create a Compute Engine snapshot of your base VM. Create your images from that snapshot.
- B. Create a Compute Engine snapshot of your base VM. Create your instances from that snapshot.
- C. Create a custom Compute Engine image from a snapshot. Create your images from that image.
- D. Create a custom Compute Engine image from a snapshot. Create your instances from that image.
Correct answer: D
Explanation
The correct answer is D because creating a custom Compute Engine image from a snapshot allows you to replicate the VM accurately and then create new instances from that image. Options A and B involve creating images or instances from snapshots directly, which does not provide the necessary customization. Option C incorrectly suggests using the image to create images, rather than instances.