Bird
0
0

Which of the following is the correct way to filter CPU usage metric in a Google Cloud Monitoring dashboard widget?

easy📝 Configuration Q12 of 15
GCP - Cloud Monitoring and Logging
Which of the following is the correct way to filter CPU usage metric in a Google Cloud Monitoring dashboard widget?
Afilter: cpu_usage_metric
Bmetric = "cpu_usage"
Cmetric.type = "compute.googleapis.com/instance/cpu/utilization"
Dmetric.cpu = "usage"
Step-by-Step Solution
Solution:
  1. Step 1: Recall correct metric filter syntax

    Google Cloud Monitoring uses metric.type with full metric names like "compute.googleapis.com/instance/cpu/utilization".
  2. Step 2: Match options to syntax

    Only metric.type = "compute.googleapis.com/instance/cpu/utilization" uses the correct full metric.type format.
  3. Final Answer:

    metric.type = "compute.googleapis.com/instance/cpu/utilization" -> Option C
  4. Quick Check:

    Correct metric filter uses metric.type with full name [OK]
Quick Trick: Use full metric.type path for filters [OK]
Common Mistakes:
  • Using incomplete or shorthand metric names
  • Wrong filter keywords like 'filter:' or 'metric.cpu'

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More GCP Quizzes