Intermediate Monitoring & Alerting with Prometheus
Assess your understanding of monitoring and alerting using Prometheus in DevOps environments.
Questions in this quiz
12 questions on Intermediate Monitoring & Alerting with Prometheus. Work through them here, then start the quiz to answer them and see your score.
1.What is the primary data model used by Prometheus for storing metrics?
- ATime-series
- BDocument
- CGraph
- DRelational
2.Which component of Prometheus is responsible for collecting metrics from configured targets?
- APrometheus Server
- BPromQL
- CNode Exporter
- DAlertmanager
3.In Prometheus, what is the purpose of the 'Alertmanager' component?
- ATo export metrics
- BTo query metrics
- CTo store metrics
- DTo manage alerts
4.Which of the following is a valid PromQL query to calculate the average CPU usage over the last 5 minutes?
- Aavg(cpu_usage)
- Bsum(cpu_usage) / 5
- Crate(cpu_usage[5m])
- Davg_over_time(cpu_usage[5m])
5.How does Prometheus handle service discovery for dynamic environments like Kubernetes?
- ADNS lookups
- BManual input
- CStatic configuration
- DService discovery integrations
6.What is the default data retention period for Prometheus metrics?
- A15 days
- B60 days
- C30 days
- D7 days
7.Which of the following is NOT a type of metric supported by Prometheus?
- AGauge
- BCounter
- CHistogram
- DVector
8.What is the function of 'Node Exporter' in a Prometheus setup?
- ATo manage alerts
- BTo store metrics
- CTo export hardware and OS metrics
- DTo query metrics
9.Which Prometheus feature allows you to visualize data and create dashboards?
- APromQL
- BGrafana
- CNode Exporter
- DAlertmanager
10.In Prometheus, what is the purpose of using labels with metrics?
- ATo alert on metrics
- BTo store metrics
- CTo filter and aggregate metrics
- DTo export metrics
11.What is a 'scrape interval' in Prometheus?
- AThe time taken to store metrics
- BThe time between metric collections
- CThe frequency of querying metrics
- DThe duration of alert notifications
12.Which of the following is a best practice for writing PromQL queries?
- AUse as many labels as possible
- BAvoid using functions
- CUse aggregation functions
- DQuery all metrics at once