PCA (Prometheus Certified Associate) sample exam question with answer 150
Question:
Which PromQL function can be used to query histograms?
- histogram
- rate
- sum
- 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