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

Question:
Which of the following operators can be used to aggregate over multiple dimensions in PromQL?

  1. +
  2. -
  3. *
  4. by
Answer:
D - The by operator in PromQL is used for aggregating over dimensions