Google Associate Cloud Engineer

Google Associate Cloud Engineer

Get started today

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?




Explanation:

To increase the memory of a virtual machine in Google Cloud Platform, you need to stop the VM first, as it is not possible to modify the memory of a running VM. Once the VM is stopped, you can increase the memory by customizing the machine type settings, and then start the VM again. This process is reflected in option D. Options A and B are not viable methods for changing the memory allocation, and option C involves changing to a machine type that includes unnecessary additional resources (more vCPUs) which is not required in this case.