nerdexam
Linux_Foundation

KCNA · Question #50

Which Prometheus metric represents a single value that can go up and down?

The correct answer is B. Gauge. A Prometheus Gauge is a metric type that represents a single numerical value that can arbitrarily go up and down, making it suitable for current measurements.

Submitted by skyler.x· May 4, 2026Cloud Native Observability

Question

Which Prometheus metric represents a single value that can go up and down?

Options

  • ACounter
  • BGauge
  • CSummary
  • DHistogram

How the community answered

(50 responses)
  • A
    2% (1)
  • B
    92% (46)
  • C
    2% (1)
  • D
    4% (2)

Why each option

A Prometheus Gauge is a metric type that represents a single numerical value that can arbitrarily go up and down, making it suitable for current measurements.

ACounter

A Counter is a cumulative metric that represents a single monotonically increasing counter whose value can only increase or be reset to zero upon restart, unlike a Gauge.

BGaugeCorrect

A Gauge is a metric that represents a single numerical value that can go up and down arbitrarily, making it suitable for continuously changing values such as current memory usage, temperature, or the number of concurrent requests.

CSummary

A Summary samples observations (usually request durations or response sizes) and provides quantiles over a sliding time window, rather than a single fluctuating value.

DHistogram

A Histogram samples observations and counts them in configurable buckets, also providing a sum of all observed values and an event count, which is different from a single, arbitrarily changing value.

Concept tested: Prometheus metric types (Gauge)

Source: https://prometheus.io/docs/concepts/metric_types/#gauge

Topics

#Prometheus#Metric Types#Observability#Gauge

Community Discussion

No community discussion yet for this question.

Full KCNA Practice