
Answer-first summary for fast verification
Answer: Halt the instance and modify the machine type to one with more memory.
The correct approach is to stop the instance and change its machine type to one that offers more memory. This method is direct and leverages Google Cloud Platform's flexibility in adjusting resources to meet workload demands. Options A and D suggest creating a new instance or using non-existent commands, which are not the simplest solutions. Option B mentions an invalid command. Changing the machine type is the most efficient way to adjust memory and CPU resources as needed.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your Linux server is consistently running low on memory, currently utilizing 8GB, and needs to be upgraded to 16GB. What is the most straightforward method to achieve this?
A
Create a new instance with the desired memory capacity.
B
Execute the gcloud compute add-memory command to boost the memory.
C
Halt the instance and modify the machine type to one with more memory.
D
Utilize the Linux memincr command to increase the memory.
No comments yet.