Which of the following best describes what a metric in Cloud Monitoring represents?
Think about what Cloud Monitoring tracks continuously to observe system health.
Metrics are numerical data points collected over time that represent the state or performance of resources or applications.
What is the output of the following gcloud command that lists metric descriptors for Compute Engine?
gcloud monitoring metrics descriptors list --filter="metric.type:starts_with('compute.googleapis.com')" --limit=1 --format="value(displayName)"
The first Compute Engine metric descriptor in list order is CPU utilization.
The command filters metric descriptors starting with 'compute.googleapis.com' and returns the display name of the first metric, which is typically 'CPU utilization'.
Which sequence correctly describes the steps to create an alerting policy in Cloud Monitoring?
Think about the logical order from selecting what to monitor to saving the alert.
First, you select the resource and metric, then set the condition threshold, next configure notifications, and finally name and save the policy.
You notice that a custom metric you created is not showing any data points in Cloud Monitoring. Which of the following is the most likely cause?
Custom metrics require proper registration before data can be sent.
If the metric descriptor is missing or not registered, no data points can be collected or displayed for that metric.
Which practice helps reduce costs when using Cloud Monitoring for a large number of resources?
Think about how to limit data collection to what is essential.
Filtering metrics to collect only what is needed reduces data ingestion and storage costs effectively.