Skip to content
PCA
PromQL
medium
Question 5 of 56

Why is the selector {job=~'.*'} illegal in PromQL?

ARegex matchers are not supported in selectors
BA selector must specify a metric name or at least one label matcher that does not match the empty string
CCurly-brace selectors require at least two matchers
DOnly exact-match operators can be used without a metric name

Educational Content — CertQnA practice questions are written against official exam objectives, covering the same domains tested on the real exam. All content is original and independent — not actual exam questions, not affiliated with any certification vendor. Learn more about our content policy

Discussion

Be the first to share your understanding of this concept

⚠️ Discussion is for concept clarification only. Do not share or request actual exam questions or answers.

Sign in to join the discussion