---
title: "Prometheus & Grafana: Monitoring & Observability Fundamentals"
description: "Test your monitoring and observability skills with this quiz on Prometheus metrics, PromQL, Grafana dashboards, and alerting logic."
author: "Mohammad Abu Mattar"
canonical: https://mkabumattar.com/quizzes/post/prometheus-grafana-monitoring-quiz
---

# Prometheus & Grafana: Monitoring & Observability Fundamentals

Welcome to the Prometheus & Grafana Basics Quiz! Monitoring and Observability are the heart of a stable production environment. This quiz will test your knowledge on how metrics are collected, how to query them using PromQL, and how to build meaningful visualizations in Grafana. Let's see how much you know about keeping your systems visible!

## Questions

### 1. What is the primary data model used by Prometheus?

- Relational tables using structured schemas
- Time-series data identified by metric names
- Unstructured logs stored in a distributed file system
- Document-oriented JSON blobs with nested objects

**Hint:** Think about data over time.

### 2. What does it mean that Prometheus is a "Pull-based" system?

- Targets must broadcast UDP packets to the server
- Prometheus initiates HTTP requests to scrape metrics
- Agents must upload periodic batches via an API
- The kernel pushes telemetry directly to the disk

**Hint:** How does it get the data?

### 3. What is a Prometheus "Exporter"?

- A backup tool for migrating data to S3 buckets
- A proxy that translates service metrics into Prometheus format
- A visualization plugin used for exporting Grafana PDFs
- A load balancer that distributes scrapers across nodes

**Hint:** A translator for metrics.

### 4. Which metric type is used for a value that only goes up (like a request counter)?

- Gauge
- Counter
- Histogram
- Summary

**Hint:** Think of a car odometer.

### 5. What is "PromQL"?

- A configuration syntax for setting up alert routes
- The functional query language used to process metrics
- A protocol for streaming metrics over gRPC channels
- A specialized markup language for designing dashboards

**Hint:** The language of Prometheus.

### 6. What is the "Node Exporter" used for?

- Monitoring Node.js runtime and heap performance
- Collecting hardware-level metrics from the host OS
- Deploying Kubernetes nodes via infrastructure scripts
- Verifying network connectivity between cluster nodes

**Hint:** Standard hardware metrics.

### 7. What is a "Gauge" metric used for?

- Tracking the cumulative sum of successful operations
- Measuring a value that can increase or decrease over time
- Calculating the distribution of latency across requests
- Storing static metadata such as software version numbers

**Hint:** Values that fluctuate.

### 8. In Grafana, what is a "Data Source"?

- The underlying database that stores the observability data
- The CSS file that defines the dashboard visual theme
- The raw CSV file uploaded manually by the developer
- The internet gateway used to fetch external API metrics

**Hint:** Where the graphs come from.

### 9. What is the purpose of the "Alertmanager"?

- Generating the initial alert signals based on thresholds
- Routing, grouping, and deduplicating alert notifications
- Storing a historical record of all past alert failures
- Automatically restarting services that trigger critical alerts

**Hint:** Handling notifications.

### 10. What does the PromQL query "rate(http_requests_total[5m])" calculate?

- The absolute increase in requests over the last 5 minutes
- The average per-second growth rate over a 5-minute window
- The percentage of requests that returned a 200 OK status
- The maximum latency observed for a request in that period

**Hint:** Per-second increase.

### 11. In Grafana, what is a "Variable" (Dashboard Variable)?

- A hardcoded constant used in individual panel titles
- A dynamic placeholder used to filter data across panels
- A temporary storage buffer for large query results
- The mathematical coefficient used for unit conversion

**Hint:** Dropdown filters.

### 12. What is "Cardinality" in Prometheus?

- The number of scrape targets configured in the YAML file
- The total number of unique time-series in the system
- The frequency at which the TSDB flushes data to the disk
- The latency involved in executing complex PromQL queries

**Hint:** Unique label combinations.

### 13. What does the "Job" label usually represent in Prometheus?

- A specific Kubernetes pod identifier within a namespace
- A group of targets serving the same technical purpose
- A background process that cleans up the Prometheus database
- The individual developer responsible for the application code

**Hint:** Group of targets.

### 14. What is the "Scrape Interval"?

- The time allowed for a single target to return its metrics
- The frequency at which Prometheus collects data from targets
- The amount of time metrics are kept before being deleted
- The delay between an alert firing and the notification sent

**Hint:** Frequency of collection.

### 15. What is the purpose of "Labels" in Prometheus?

