
Answer-first summary for fast verification
Answer: Employ Live Migration to transition to a machine type with more memory.
The correct answer is **C** because Live Migration allows you to move your instance to a machine type with higher memory with minimal to no downtime. This feature is designed to keep your virtual machine instances running during various host system events, including maintenance and upgrades, without requiring a reboot. Options **A** and **B** are incorrect as you cannot directly increase the memory of an instance via the console or command line. Option **D** is also incorrect because the issue is related to memory, not CPU, so migrating to a machine type with a higher CPU count would not address the memory problems.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your application is currently running on a Compute Engine instance with 2 vCPUs and 4GB RAM, but you're encountering frequent memory issues. What's the best approach to increase the memory with minimal downtime?
A
Utilize the GCP console to upgrade the memory of the Compute Engine instance.
B
Execute the command gcloud compute instances increase-memory to boost the memory.
C
Employ Live Migration to transition to a machine type with more memory.
D
Apply Live Migration to switch to a machine type with a higher CPU count.
No comments yet.