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

Question:
True or False: The sum_over_time function in PromQL calculates the sum of a metric over a given time range.

  1. TRUE
  2. FALSE
Answer:
A - correct. The sum_over_time function in PromQL calculates the sum of a metric over a given time range. It is commonly used to calculate the total amount of a resource used (such as CPU or memory) over a period of time