Kubernetes and Cloud Native Associate (KCNA) — Question 61

What is the core metric type in Prometheus used to represent a single numerical value that can go up and down?

Answer options

Correct answer: D

Explanation

The correct answer is D, Gauge, as it specifically tracks values that can fluctuate up and down, like temperature or memory usage. In contrast, a Counter (B) only increases, a Histogram (C) measures distributions, and a Summary (A) provides quantiles, but none of those can decrease like a Gauge can.