Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Developer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The best answer here is C. Use the Stackdriver Metrics Explorer. Here's why: Stackdriver Metrics Explorer: The Stackdriver Metrics Explorer is a powerful tool for visualizing and analyzing metrics collected from your Google Cloud resources. It allows you to view various metrics, including memory usage, over time. You can filter and group metrics based on different criteria, making it easy to identify trends and potential issues.
Let's look at why the other options are less suitable: A. Install the Stackdriver Client Library: The Stackdriver Client Library is used for programmatically interacting with Stackdriver from your application code. While it can be used to collect and send metrics, it's not the primary tool for viewing memory usage. B. Install the Stackdriver Monitoring Agent: The Stackdriver Monitoring Agent is responsible for collecting metrics from your Compute Engine instances. It's a necessary component for monitoring, but it doesn't provide a user interface for viewing metrics. D. Use the Google Cloud Platform Console: The Google Cloud Platform Console provides a general overview of your resources, but it doesn't offer the same level of detail and flexibility as the Stackdriver Metrics Explorer for viewing memory usage.
B. Install the Stackdriver Monitoring Agent. The Stackdriver Monitoring Agent allows you to collect more system-level and third-party application metrics than what is provided by default with Google Cloud's operations suite. By installing the agent on your Compute Engine instances, you can collect detailed memory usage metrics, which can then be viewed in the Google Cloud Console or through the Metrics Explorer in Google Cloud's operations suite (formerly Stackdriver).