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

Question:
True or False: The histogram_quantile function in PromQL calculates the quantile value of a histogram metric

  1. TRUE
  2. FALSE
Answer:
A - correct answer. The histogram_quantile function in PromQL is used to calculate the quantile value of a histogram metric. This function takes two arguments: the desired quantile value (e.g. 0.95 for the 95th percentile) and the histogram metric name