
Ultimate access to all questions.
As an Associate Cloud Engineer working with Google Cloud Platform (GCP), you are managing a virtual machine (VM) instance that is currently configured with 2 virtual CPUs (vCPUs) and 4 GB of memory. This VM is experiencing memory shortages and you need to upgrade its memory to 8 GB to ensure it operates efficiently. What steps should you take to upgrade the VM to 8 GB of memory?
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.