PCA (Prometheus Certified Associate) sample exam question with answer 255
Question:
What is a Prometheus label?
- Tags that determine whether or not a metric should generate an alert
- The name given to Prometheus scrapes
- A key-value pair that enables Prometheus's dimensional data model
- Alert metadata that provides longer-form descriptive information
Answer:
C - correct answer
A - is incorrect as tag is not a term used in Prometheus
B - is incorrect as common scrape configuration is referred to as a Prometheus job
D - this is the definition of a Prometheus alert annotation