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

Question:
Which of the following is NOT a recommended way of reducing the number of samples in a metric?

  1. Increasing the scrape interval
  2. Applying a delta function to the metric
  3. Using bucketing to group similar values
  4. Aggregating metrics across time
Answer:
A - correct answer. Increasing the scrape interval would reduce the frequency at which Prometheus collects samples for a given metric, but it would not reduce the number of samples
B, C, D - these are recommended ways of reducing the number of samples in a metric