Topic 1 Question 131
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?
Create a Compute Engine snapshot of your base VM. Create your images from that snapshot.
Create a Compute Engine snapshot of your base VM. Create your instances from that snapshot.
Create a custom Compute Engine image from a snapshot. Create your images from that image.
Create a custom Compute Engine image from a snapshot. Create your instances from that image.
解説
A custom image belongs only to your project. To create an instance with a custom image, you must first have a custom image. Reference: https://cloud.google.com/compute/docs/instances/create-start-instance
ユーザの投票
コメント(17)
Correct Answer is (D):
Preparing your instance for an image You can create an image from a disk even while it is attached to a running VM instance. However, your image will be more reliable if you put the instance in a state that is easier for the image to capture. Use one of the following processes to prepare your boot disk for the image:
Stop the instance so that it can shut down and stop writing any data to the persistent disk.
If you can't stop your instance before you create the image, minimize the amount of writes to the disk and sync your file system.
Pause apps or operating system processes that write data to that persistent disk. Run an app flush to disk if necessary. For example, MySQL has a FLUSH statement. Other apps might have similar processes. Stop your apps from writing to your persistent disk. Run sudo sync. After you prepare the instance, create the image.
👍 33ESP_SAP2020/08/21B: we just need to make 'a copy' of the VM, B works well for that.
not D: Had the question mentioned more copies, we would need to go the way of images...templates etc. D will work but not needed here.
👍 12pca2b2021/03/28- 正解だと思う選択肢: D
I have test it. It is D It is not B because if you make a snapshot and replicate it ,the new machines will have the same SSID, imagine if machine are in a domain, all the clones machines are viewing from domain controlles are the same. It doesn't work.
👍 6Nazz19772022/12/06
シャッフルモード