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

Question:
What do Alertmanager notification templates allow you to do?

  1. Notification templates allow you to create arbitrary consoles using the Go templating language
  2. Notification templates allow you to customize the notifications sent to Alertmanager receivers using the Go templating language
  3. Notification templates allow you to template in alert rule labels or annotations
  4. Notification templates allow you to dynamically determine the notification receiver by matching against alert labels
Answer:
B - is correct answer. More at notifications
A - is incorrect. While this type of templating is a feature of Prometheus, this is known as templating of console pages, not notification templating
C - is incorrect. While this type of templating is a feature of Prometheus, notification templating is a specific type of templating in Alertmanager that allows customizing the notifications sent to receivers
D - is incorrect as this is the Alertmanager process known as routing