Interview questions › Observability
Observability interview questions & answers
100 Observability interview questions. Each links to a full answer page with a concise spoken answer, a technical explanation, and a hands-on example.
Tip: paste the job description + your resume into our free resume checker to see which of these skills the role actually requires.
All questions
- What is observability, and how is it different from traditional monitoring? [Basic]Observability is the ability to understand the internal state of a system from the signals it emits.
- What are the three pillars of observability (metrics, logs, traces)? [Basic]The three classic pillars are metrics, logs, and traces.
- What is the difference between monitoring and observability in practice? [Basic]In practice, monitoring answers known questions like 'is the service up?', while observability helps answer unknown questions like 'why is only one tenant seeing…
- What are the four golden signals of monitoring? [Basic]The four golden signals are latency, traffic, errors, and saturation.
- What is the difference between the USE method and the RED method? [Basic]The USE method focuses on resources: utilization, saturation, and errors.
- When would you use the USE method versus the RED method? [Basic]I use RED when I am monitoring a service or API from the user/request perspective, and USE when I am monitoring the health of an underlying resource.
- What is an SLI, an SLO, and an SLA, and how do they relate? [Basic]An SLI is the measurement, an SLO is the target, and an SLA is a contractual promise.
- How do you choose good SLIs for a service? [Basic]Good SLIs are user-centric, measurable, attributable, and hard to game.
- How do you set an SLO target, and why not just aim for 100%? [Basic]I set an SLO based on user expectations, business impact, dependency limits, historical performance, and the cost of reliability.
- What is an error budget, and how do you use it to balance reliability and velocity? [Basic]An error budget is the allowed amount of unreliability under an SLO.
- What happens operationally when an error budget is exhausted? [Basic]When an error budget is exhausted, the team should reduce change risk and focus on restoring reliability.
- What is a burn rate, and how do you alert on it? [Basic]Burn rate is how fast a service is consuming its error budget compared with the allowed rate.
- Why are multi-window, multi-burn-rate alerts better than a single threshold? [Basic]Multi-window, multi-burn-rate alerts are better because they catch fast, severe incidents quickly while avoiding noise from brief spikes.
- What is the difference between a symptom-based and a cause-based alert, and which is better? [Basic]A symptom-based alert fires on user-visible impact, such as high error rate or missed latency SLO.
- What makes a good alert, and how do you avoid alert fatigue? [Basic]A good alert is actionable, urgent, owned, accurate, and tied to user impact.
- What is Prometheus, and what is its data model? [Basic]Prometheus is an open-source monitoring and alerting system built around a time-series data model.
- What is a time series in Prometheus, and how is it identified (metric name plus labels)? [Basic]A Prometheus time series is a stream of timestamped samples uniquely identified by the metric name and the full label set.
- What are the Prometheus metric types (counter, gauge, histogram, summary)? [Basic]The main Prometheus metric types are counter, gauge, histogram, and summary.
- What is the difference between a counter and a gauge? [Basic]A counter represents a cumulative value that only increases except when the process restarts.
- What is the difference between a histogram and a summary, and the trade-offs? [Basic]Histograms bucket observations and allow server-side aggregation and percentile calculation with histogram_quantile.
- How does Prometheus collect metrics — what is the pull model and scraping? [Basic]Prometheus normally uses a pull model: it periodically scrapes HTTP endpoints exposed by targets.
- What is a scrape target, and how does service discovery find them? [Basic]A scrape target is an endpoint Prometheus will scrape for metrics, typically host:port plus a metrics path.
- What is an exporter, and name a few common ones (node_exporter, etc.)? [Basic]An exporter is a process that exposes metrics for software that does not natively expose Prometheus metrics.
- What is the difference between an exporter and instrumenting your app directly? [Basic]An exporter exposes metrics from an external system or runtime, while direct instrumentation adds metrics inside the application code.
- What is the Pushgateway, and why is it discouraged for most cases? [Basic]The Pushgateway lets short-lived jobs push metrics that Prometheus can later scrape.
- What is PromQL, and what is an instant vector versus a range vector? [Basic]PromQL is Prometheus's query language.
- How does the rate() function work, and why use it on counters? [Basic]rate() calculates the per-second average increase of a counter over a range window and accounts for counter resets.
- What is the difference between rate() and irate()? [Basic]rate() uses all samples in the range and gives a smoothed average rate.
- How do you compute a 95th percentile latency from a histogram in PromQL (histogram_quantile)? [Basic]To compute p95 latency from a Prometheus histogram, apply rate() to the _bucket series, aggregate by le and the dimensions you want, then pass that to…
- What is aggregation in PromQL (sum, avg, by, without)? [Basic]Aggregation in PromQL combines series using functions such as sum, avg, min, max, count, topk, and quantile.
- What is a recording rule, and when would you use one? [Basic]A recording rule precomputes and stores the result of a PromQL expression as a new time series.
- What is an alerting rule, and how does it differ from a recording rule? [Basic]An alerting rule evaluates a condition and creates an alert when the condition is true for the configured duration.
- What is Alertmanager, and what does it handle that Prometheus does not? [Basic]Alertmanager receives alerts from Prometheus and handles deduplication, grouping, routing, silencing, inhibition, and notification delivery.
- How does Alertmanager grouping, inhibition, and silencing work? [Intermediate]Grouping bundles related alerts into fewer notifications, inhibition suppresses alerts when another higher-level alert is firing, and silencing temporarily mutes…
- What is alert routing, and how do you send different alerts to different teams? [Intermediate]Alert routing maps alerts to receivers based on labels.
- How does Prometheus handle high cardinality, and why is it a problem? [Intermediate]Prometheus handles high cardinality poorly when too many unique label combinations create too many time series.
- What causes a cardinality explosion, and how do you prevent it? [Intermediate]A cardinality explosion happens when a metric label has many or unbounded values, or when multiple labels multiply together unexpectedly.
- How does Prometheus storage (TSDB) work, and what is the retention model? [Intermediate]Prometheus stores samples in its local time-series database, using in-memory head blocks for recent data and immutable blocks on disk for older data.
- How do you scale Prometheus for long-term storage and high availability (Thanos, Cortex, Mimir)? [Intermediate]To scale Prometheus for long-term storage and HA, I run at least two Prometheus replicas per shard, use remote write or sidecars, and query long-term data through…
- What is the difference between Thanos and Cortex/Mimir at a high level? [Intermediate]At a high level, Thanos extends existing Prometheus deployments with global query, object-store retention, and replica deduplication, while Cortex and Mimir are…
- How do you make Prometheus highly available? [Intermediate]I make Prometheus highly available by running two or more identical replicas scraping the same targets, giving each replica a unique external label, and deduplicating…
- How does Prometheus integrate with Kubernetes service discovery? [Intermediate]Prometheus integrates with Kubernetes service discovery by watching Kubernetes API resources and turning pods, services, endpoints, EndpointSlices, nodes, and…
- What is the Prometheus Operator, and what are ServiceMonitor and PodMonitor? [Intermediate]The Prometheus Operator manages Prometheus, Alertmanager, and related configuration as Kubernetes custom resources.
- How do you instrument an application with a Prometheus client library? [Intermediate]To instrument an application, I add a Prometheus client library, define a small set of well-named counters, gauges, and histograms, expose a /metrics endpoint, and…
- What labels should and should not be put on a metric? [Intermediate]Metric labels should describe stable, bounded dimensions that are useful for aggregation, such as service, route, method, status, environment, cluster, and dependency.
- How do you alert on something that should be happening but is not (absence of data)? [Intermediate]To alert on something that should be happening but is not, I use absence checks, stale timestamp gauges, or expected-rate checks.
- What is the difference between black-box and white-box monitoring? [Intermediate]Black-box monitoring tests behavior from the outside, like a user or dependency would see it.
- What is a synthetic / black-box check, and what would you monitor with one? [Intermediate]A synthetic or black-box check is an automated external probe that simulates a user or client action.
- How do you monitor a batch job or cron that runs infrequently? [Intermediate]For infrequent batch jobs or cron jobs, I monitor last success time, last completion status, runtime, records processed, and age of output data.
- What is Grafana, and how does it relate to Prometheus? [Intermediate]Grafana is a visualization and dashboarding platform.
- How do you design a useful dashboard, and what is the difference from an alert? [Intermediate]A useful dashboard is designed for a specific workflow: executive health, service operation, incident triage, or capacity planning.
- What is Splunk, and what is it primarily used for? [Intermediate]Splunk is a platform for ingesting, indexing, searching, analyzing, and alerting on machine data, especially logs and events.
- What is the Splunk data pipeline (input, parsing, indexing, search)? [Intermediate]The Splunk data pipeline moves data through input, parsing, indexing, and search.
- What is an index in Splunk, and how do you decide indexing strategy? [Intermediate]A Splunk index is a logical repository for events and their indexed data.
- What is the difference between a Splunk forwarder, indexer, and search head? [Intermediate]A Splunk forwarder collects and forwards data, an indexer receives and stores indexed events, and a search head provides the UI/API and coordinates searches across…
- What is the difference between a universal and a heavy forwarder? [Intermediate]A Universal Forwarder is lightweight and mainly forwards data with minimal parsing.
- What is SPL (Search Processing Language)? [Intermediate]SPL, or Search Processing Language, is Splunk's query language for searching, filtering, transforming, correlating, and visualizing events.
- What is the difference between search-time and index-time field extraction? [Intermediate]Search-time field extraction happens when a search runs; index-time extraction happens before or during indexing and stores fields in a way that can affect indexing…
- Why is index-time configuration expensive, and when do you use it? [Intermediate]Index-time configuration is expensive because it affects ingestion, storage, license usage, parsing queues, and sometimes requires reindexing to correct historical data.
- How do you write an efficient Splunk search, and why filter early? [Intermediate]An efficient Splunk search filters early with index, sourcetype, host, time range, and selective terms before applying expensive commands.
- What is the role of the stats, eval, and timechart commands in SPL? [Intermediate]In SPL, stats calculates aggregate summaries, eval creates or modifies fields using expressions, and timechart builds time-series aggregations for charts.
- What is the difference between stats and eventstats? [Intermediate]stats transforms events into aggregate results, while eventstats computes aggregates and adds them back to each original event.
- What is a Splunk source, sourcetype, and host? [Intermediate]In Splunk, source is where the data came from, sourcetype describes the data format, and host identifies the machine or logical source host.
- How do you control Splunk costs and license/ingest volume? [Intermediate]I control Splunk cost by managing ingest volume, retention, index strategy, data value, filtering, sampling, compression, and search efficiency.
- What is data sampling or filtering at ingest, and why does it matter for cost? [Intermediate]Ingest sampling or filtering reduces the amount of data sent to the backend by dropping, transforming, or sampling events before indexing.
- How do you reduce noisy or low-value log ingestion? [Intermediate]I reduce noisy log ingestion by fixing log levels at the source, removing duplicate logs, filtering known low-value patterns, using structured logs, and moving…
- What is a Splunk saved search and a scheduled alert? [Advanced]A Splunk saved search is a stored SPL query with permissions and optional schedule.
- How do you build a Splunk dashboard, and when is it better than Grafana? [Advanced]A Splunk dashboard is built from SPL searches, panels, inputs, tokens, and visualizations.
- What is data retention and a bucket lifecycle (hot, warm, cold, frozen) in Splunk? [Advanced]Splunk stores indexed data in buckets that move through lifecycle stages such as hot, warm, cold, and frozen.
- How do you correlate logs and metrics during an incident? [Advanced]During an incident, I correlate logs and metrics by aligning time range, service, environment, deployment version, trace_id, request ID, and user-impact dimensions.
- What is Wavefront (Tanzu Observability), and what is it used for? [Advanced]Wavefront, later known as Tanzu Observability by Wavefront and now reflected in Broadcom documentation as DX OpenExplore, is a high-scale streaming observability…
- What is the Wavefront data model and query language (WQL)? [Advanced]Wavefront's data model is dimensional time-series data with metric names, sources, and point tags.
- How does Wavefront ingest metrics (proxy, direct ingestion, collectors)? [Advanced]Wavefront/DX OpenExplore can ingest metrics through proxies, direct ingestion APIs, SDKs, agents, collectors, and integrations such as Telegraf, Kubernetes, cloud…
- What is the Wavefront proxy, and why use it? [Advanced]The Wavefront proxy is an ingestion gateway that receives metrics locally and forwards them to Wavefront/DX OpenExplore.
- How does Wavefront handle high-cardinality metrics compared to Prometheus? [Advanced]Wavefront-style platforms are designed for high-cardinality dimensional metrics at large ingest scale, while vanilla Prometheus is more sensitive to high series…
- How do you build alerts in Wavefront, and what is a smart alert? [Advanced]Wavefront alerts are built from queries and conditions evaluated over time.
- How do you do anomaly detection in Wavefront? [Advanced]Anomaly detection in Wavefront is done by comparing current metric behavior against historical or statistical baselines, then alerting when deviation is significant…
- How would you choose between Prometheus, Splunk, and Wavefront for a given signal? [Advanced]I choose Prometheus for Kubernetes-native metrics and SLO alerting, Splunk for log/event search and audit investigation, and Wavefront/DX OpenExplore for high-scale…
- What is the difference between metrics-based and log-based alerting, and the cost implications? [Advanced]Metrics-based alerting evaluates pre-aggregated numeric time series and is usually cheaper, faster, and more reliable for paging.
- What is a telemetry pipeline, and why might you put one in front of your backends? [Advanced]A telemetry pipeline receives, processes, filters, enriches, samples, routes, and exports observability data before it reaches backends.
- What is OpenTelemetry, and what problem does it solve? [Advanced]OpenTelemetry is a vendor-neutral observability framework for generating, collecting, processing, and exporting telemetry such as traces, metrics, and logs.
- What is the difference between the OpenTelemetry SDK and the Collector? [Advanced]The OpenTelemetry SDK runs in or beside the application to create telemetry, while the Collector is a separate service or agent that receives, processes, and exports…
- How would you design ingestion controls to manage observability cost at scale? [Advanced]I design ingestion controls with budgets, quotas, sampling, filtering, retention tiers, cardinality limits, and ownership tags.
- How do you decide sampling rates for traces? [Advanced]I choose trace sampling rates based on traffic volume, incident value, latency/error risk, compliance needs, and backend cost.
- What is head-based versus tail-based sampling for traces? [Advanced]Head-based sampling decides whether to keep a trace at the beginning of the request.
- What is distributed tracing, and what is a span and a trace? [Advanced]Distributed tracing follows a request across service boundaries.
- How does context propagation work across services in tracing? [Advanced]Context propagation passes trace context across service boundaries so spans can be linked into one trace.
- What is cardinality cost, and how does it differ between metrics and logs? [Advanced]Cardinality cost is the resource and financial impact of unique dimensional combinations.
- How do you design alerts that page a human only when action is required? [Advanced]I design human-page alerts around user impact, urgency, ownership, and required action.
- What is the difference between a page, a ticket, and a dashboard signal? [Advanced]A page is for urgent human action now, a ticket is for non-urgent work that should be tracked, and a dashboard signal is context for investigation or review.
- How would you reduce alert noise across many teams (deduplication, correlation, AIOps)? [Advanced]To reduce alert noise across many teams, I standardize alert labels, deduplicate related alerts, correlate symptoms with causes, use inhibition, enforce ownership…
- What is event correlation, and how does it reduce incident noise? [Advanced]Event correlation groups related alerts, logs, changes, and topology signals into a smaller number of incident candidates.
- How would you measure observability coverage across services? [Advanced]I measure observability coverage by checking whether every production service has owned metrics, logs, traces, dashboards, alerts, SLOs, runbooks, and correlation…
- How do you instrument a service so that an on-call engineer can debug it without code changes? [Advanced]I instrument a service with standardized metrics, structured logs, distributed traces, correlation IDs, deployment metadata, dependency spans, and runbook links so…
- How would you build an SLO dashboard and tie alerts to error-budget burn? [Advanced]An SLO dashboard should show SLI value, SLO target, remaining error budget, burn rate across multiple windows, incident links, and the service signals needed to…
- How do you trigger automated remediation from an observability signal? [Advanced]Automated remediation should be triggered only from reliable, well-scoped observability signals and guarded with safety controls.
- How would you investigate a latency spike using metrics, traces, and logs together? [Advanced]To investigate a latency spike, I start with metrics to identify scope and timing, use traces to find the slow path or dependency, and use logs to inspect exact…
- What recent observability practice or tool have you adopted, and what improved? [Advanced]A recent observability practice I have adopted is using OpenTelemetry as a standard instrumentation and collection layer, combined with SLO-based alerting.
- How do you prevent a single noisy service from blowing up observability costs for everyone? [Advanced]I prevent one noisy service from blowing up shared observability costs with quotas, ownership tags, ingestion limits, cardinality policies, sampling, retention tiers,…
- How would you run a monthly operational review using observability data and SLO trends? [Advanced]In a monthly operational review, I use observability data to examine SLO compliance, error-budget trends, incidents, alert quality, capacity risks, cost, and top…