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

Question:
Which of the following is an example of an aggregation over dimensions in PromQL?

  1. rate(metric)
  2. sum(metric) by (instance)
  3. delta(metric)
  4. absent(metric)
Answer:
B - correct answer