PCA (Prometheus Certified Associate) sample exam question with answer 187
Question:
Which PromQL function is used to calculate the standard deviation of a metric over a specific time range?
- stddev()
- count_over_time()
- max_over_time()
- quantile()
Answer:
A - The stddev() function calculates the standard deviation of a metric over a specific time range. It is commonly used to detect anomalies in metric values that deviate significantly from the expected average