PCDOE Implementing service monitoring strategies Practice Question
You are creating a Cloud Monitoring dashboard to display the 99th percentile latency of your HTTP Load Balancer over the last 6 hours. Which MQL query should you use?
⚠ Common exam trap
Google Cloud often tests the distinction between valid metric names (e.g., `total_latencies` vs. `latency`) and correct MQL syntax (e.g., `percentile(99)` vs. `99p` or `align 99`), leading candidates to choose syntactically close but incorrect options like A or D.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
fetch loadbalancing.googleapis.com/https/total_latencies | align percentile(99)
It uses the correct metric type (`total_latencies`) and the proper MQL function `percentile(99)` to compute the 99th percentile latency. The `fetch` statement targets the exact Cloud Monitoring metric for HTTPS load balancer latencies, and `align percentile(99)` aggregates the raw latency distribution data over the specified time window (last 6 hours) to produce the desired percentile value.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
fetch https_lb_rule :: latency | align 99p
Why it's wrong here
The metric name is incorrect (https_lb_rule does not exist) and 'align 99p' is not valid MQL.
- ✓
fetch loadbalancing.googleapis.com/https/total_latencies | align percentile(99)
Why this is correct
This query fetches the latency distribution and aligns to the 99th percentile, exactly as needed.
- ✗
fetch loadbalancing.googleapis.com/https/request_count | align | ratio
Why it's wrong here
This query uses request count and ratio, not latency percentiles.
- ✗
fetch loadbalancing.googleapis.com/https/total_latencies | align 99 | with latency
Why it's wrong here
The 'align 99' is invalid; the correct function is 'percentile(99)'.
Go deeper
Related to this question
About these practice questions
One of 486 original PCDOE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCDOE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCDOE exam.