Grafana Certified Practitioner Exam-style mock test
Grafana Certified Practitioner Practice Exams|Practice test
Full explanations
Exam format
Pass line 70%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Grafana Fundamentals & Data Sources
A B2B SaaS company already stores all application performance metrics as time series in a Prometheus server. The observability lead wants to visualize these metrics in Grafana with native support for the query language the team already writes. Which data source should be configured to meet this requirement most directly?
✓Add a Prometheus data source so the team can query the existing metrics using PromQL natively within Grafana panels
Correct. Prometheus is the matching data source type and lets the team query the existing stored series with PromQL without re-engineering anything.
・Add a Loki data source and build dashboards from the log lines that the metrics were derived from originally
Incorrect. Loki is a log aggregation data source, not a metrics store, so it cannot query the Prometheus time series the team already maintains.
・Add an InfluxDB data source and configure Flux queries to replicate the existing metric collection pipeline
Incorrect. InfluxDB is a separate time-series database; pointing Grafana at it would not read the metrics already held in Prometheus.
・Add a Graphite data source and point it at the Prometheus endpoint to translate the stored series
Incorrect. Graphite uses its own protocol and cannot natively read a Prometheus endpoint, so the stored series would not be queryable.
Explanation
Choosing a data source means matching Grafana's connector to the actual backend. Since the metrics live in Prometheus and the team writes PromQL, the Prometheus data source is the correct and most direct choice.
Example2 · Dashboards & Panels
A B2B SaaS platform team wants a dashboard panel that shows the current number of active tenant sessions as a single large number with a colored background that turns red past a threshold. Which panel visualization best fits this requirement?
・A Time series panel configured with a single reduced value and background color thresholds applied to the whole plotted area
Incorrect. A Time series panel plots values over time and is not designed to render one prominent number with a full-panel colored background.
・A Table panel with one row, conditional cell coloring, and the value column pinned so the latest reading is always visible
Incorrect. A Table panel can color cells but presents data in a grid rather than one large emphasized number suited to a KPI tile.
✓A Stat panel using a calculated last value with color mode set to background and threshold steps defined
Correct. The Stat panel is purpose-built to show a single reduced value with background color mode driven by thresholds, matching the KPI tile requirement.
・A Gauge panel with a radial arc, min and max bounds, and threshold markers drawn along the gauge sweep
Incorrect. A Gauge panel emphasizes position along a range rather than a bold single number with a full background color change.
Explanation
The Stat panel renders a single reduced value and supports a background color mode tied to thresholds, exactly matching a red-at-threshold KPI tile.
Example3 · Querying & Transformations
An engineer at a B2B SaaS company is building a latency panel against a Prometheus data source and wants to type raw PromQL directly instead of clicking through label dropdowns and metric pickers. Which query editor mode should they switch to?
・Builder mode, which assembles the PromQL expression from the dropdown selectors and label filters you click
Incorrect. Builder mode constructs queries visually from selectors, which is exactly what the engineer wants to bypass.
✓Code mode, which gives a raw text field where you type the PromQL expression by hand with autocompletion
Correct. Code mode presents a raw PromQL text field with autocompletion so the expression can be typed directly.
・Explore mode, which opens an ad-hoc investigation view that is separate from the panel query editor entirely
Incorrect. Explore is a separate workflow for ad-hoc analysis, not a query editor mode toggle within a panel.
・Table mode, which forces every query result to be rendered as rows and columns for inspection
Incorrect. Table is a visualization/display choice, not a PromQL editor input mode.
Explanation
The Prometheus query editor offers Builder (visual) and Code (raw text) modes; Code mode is the one for typing PromQL by hand.
Example4 · Alerting & Notifications
A healthcare services firm monitors an appointment-booking API whose p95 latency panel queries a Prometheus data source. The on-call engineer must trigger a Grafana-managed alert when the rolling p95 stays above 800ms. Which rule configuration achieves this most directly?
・Set a classic condition referencing the latency query with a WHEN last() OF A IS ABOVE 800 expression threshold
Incorrect. Classic conditions are the legacy single-condition style and WHEN last() can miss the rolling p95 intent better served by reduce plus threshold expressions.
・Add a math expression that subtracts the latency query from the target and alerts whenever the computed difference falls below the configured zero baseline value
Incorrect. A math difference against a baseline inverts the comparison and alerts below zero, which does not express the above-800ms requirement cleanly.
✓Define a reduce expression producing a single p95 value, then add a threshold expression firing when that reduced value is above 800
Correct. Reducing the query to one p95 value and attaching a threshold expression above 800 is the standard Grafana-managed multi-expression pattern.
・Create a recording rule in Prometheus that precomputes the p95 and import the resulting series into Grafana
Incorrect. A Prometheus recording rule precomputes series but still needs a Grafana rule to evaluate and fire the alert condition.
Explanation
Grafana-managed alerts commonly chain a reduce expression to collapse a time series into one value, then a threshold expression that fires above the limit.
Example5 · Administration, Users & Provisioning
A healthcare analytics platform wants ward nurses to view clinical dashboards but never edit them, while charge nurses may build and save their own panels. Which pair of organization roles correctly assigns these two groups of staff?
✓Assign ward nurses the Viewer role and charge nurses the Editor role within the organization
Correct. The Viewer role allows read-only access to dashboards, while the Editor role grants dashboard create and edit rights without organization administration.
・Assign ward nurses the Editor role and charge nurses the Admin role within the organization
Incorrect. Editor would let ward nurses modify dashboards, and Admin gives charge nurses excessive organization-wide management power they do not need.
・Assign ward nurses the Viewer role and charge nurses the Admin role within the organization
Incorrect. Viewer is right for ward nurses, but Admin grants charge nurses full organization control rather than the dashboard-editing scope required.
・Assign both ward nurses and charge nurses the Editor role and rely on dashboard permissions
Incorrect. Giving both groups Editor fails to keep ward nurses read-only, and per-dashboard permissions add complexity the role model already solves.
Explanation
Grafana organization roles map cleanly: Viewer is read-only, Editor can create and edit dashboards, and Admin manages the whole organization. Ward nurses need Viewer and charge nurses need Editor.
Example6 · Grafana Fundamentals & Data Sources
A healthcare services firm stores patient-flow metrics such as ER wait times and bed occupancy as time-stamped numeric samples scraped from exporters every 15 seconds. The analytics team wants to query these in Grafana using PromQL and build rate-based panels. Which Grafana data source should the team configure for this backend?
✓The Prometheus data source, which queries the firm's scraped time-series samples using PromQL expressions
Correct. Prometheus stores scraped numeric time-series samples and is queried with PromQL, exactly matching the 15-second metric scrape and rate-based panel requirement.
・The Loki data source, which indexes and queries the firm's structured and unstructured log lines by label
Incorrect. Loki is a log aggregation store queried with LogQL by label, not a numeric time-series engine for PromQL rate panels.
・The PostgreSQL data source, which runs relational SQL queries against the firm's normalized patient tables
Incorrect. PostgreSQL is a relational SQL source suited to tabular records, not PromQL rate queries over scraped exporter samples.
・The Tempo data source, which retrieves distributed request traces across the firm's backend microservices
Incorrect. Tempo stores distributed traces for request flows, not the periodic numeric samples the team needs to query with PromQL.
Explanation
PromQL and scraped numeric samples are the defining signature of the Prometheus data source.
Example7 · Grafana Fundamentals & Data Sources
The retail brand UrbanThread stores all of its web-server request-rate and latency metrics in a time-series database that was scraped by Prometheus. A dashboard engineer needs to visualize these metrics in Grafana. Which built-in data source should the engineer configure to query these metrics?
・Configure the Loki data source, which is purpose-built for aggregating and querying structured application log streams over time
Incorrect. Loki is designed for log aggregation, not for querying numeric time-series metrics that live in Prometheus.
✓Configure the Prometheus data source, which natively queries the scraped time-series metrics using PromQL
Correct. Metrics scraped into Prometheus are queried through the Prometheus data source using PromQL, which is the native match for this backend.
・Configure the Tempo data source, which correlates distributed request traces across the brand's many microservices
Incorrect. Tempo is a distributed tracing backend and does not store the scraped request-rate or latency metrics.
・Configure the PostgreSQL data source and write SQL to read the request-rate metrics from relational tables
Incorrect. The metrics reside in Prometheus, not in a relational database, so a PostgreSQL data source cannot reach them.
Explanation
Grafana maps each backend to a dedicated data source; Prometheus-scraped time-series metrics are queried with the Prometheus data source and PromQL.
Example8 · Grafana Fundamentals & Data Sources
UrbanThread has three data sources configured, and one of them is marked as the default. A new panel is created on a fresh dashboard without the engineer explicitly choosing a data source. What behavior results from the default-data-source setting in this situation?
✓The new panel automatically pre-selects the data source that has been flagged as the default for queries
Correct. A data source flagged as default is pre-selected for new panels and queries, saving engineers from choosing it each time.
・The new panel blocks all query editing until the engineer manually assigns one of the three data sources
Incorrect. Grafana does not block editing; with a default set, a source is already assigned to the new panel.
・The new panel is pre-populated with the most recently created of the three configured data sources
Incorrect. Pre-selection follows the default flag, not the creation order of the configured data sources.
・The new panel randomly rotates across all three configured data sources each time the panel is opened
Incorrect. Grafana never rotates data sources randomly; the default provides deterministic pre-selection.
Explanation
The default data source is automatically pre-selected for new panels and queries, which is its primary purpose.
Example9 · Grafana Fundamentals & Data Sources
A new analyst on the UrbanThread observability team is learning Grafana terminology. They ask what a 'panel' represents within a dashboard. Which description most accurately defines a panel in Grafana?
・A reusable connection definition that stores credentials and the base URL for an external metrics backend
Incorrect. That describes a data source, which stores connection details, not a panel.
✓A single visualization unit that runs one or more queries and renders their results on the dashboard
Correct. A panel is the basic visualization block that executes queries and displays their results within a dashboard.
・A top-level container that organizes and arranges many related visualizations into a single view
Incorrect. The top-level container that arranges many visualizations is the dashboard itself, not a single panel.
・A saved snapshot of dashboard state that is shared externally with viewers through a public link
Incorrect. That describes a dashboard snapshot, a shareable point-in-time capture, not a panel.
Explanation
A panel is the fundamental building block of a Grafana dashboard: it runs queries and renders a single visualization.
Example10 · Grafana Fundamentals & Data Sources
A financial services firm stores transaction-rate and latency metrics in a Prometheus server scraped from its payments microservices. A platform engineer needs to build Grafana dashboards that query these time series directly. Which data source should the engineer configure to connect Grafana to this backend?
・Configure a Loki data source, which is purpose-built to index and query the metric samples that Prometheus collects from exporters
Incorrect. Loki is a log aggregation system queried with LogQL; it does not read Prometheus metric samples and is not used for time-series metrics.
✓Configure a Prometheus data source pointed at the server's HTTP query endpoint
Correct. The Prometheus data source speaks PromQL to the Prometheus HTTP API, which is exactly how Grafana queries metrics stored in Prometheus.
・Configure an InfluxDB data source and let it transparently proxy all incoming PromQL requests to Prometheus
Incorrect. InfluxDB is a separate time-series database with its own query languages and does not proxy PromQL to a Prometheus server.
・Configure a TestData DB data source to simulate the production payment latency series on the dashboards
Incorrect. TestData DB generates synthetic random series for demos and testing; it cannot read real production metrics from Prometheus.
Explanation
Grafana connects to each backend through a matching data source plugin. Prometheus metrics are queried through the Prometheus data source via its HTTP query API.
Example11 · Grafana Fundamentals & Data Sources
At a bank, data sources are defined through YAML files loaded by Grafana at startup so every environment stays identical. An operator opens the Grafana UI and finds the edit and delete controls on one of these data sources are disabled. What is the most likely reason the operator cannot change it from the UI?
・The operator's account was assigned the Viewer organization role, which blocks edits to any provisioned or UI-created data source alike
Incorrect. A Viewer role restricts dashboard editing, but the specific lock described here comes from file-based provisioning, not from the role assignment.
✓The data source was created by provisioning files on disk, so it is managed by configuration rather than through the UI
Correct. Data sources created via provisioning files are managed on disk, so Grafana disables UI edit/delete to keep the config as the single source of truth.
・The data source plugin is unsigned, and Grafana locks unsigned plugins to read-only mode to prevent runtime configuration drift entirely
Incorrect. Unsigned plugins trigger a signature warning and may be blocked from loading, but that is unrelated to locking a configured data source's edit controls.
・The Grafana instance is running in read-only dashboard mode and has globally disabled all data source modifications for the org
Incorrect. There is no global 'read-only dashboard mode' that disables data source edits org-wide; the lock is specific to provisioned items.
Explanation
When a data source is provisioned from YAML, Grafana treats the file as authoritative and disables UI editing to prevent drift between the UI state and the on-disk configuration.
Example12 · Grafana Fundamentals & Data Sources
A manufacturing distributor stores per-machine throughput metrics as a time series in Prometheus, and the SRE team wants to graph these counters over time in Grafana. Which data source should the engineer configure to query these throughput metrics directly?
・A Loki data source, which is purpose-built for ingesting and querying production-line application log streams
Incorrect. Loki stores and queries log streams with LogQL, not the numeric time series counters that Prometheus holds.
✓A Prometheus data source, which connects natively to the Prometheus server and queries its time series with PromQL
Correct. A Prometheus data source connects to the Prometheus server and queries its time series using PromQL, which matches the throughput counters described.
・A Tempo data source, which correlates distributed traces emitted across the warehouse microservice fleet
Incorrect. Tempo is a tracing backend for spans and traces, not a store for numeric throughput time series.
・A PostgreSQL data source, which runs SQL against the inventory relational tables in the ERP database
Incorrect. PostgreSQL serves relational tables via SQL, but the throughput metrics already live in Prometheus, not in the ERP database.
Explanation
Grafana queries each backend through a matching data source plugin; Prometheus time series are read with the Prometheus data source via PromQL.
Example13 · Grafana Fundamentals & Data Sources
The distributor's Grafana instance has several configured data sources, and one of them is marked as the default. When an engineer adds a new panel without explicitly selecting a data source, what behavior results from the default setting?
✓The new panel is pre-populated with the default data source, so its query targets that backend unless the engineer changes it
Correct. A data source flagged as default is automatically pre-selected for new panels, and the engineer can still override it per panel.
・The new panel is blocked from saving until the engineer manually assigns one of the non-default data sources to it
Incorrect. Panels are not blocked from saving; the default is applied so no manual assignment is forced.
・The new panel silently queries every configured data source at once and merges all returned results together
Incorrect. Grafana does not fan a panel query out across all data sources; each panel targets its selected source.
・The new panel inherits the data source used by the previously edited panel on that same dashboard
Incorrect. New panels use the default data source, not whichever source the last edited panel happened to use.
Explanation
Marking a data source as default makes it the pre-selected target for new panels while still allowing per-panel overrides.
Example14 · Grafana Fundamentals & Data Sources
A telecom operator's NOC team queries latency metrics stored in Prometheus through their Grafana instance. An engineer asks what a Grafana data source actually represents in this workflow. Which description best characterizes the role of a configured data source?
・A stored copy of query results that Grafana caches internally so that dashboards can be rendered without contacting the backend database again
Incorrect. Grafana does not persist query results as a permanent local copy of the backend; data is fetched live from the source when panels render.
✓A connection and query configuration that lets Grafana communicate with an external backend such as Prometheus to fetch data on demand
Correct. A data source is the configured connection and query settings Grafana uses to talk to an external backend like Prometheus and retrieve data at query time.
・A dashboard-level variable that filters panels by region without changing which backend system the underlying queries are sent to
Incorrect. A template variable filters or parameterizes queries, but it is not the mechanism that connects Grafana to a backend system.
・A background service that pushes telemetry from network devices into Grafana so metrics appear even if no external database exists
Incorrect. Grafana reads from external backends; it does not itself ingest or store device telemetry as a standalone collection service.
Explanation
A Grafana data source defines how Grafana connects to and queries an external backend, fetching data live rather than storing it.
Example15 · Grafana Fundamentals & Data Sources
A telecom operator stores per-second cell-tower throughput samples that must be graphed over time, and also keeps a relational table of subscriber account records for lookups. Which statement correctly contrasts how these two workloads map to Grafana data source types?
・Both the throughput samples and the subscriber records are best served by a time series database because Grafana requires every data source to expose a dedicated time column
Incorrect. Relational tables of account records do not need a dedicated time column, and Grafana supports non-time-series sources.
・The subscriber records suit a time series database while the throughput samples fit a relational SQL source, since numeric throughput values are categorical data
Incorrect. This reverses the correct mapping; time-ordered throughput belongs in a time series store, not account records.
✓The throughput samples suit a time series database like Prometheus, while the subscriber account records fit a relational SQL source queried through Grafana
Correct. Time-ordered throughput maps naturally to a time series database, while relational subscriber records fit a SQL data source that Grafana can query.
・Neither workload can be visualized in Grafana unless both datasets are first consolidated into a single Prometheus instance with matching label schemas
Incorrect. Grafana can visualize both relational and time series backends directly without forcing everything into one Prometheus instance.
Explanation
Time-ordered metrics belong in time series databases, while relational tabular data fits SQL sources; Grafana supports both natively.
▶ Try 10 free questions (graded)