
Answer-first summary for fast verification
Answer: Install the Stackdriver Monitoring Agent.
To view memory usage of an application on Compute Engine, the Stackdriver Monitoring Agent (option B) must be installed. Compute Engine does not collect memory metrics by default. The agent collects system-level metrics like memory, which can then be viewed via the GCP Console (option D) or Metrics Explorer (option C). However, installing the agent is the prerequisite action. The Stackdriver Client Library (A) is for custom application metrics, not system metrics. While options C and D are tools to view metrics, they cannot display memory data unless the agent is installed. Therefore, the correct answer is B.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
To monitor the memory usage of your application running on Compute Engine, what steps should you take?
A
Install the Stackdriver Client Library.
B
Install the Stackdriver Monitoring Agent.
C
Use the Stackdriver Metrics Explorer.
D
Use the Google Cloud Platform Console.
No comments yet.