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

Question:
Which attribute of a Prometheus alerting rule defines the alerting condition?

  1. query
  2. alert
  3. expr
  4. cond
Answer:
C - expr, defining alerting rules
A, D - there is no such alerting rule attribute
B - the alert attribute provides the alert name