Courseiva
Scaling with Google Cloud operationsmediumMultiple ChoiceObjective-mapped

Cloud Digital Leader Scaling with Google Cloud operations Practice Question

Exhibit

{
  "metric": {
    "type": "custom.googleapis.com/inventory/items_sold",
    "labels": {}
  },
  "resource": {
    "type": "global",
    "labels": {
      "project_id": "my-project"
    }
  },
  "points": [
    {
      "interval": {
        "endTime": "2023-01-01T12:00:00Z"
      },
      "value": {
        "int64Value": "100"
      }
    }
  ],
  "metricKind": "GAUGE",
  "valueType": "INT64"
}

Refer to the exhibit. A DevOps engineer wants to create a chart showing the rate of items sold per second over time. What is a limitation of this metric for that purpose?

⚠ Common exam trap

Google Cloud often tests the misconception that any numeric metric can be used to compute a rate, when in fact only CUMULATIVE counters support rate-of-change calculations in Cloud Monitoring.

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 metric kind is GAUGE, so it cannot be used to calculate rate

A GAUGE metric type represents a point-in-time value (e.g., current number of items), not a cumulative counter. To calculate a rate (items per second), you need a CUMULATIVE counter metric that monotonically increases, allowing Cloud Monitoring to compute the derivative over time. GAUGE metrics lack the necessary monotonicity and cumulative semantics, so they cannot be used to derive a meaningful rate of change.

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 metric kind is GAUGE, so it cannot be used to calculate rate

    Why this is correct

    GAUGE metrics capture a value at a single point in time, like a snapshot, so there is no temporal difference to divide by an elapsed interval. Cloud Monitoring's rate aligner (ALIGN_RATE) or the 'rate' transform requires DELTA or CUMULATIVE metrics to compute per-second change. Because the metric is GAUGE, it is structurally impossible to calculate a rate, regardless of the interval or value type.

  • The interval should include a startTime

    Why it's wrong here

    For reading a GAUGE metric, the Cloud Monitoring API only requires an endTime; a startTime is not needed because the data represents a point-in-time sample, not a range. Adding a startTime would not enable rate computation, as the metric kind is still the fundamental limitation. Rate calculation needs a DELTA or CUMULATIVE metric with an explicit interval between two points.

  • The metric has no labels to filter

    Why it's wrong here

    Labels are dimensions used to filter and group time series when querying, but they have no influence on whether a rate can be derived from the metric kind. A GAUGE metric remains a snapshot even if it has dozens of labels; the absence or presence of labels does not create a before-and-after relationship. The inability to compute rate stems from the metric's kind, not its labeling.

  • The value should be DOUBLE instead of INT64

    Why it's wrong here

    The value type INT64 is perfectly appropriate for this metric, as the metric appears to represent a count, and Cloud Monitoring's rate alignment supports both INT64 and DOUBLE value types. Changing the value type to DOUBLE would not transform the metric's kind from GAUGE, which is the actual blocker for rate calculation. Rate computation is a function of metric kind and time semantics, not numeric data type.

About these practice questions

This GCDL question is part of Courseiva's 829-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This GCDL 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 GCDL exam.