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

Question:
Which of the following PromQL functions is used to group time series based on their label values?

  1. group()
  2. filter()
  3. match()
  4. absent()
Answer:
A - correct answer