
Explanation:
The correct approach is to stop the VM, change the machine type to n1-standard-8, and then start the VM. This is because the amount of RAM is tied to the machine type, and you cannot independently increase RAM without changing the machine type. Stopping the VM is necessary before changing the machine type, as required by the Compute Engine platform.
Other options are incorrect because:
For more details, refer to Google Cloud documentation and Live Migration.
Ultimate access to all questions.
No comments yet.
Your blogging website, hosted on a Compute Engine instance with 2 vCPUs and 4 GB of memory, has suddenly gained traffic after being featured in a popular technology magazine. This surge is causing the VM to run out of memory. How should you upgrade the VM to 8 GB of memory?
A
Execute a live migration to transfer the workload to a machine with more memory.
B
C
D