
Answer-first summary for fast verification
Answer: Use the GCP console to upgrade the memory of the Compute Engine instance
**A. Use the GCP console to upgrade the memory of the Compute Engine instance** This is partially correct. While you can change the machine type (which affects memory) via the console, the instance must be stopped first, which doesn't strictly meet the 'minimal downtime' requirement. However, this is the method to increase memory. **B. Execute the command `gcloud compute instances increase-memory` to increase the memory** This option is incorrect because no such command exists in gcloud. **C. Utilize Live Migration to transition to a machine type with higher memory** This option is incorrect because Live Migration does not allow changing the machine type or its resources. It only migrates the instance within the same machine type. **D. Utilize Live Migration to transition to a machine type with higher CPU** This option is incorrect for the same reason as option C; Live Migration cannot change machine types.
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 memory issues. What's the best approach to increase the memory with minimal downtime?
A
Use the GCP console to upgrade the memory of the Compute Engine instance
B
Execute the command gcloud compute instances increase-memory to increase the memory
C
Utilize Live Migration to transition to a machine type with higher memory
D
Utilize Live Migration to transition to a machine type with higher CPU
No comments yet.