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

Question:
Which of the following PromQL functions is used to calculate the absolute difference between the values of a gauge over a given range?

  1. rate()
  2. delta()
  3. increase()
  4. absent()
Answer:
B - is the correct answer. The delta() function is used to calculate the absolute difference between the values of a gauge over a given range