PCA (Prometheus Certified Associate) sample exam question with answer 59
Question:
Which of the following functions can be used to aggregate over time in PromQL? Select all that apply.
- sum_over_time
- avg_over_time
- max_over_time
- count_over_time
Answer:
A, B, C, D - Aggregation over time in PromQL can be achieved using several functions, including sum_over_time, avg_over_time, max_over_time, and count_over_time.
These functions help to summarize the metric data over a specific time range