What is the behavior of the 'absent()' function?
absent() checks for the existence of time series.
Why this answer
absent() returns a vector with a single element if the provided expression has no results.
304 questions total · 5pages · All types, answers revealed
Page 5 of 5
What is the behavior of the 'absent()' function?
absent() checks for the existence of time series.
Why this answer
absent() returns a vector with a single element if the provided expression has no results.
Which THREE are true regarding the Prometheus TSDB?
Crucial for label filtering.
Why this answer
It uses blocks, WAL, and index files, and it is optimized for time-series data.
Which TWO of the following are valid ways to run Prometheus?
Common deployment pattern.
Why this answer
Prometheus can run as a standalone binary or inside a container.
What is the primary operational difference between the 'rate()' and 'irate()' functions in PromQL?
irate() uses only the last two points, making it sensitive to short-term spikes, while rate() averages across the full window.
Why this answer
rate() calculates the average per-second rate over the whole range vector, smoothing spikes, whereas irate() calculates the instantaneous rate using only the last two points.
Page 5 of 5
Practice PCA by domain
Target a specific domain to shore up weak areas.