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

Question:
Which PromQL function can be used to query histograms?

  1. histogram
  2. rate
  3. sum
  4. count
Answer:
A - Histograms are a type of metric in Prometheus that store observations of a variable in configurable buckets. The histogram function in PromQL can be used to query these histograms and return information about the observations and their distribution