What should you do?

You have a virtual machine that is currently configured with 2 vCPUs and 4 GB of memory. It is running out of memory. You want to upgrade the virtual machine to have 8 GB of memory.

What should you do?
A . Rely on live migration to move the workload to a machine with more memory.
B . Use gcloud to add metadata to the VM. Set the key to required-memory-size and the value to 8 GB.
C . Stop the VM, change the machine type to n1-standard-8, and start the VM.
D . Stop the VM, increase the memory to 8 GB, and start the VM.

Answer: D

Explanation:

In Google compute engine, if predefined machine types don’t meet your needs, you can create an instance with custom virtualized hardware settings. Specifically, you can create an instance with a custom number of vCPUs and custom memory, effectively using a custom machine type.

Custom machine types are ideal for the following scenarios:

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments