ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 131 - Associate Cloud Engineer discussion

Report
Export

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?

A.
Create a Compute Engine snapshot of your base VM. Create your images from that snapshot.
Answers
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.
Answers
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.
Answers
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.
Answers
D.
Create a custom Compute Engine image from a snapshot. Create your instances from that image.
Suggested answer: D

Explanation:

A custom image belongs only to your project. To create an instance with a custom image, you must first have a custom image.

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.

https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#prepare_instance_for_image

asked 18/09/2024
Paul Tierney
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first