PCA Alerting And Dashboarding Practice Question
What is the purpose of the 'labels' field in an alerting rule?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
To add metadata for routing and filtering
Labels allow you to attach metadata to the alert, which can then be used in Alertmanager for routing and grouping.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
To define the alert message body
Why it's wrong here
The message body is defined in 'annotations'.
- ✓
To add metadata for routing and filtering
Why this is correct
Labels are the primary mechanism for routing and grouping in Alertmanager.
- ✗
To select the target server
Why it's wrong here
Labels do not select target Prometheus servers.
- ✗
To set the alert severity level
Why it's wrong here
While severity is a label, the purpose of the field is general metadata, not just severity.
About these practice questions
One of 304 original PCA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official CNCF / Linux Foundation exam blueprint
This PCA practice question is part of Courseiva's free CNCF / Linux Foundation certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCA exam.