Courseiva
PCA
Alerting And DashboardingeasyMultiple ChoiceObjective-mapped

PCA Alerting And Dashboarding Practice Question

Where do you define the threshold for a Prometheus 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

In the 'expr' field

The threshold is part of the PromQL query expression within the 'expr' field of the alerting rule.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • In the 'labels' field

    Why it's wrong here

    Labels are for metadata.

  • In the Alertmanager config

    Why it's wrong here

    Alertmanager handles alerts after they are generated.

  • In the 'expr' field

    Why this is correct

    The query expression contains the threshold logic.

  • In the Grafana panel

    Why it's wrong here

    Grafana thresholds are for visualization, not rule generation.

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 →

How Courseiva writes practice questions · Editorial policy

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.