Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation PCA Exam - Topic 4 Question 11 Discussion

Posted by Rose on Mar 31, 2026 at 11:28 PM

Which kind of metrics are associated with the function deriv()?

Suggested Answer: B

The deriv() function in PromQL calculates the per-second derivative of a time series using linear regression over the provided time range. It estimates the instantaneous rate of change for metrics that can both increase and decrease --- which are typically gauges.

Because counters can only increase (except when reset), rate() or increase() functions are more appropriate for them. deriv() is used to identify trends in fluctuating metrics like CPU temperature, memory utilization, or queue depth, where values rise and fall continuously.

In contrast, summaries and histograms consist of multiple sub-metrics (e.g., _count, _sum, _bucket) and are not directly suited for derivative calculation without decomposition.


Extracted and verified from Prometheus documentation -- PromQL Functions -- deriv(), Understanding Rates and Derivatives, and Gauge Metric Examples.

Get Premium PCA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
12 comments · newest first
AP
Apolonia 3 months ago
A) Counters makes sense too. They count events, right?
MI
Mitsue 4 months ago
I lean towards D) Histograms. They track distributions over time.
KR
Kristel 4 months ago
I think it's B) Gauges. They show current values.
BU
Bulah 4 months ago
A) Counters makes the most sense here.
AL
Allene 4 months ago
I disagree, it should be C) Summaries.
MA
Mattie 4 months ago
Surprised that D) Histograms isn't the answer!
CA
Candra 6 months ago
I think it's B) Gauges, right?
ER
Ernest 6 months ago
Definitely A) Counters!
LE
Leota 7 months ago
Histograms sound familiar, but I can't recall if they fit with the deriv() function. I should have reviewed that section more thoroughly.
PA
Patria 7 months ago
I feel like I might be mixing up counters and summaries here. I need to double-check which one is associated with deriv().
DA
Dahlia 7 months ago
I remember practicing with similar questions, and I think gauges might be the right answer since they measure values at a specific point in time.
ED
Edelmira 7 months ago
I think the deriv() function is related to metrics, but I'm not sure if it's more about counters or gauges.
0/2000 characters

Save Cancel