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

Question:
Which of the following aggregation functions can be used with histograms? (Select all that apply)

  1. sum()
  2. avg()
  3. count()
  4. histogram_quantile()
Answer:
A, B, D - are correct answers. The sum() and avg() functions can be used to aggregate histogram data, and the histogram_quantile() function can be used to calculate quantiles from histogram data
C - is incorrect. The count() function, however, cannot be used with histograms, as it would only return the number of buckets, not the number of samples