- To provide a unique name for the entire Prometheus cluster
- To enable multi-dimensional filtering and data aggregation
- To encrypt sensitive metric data before it is stored on disk
- To automatically generate CSS classes for Grafana dashboards

**Hint:** Dimensional data.

### 16. What is "Prometheus Federation"?

- A method for scaling by having one server scrape another
- A protocol for balancing traffic between multiple Grafana UI nodes
- The process of merging multiple metric names into a single series
- A security standard for authenticating across different cloud providers

**Hint:** Prometheus pulling from Prometheus.

### 17. What is a "Histogram" in Prometheus?

- A visual timeline of all dashboard configuration changes
- A metric that tracks the distribution of values across buckets
- A specialized chart that shows data from previous years only
- A tool for measuring the physical temperature of server CPUs

**Hint:** Buckets of data.

### 18. In Grafana, what does a "Panel" represent?

- A logical group of dashboards within a specific folder
- A single visualization block (graph, gauge, or table)
- The side navigation menu used to switch between data sources
- A collaborative chat room for discussing observability alerts

**Hint:** A single visualization.

### 19. What is the "Pushgateway" used for?

- Speeding up the scraping process for high-latency networks
- Allowing short-lived batch jobs to expose metrics to Prometheus
- Serving as a firewall between the internet and the cluster
- Providing a UI for manually entering metric values

**Hint:** Short-lived jobs.

### 20. What is "Alert Grouping" in Alertmanager?

- Assigning multiple developers to investigate a single failure
- Consolidating multiple related alerts into a single notification
- Sorting alerts by their timestamp in the Grafana alert view
- Restricting alert visibility to specific user roles only

**Hint:** Reducing noise.

### 21. What is "Silence" in Alertmanager?

- A feature to stop Prometheus from scraping a specific target
- A mechanism to mute notifications for a defined period of time
- A global setting that disables all alerting across the cluster
- An error state where Prometheus fails to reach the Alertmanager

**Hint:** Muting specific alerts.

### 22. What is a "Service Discovery" in Prometheus?

- A lookup tool for finding the documentation of a specific metric
- The automated identification of new scrape targets via APIs
- A protocol for advertising Prometheus dashboards to the internet
- A way to identify which developer last modified a dashboard

**Hint:** Automatically finding targets.

### 23. What does the "sum" operator do in PromQL?

- Calculates the average value over a specified duration
- Aggregates multiple time-series into a single total value
- Finds the maximum value across all existing dimensions
- Counts the number of unique labels present in the results

**Hint:** Aggregation.

### 24. What is "Retention Time" in Prometheus?

- The time required for a query to return a result from the disk
- The duration for which Prometheus stores metrics before deletion
- The delay between a data point being scraped and appearing in UI
- The period an alert must stay active before it is considered resolved

**Hint:** Data storage limit.

### 25. What is "Grafana Loki"?

- A dedicated database for storing distributed trace spans
- A log aggregation system that uses Prometheus-style labels
- A high-availability plugin for mirroring Grafana dashboards
- A security tool for scanning metrics for malicious patterns

**Hint:** Like Prometheus, but for logs.

### 26. What is "Prometheus Recording Rules"?

- A way to capture screen recordings of dashboard performance
- A method to pre-calculate and save complex queries as metrics
- A set of rules that define how data is encrypted on the disk
- A mandatory policy for how developers must name their labels

**Hint:** Pre-calculating expensive queries.

### 27. In Grafana, what is "Provisioning"?

- Allocating CPU and RAM resources for the Grafana pod
- Using configuration files to define dashboards and sources
- The process of purchasing a commercial license for Grafana Enterprise
- Setting up the SMTP server for sending alert emails

**Hint:** Dashboard as Code.

### 28. What is "Blackbox Exporter"?

- An agent that collects internal system logs and kernel metrics
- A probe that monitors endpoints via HTTP, DNS, or ICMP
- A hardware device used to store encrypted Prometheus backups
- A security tool that hides metric names from external scrapers

**Hint:** Probing from the outside.

### 29. What is "Inhibitions" in Alertmanager?

- A way to limit the CPU usage of the Alertmanager process
- Muting specific alerts if a related parent alert is already active
- Preventing certain users from accessing the Alertmanager UI
- A timeout that stops an alert from firing if it lasts too long

**Hint:** Suppressing alerts based on other alerts.

### 30. What is "Reporting" in Grafana?

- A tool for filing bugs directly to the Grafana GitHub repo
- A feature that generates and emails PDF snapshots of dashboards
- An audit log that shows which users viewed which dashboard
- A way to calculate the cost of cloud infrastructure in real-time

**Hint:** Exporting panels as images/PDFs.
