GoogleGoogle
ASSOCIATE-CLOUD-ENGINEER · Question #26
ASSOCIATE-CLOUD-ENGINEER Question #26: Real Exam Question with Answer & Explanation
The correct answer is D: Stop the VM, increase the memory to 8 GB, and start the VM.. https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine- type#add_extended_memory_to_an_existing_vm_instance
Submitted by khalil_dz· Mar 30, 2026
Question
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?
Options
- ARely on live migration to move the workload to a machine with more memory.
- BUse gcloud to add metadata to the VM. Set the key to and the value
- CStop the VM, change the machine type to n1-standard-8, and start the VM.
- DStop the VM, increase the memory to 8 GB, and start the VM.
Explanation
https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine- type#add_extended_memory_to_an_existing_vm_instance
Community Discussion
No community discussion yet for this question.