Skip to content
PCA
PromQL
easy
Question 11 of 56

A user writes the matcher env=~'prod|stage'. How does Prometheus treat that regular expression?

AAs a substring match anywhere in the label value
BAs a fully anchored regular expression match
CAs a glob pattern
DAs a case-insensitive contains check

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