Which TWO of the following are valid Prometheus metric types? (Select two.)
Counter metrics only increase monotonically, resetting solely on process restart, which satisfies Prometheus's requirement for cumulative time-series data such as request totals. This monotonic behaviour distinguishes it from gauges, which rise and fall freely, and makes Counter one of the four valid Prometheus metric types alongside Gauge, Histogram and Summary.
Why this answer
Option B (Counter) is correct because Counter is one of the four core Prometheus metric types, representing a cumulative value that only increases (or resets to zero on restart), such as http_requests_total. Option D (Histogram) is also correct because Histogram is a core Prometheus metric type that samples observations into configurable buckets and exposes _bucket, _sum, and _count series, commonly used for request durations or response sizes. The other options do not belong: Log (A) and Trace (E) are observability signal categories (logs and distributed traces) rather than Prometheus metric types, and Event (C) is not a Prometheus metric type—Prometheus has Gauge and Summary as its other two types, but neither is listed here.
Exam trap
KCNA often tests whether candidates confuse observability signal types (logs, metrics, traces) with Prometheus metric types, so options like 'Log' and 'Trace' look plausible but are not Prometheus metric primitives.