PCA (Prometheus Certified Associate) sample exam question with answer 40
Question:
Which of the following queries contains a temporal aggregation?
- rate(up[5m])
- avg by (instance) (up)
- timestamp(up)
- avg_over_time(up[5m])
Answer:
D -
Aggregation over time
B is incorrect as this query contains a dimensional aggregation (label-based).
A, C - is incorrect as this query does not contain any aggregations