PCA (Prometheus Certified Associate) sample exam question with answer 40

Question:
Which of the following queries contains a temporal aggregation?

  1. rate(up[5m])
  2. avg by (instance) (up)
  3. timestamp(up)
  4. 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