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

Question:
Which of the following PromQL functions is used to calculate the per-second rate of change of a counter?

  1. rate()
  2. sum()
  3. increase()
  4. absent()
Answer:
A - is the correct answer. The rate() function is used to calculate the per-second rate of change of a counter