Question 730 of 1,000
Implementing service monitoring strategieshardMultiple ChoiceObjective-mapped

Cloud Monitoring Agent Missing CPU Metrics

This PCDOE practice question tests your understanding of implementing service monitoring strategies. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. A key principle to apply: alert Duration. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Refer to the exhibit.

```
{
  "alertPolicies": [
    {
      "displayName": "High CPU Alert",
      "combiner": "OR",
      "conditions": [
        {
          "displayName": "CPU usage > 80%",
          "conditionThreshold": {
            "filter": "metric.type=\"compute.googleapis.com/instance/cpu/utilization\" resource.type=\"gce_instance\"",
            "comparison": "COMPARISON_GT",
            "thresholdValue": 0.8,
            "duration": "300s",
            "trigger": {
              "count": 1
            }
          }
        }
      ]
    },
    {
      "displayName": "High Memory Alert",
      "conditions": [
        {
          "displayName": "Memory usage > 90%",
          "conditionThreshold": {
            "filter": "metric.type=\"agent.googleapis.com/memory/percent_used\" resource.type=\"gce_instance\"",
            "comparison": "COMPARISON_GT",
            "thresholdValue": 0.9,
            "duration": "60s",
            "trigger": {
              "count": 1
            }
          }
        }
      ]
    }
  ]
}
```

A team has set up the alerting policies shown in the exhibit. They receive an alert for High Memory but not for High CPU. What is the most likely reason?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "most likely"

    Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

Exhibit

Refer to the exhibit.

```
{
  "alertPolicies": [
    {
      "displayName": "High CPU Alert",
      "combiner": "OR",
      "conditions": [
        {
          "displayName": "CPU usage > 80%",
          "conditionThreshold": {
            "filter": "metric.type=\"compute.googleapis.com/instance/cpu/utilization\" resource.type=\"gce_instance\"",
            "comparison": "COMPARISON_GT",
            "thresholdValue": 0.8,
            "duration": "300s",
            "trigger": {
              "count": 1
            }
          }
        }
      ]
    },
    {
      "displayName": "High Memory Alert",
      "conditions": [
        {
          "displayName": "Memory usage > 90%",
          "conditionThreshold": {
            "filter": "metric.type=\"agent.googleapis.com/memory/percent_used\" resource.type=\"gce_instance\"",
            "comparison": "COMPARISON_GT",
            "thresholdValue": 0.9,
            "duration": "60s",
            "trigger": {
              "count": 1
            }
          }
        }
      ]
    }
  ]
}
```

Quick Answer

The answer is that the Cloud Monitoring agent is not installed or not properly reporting CPU metrics on the instance. This is correct because the High Memory alert fires while the High CPU alert does not, indicating that memory metrics are available—likely through guest-attributes or another mechanism—but the standard CPU utilization metrics are missing. On the Google Professional Cloud DevOps Engineer exam, this scenario tests your understanding of how the Cloud Monitoring agent collects OS-level metrics; without it, CPU metrics are absent, while memory may still appear via alternative collection methods. A common trap is assuming both metrics come from the same source, but the agent is required for CPU data. Remember the memory tip: “No agent, no CPU—memory might sneak through.”

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

The CPU alert's duration of 300 seconds prevents it from firing before the memory alert.

The most likely reason the CPU alert has not fired while the memory alert has is that the CPU alert's duration is set to 300 seconds, requiring sustained high CPU for that period before firing. The memory alert likely has a shorter duration and its condition was met sooner, triggering the alert. Option A is incorrect because if the agent were missing, both memory and CPU metrics would be unavailable; the fact that memory alert fired indicates the agent is functioning. Option B correctly identifies the duration difference.

Key principle: Alert Duration

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • The Cloud Monitoring agent is not installed or not reporting on the instance, so the memory metric is missing.

    Why it's wrong here

    This is incorrect. If the Cloud Monitoring agent were not installed, memory metrics would also be unavailable, so the memory alert would not fire either. The fact that memory alert fired indicates the agent is present.

  • The CPU alert's duration of 300 seconds prevents it from firing before the memory alert.

    Why this is correct

    Correct. The CPU alert's duration of 300 seconds means it requires high CPU for 5 minutes before firing. The memory alert likely has a shorter duration, so it fires sooner.

    Clue confirmation

    The clue word "most likely" in the question point toward this answer.

    Related concept

    Alert Duration

  • The memory alert has a higher threshold value, making it easier to trigger.

    Why it's wrong here

    Incorrect. A higher threshold makes triggering less likely, not more. The memory alert having a higher threshold would make it harder to trigger, but it fired, so this is not the reason.

  • The CPU metric is not available because the instance does not have the Cloud Monitoring agent installed.

    Why it's wrong here

    Incorrect. As with option A, if the CPU metric were unavailable due to agent issues, memory metrics would also be missing. The memory alert firing indicates the agent is working.

Common exam traps

Common exam trap: answer the scenario, not the keyword

A common pitfall is assuming that alert differences are due to metric availability or agent issues, but often it is the alert's duration condition that determines when it fires. The duration setting delays firing until the condition is sustained, which can cause one alert to fire before another.

Detailed technical explanation

How to think about this question

Cloud Monitoring uses the Cloud Monitoring agent (formerly Stackdriver agent) to collect CPU, disk, and memory metrics from Compute Engine instances. If the agent is not installed, CPU utilization is still available via the 'compute.googleapis.com/instance/cpu/utilization' metric from the hypervisor, but memory metrics like 'agent.googleapis.com/memory/percent_used' require the agent. In this scenario, the memory alert fires because the agent is reporting memory, but the CPU alert does not fire because the CPU metric is missing—likely because the agent's CPU collection is misconfigured or the agent is not reporting CPU data due to a permissions or configuration issue.

KKey Concepts to Remember

  • Alert Duration
  • Alerting Policy Conditions

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Alert Duration

Real-world example

How this comes up in practice

A cloud solutions architect for a retail company is evaluating services for a new workload. The correct answer here reflects best practice for the specific scenario described — not a general cloud recommendation. Alert Duration Cloud exam questions reward reading the constraint carefully: the same technology can be right or wrong depending on the use case.

What to study next

Got this wrong? Here's your next step.

Review alert Duration, then practise related PCDOE questions on the same topic to reinforce the concept.

Related practice questions

Related PCDOE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free PCDOE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this PCDOE question test?

Implementing service monitoring strategies — This question tests Implementing service monitoring strategies — Alert Duration.

What is the correct answer to this question?

The correct answer is: The CPU alert's duration of 300 seconds prevents it from firing before the memory alert. — The most likely reason the CPU alert has not fired while the memory alert has is that the CPU alert's duration is set to 300 seconds, requiring sustained high CPU for that period before firing. The memory alert likely has a shorter duration and its condition was met sooner, triggering the alert. Option A is incorrect because if the agent were missing, both memory and CPU metrics would be unavailable; the fact that memory alert fired indicates the agent is functioning. Option B correctly identifies the duration difference.

What should I do if I get this PCDOE question wrong?

Review alert Duration, then practise related PCDOE questions on the same topic to reinforce the concept.

Are there clue words in this question I should notice?

Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.

What is the key concept behind this question?

Alert Duration

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More PCDOE practice questions

Last reviewed: Jun 30, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.