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

Question:
In an alerting rule, which syntax can be used to specify the value of a label called node within a different alert label or annotation?

  1. {{ $labels.node }}
  2. $labels.node
  3. label_value("node")
  4. labels["node"]
Answer:
A - Simple alert field templates