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?
- Increasing the scrape interval
- Applying a delta function to the metric
- Using bucketing to group similar values
- 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