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.

  1. sum_over_time
  2. avg_over_time
  3. max_over_time
  4. 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