Prometheus and Metrics Questions
Practice questions for Prometheus and Metrics topic in Kubernetes and Cloud Native Associate. 16 questions covering this domain.
A team needs a component in the Prometheus ecosystem to handle alerts after rules fire. Which component should they use?
How does Prometheus primarily collect metrics from targets?
A team configures a Prometheus rule that triggers an alert when the error rate of an API exceeds 5% for five minutes. After the alert fires, it is rec...
What data format does Prometheus use to expose metrics from applications and services for scraping?
A finance team wants to use Prometheus as the sole source of truth for exact customer billing. What is the main concern?
A batch job finishes in seconds, usually before Prometheus can scrape it. How should the team expose its metrics most appropriately?
During a planned maintenance window, on-call engineers want alerts suppressed temporarily without deleting the underlying alert rules. Which Alertmana...
A team wants one latency metric to be sliced by service, region, and status code. In Prometheus, what enables that dimensional breakdown?
A Prometheus Pushgateway is deployed to accept metrics from batch jobs that do not run a metrics endpoint. However, metrics from completed jobs remain...
Prometheus uses a pull-based model for metrics collection. An application Pod has a /metrics endpoint but the kubelet's liveness probe also queries th...
A Prometheus alert rule uses the query: `rate(http_requests_total[5m]) > 100`. The metric `http_requests_total` is a counter. An instance has not rece...
A Prometheus scrape_configs entry is configured to scrape every 30 seconds. A metric change happens between scrapes. What is visible in the Prometheus...
Why is Prometheus often considered useful during outages in a microservices environment?
A nightly batch job runs for 20 seconds and cannot be scraped reliably while it is alive. In the Prometheus model, what component is commonly used to ...
Why can Prometheus remain useful during an outage even when other infrastructure components are failing?
A team wants one request metric to answer questions by service, region, and status code without creating separate metric names for each combination. W...
Sign in to see all 16 questions
Create a free account to browse the questions included with the free plan.