Exam Practice Questions And Correct
Answers (Verified Answers) Plus
Rationales 2026 Q&A | Instant
Download Pdf
1. What is the primary role of the Prometheus Operator?
A. To replace Kubernetes
B. To automate Prometheus deployment and configuration
C. To store metrics permanently
D. To visualize dashboards
Correct Answer: B
Rationale: The Prometheus Operator simplifies and automates the
deployment, configuration, and management of Prometheus
instances in Kubernetes.
2. Which Custom Resource defines a Prometheus instance?
A. ServiceMonitor
B. Alertmanager
, C. Prometheus
D. PodMonitor
Correct Answer: C
Rationale: The Prometheus CRD defines the configuration and
behavior of a Prometheus server instance.
3. What does ServiceMonitor do?
A. Monitors nodes only
B. Defines scraping of Kubernetes Services
C. Stores alerts
D. Configures storage
Correct Answer: B
Rationale: ServiceMonitor specifies how Prometheus should discover
and scrape Kubernetes Services.
4. PodMonitor is used to:
A. Monitor pods directly
B. Monitor nodes
C. Store metrics
D. Configure alerts
Correct Answer: A
Rationale: PodMonitor allows Prometheus to scrape metrics directly
from pods instead of services.
5. Which component evaluates alert rules?
A. Grafana
, B. Alertmanager
C. Prometheus server
D. Kubelet
Correct Answer: C
Rationale: Prometheus evaluates alerting rules and sends alerts to
Alertmanager.
6. Alertmanager is responsible for:
A. Scraping metrics
B. Storing logs
C. Handling alerts (deduplication, routing, silencing)
D. Creating dashboards
Correct Answer: C
Rationale: Alertmanager manages alert notifications and routing
logic.
7. What is required for Prometheus to scrape a ServiceMonitor?
A. NodeSelector
B. Matching labels
C. PVC
D. Ingress
Correct Answer: B
Rationale: Prometheus uses label selectors to match
ServiceMonitors.
, 8. Which field defines scrape interval in Prometheus CR?
A. intervalSeconds
B. scrapeInterval
C. scrape_interval
D. timeInterval
Correct Answer: C
Rationale: scrape_interval configures how often metrics are
collected.
9. What does relabeling do in Prometheus?
A. Encrypts metrics
B. Renames Kubernetes nodes
C. Modifies target labels before scraping
D. Deletes metrics
Correct Answer: C
Rationale: Relabeling transforms labels on targets before scraping or
ingestion.
10. What is the purpose of retention in Prometheus?
A. To store alerts
B. To define how long metrics are kept
C. To define scrape targets
D. To compress logs
Correct Answer: B