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

Question:
Which of the following is NOT a valid parameter for the 'for' clause in Prometheus alerting rules?

  1. s
  2. m
  3. h
  4. d
Answer:
D - The 'for' clause in Prometheus alerting rules specifies the duration for which an alert condition must persist before an alert is fired.
The 'for' clause can accept various duration suffixes like 's' for seconds, 'm' for minutes, 'h' for hours.
However, 'd' is not a valid suffix for 'for' clause in Prometheus alerting rules