Home › Interview questions › Observability
Observability Interview Questions & Answers
72 Observability interview questions in 4 levels — junior to senior, plus 15 production scenarios. Read 3 free answers with real-world analogies.
Free sample answers
What is observability, and how is it actually different from monitoring?
One-liner
Monitoring tells you when something you already expected to check has gone wrong, while observability gives you enough detail about your system's actual internal behavior to figure out why something you never anticipated is going wrong.
Real-world analogy
Monitoring is like a car's dashboard warning lights — they tell you about specific things the manufacturer already anticipated you'd want to know about. Observability is like being able to plug in a diagnostic scanner and actually see everything happening inside the engine, including a problem nobody ever specifically thought to add a warning light for.
Detailed explanation
- Traditional monitoring is built around a predefined set of checks and dashboards — you decide in advance what to watch, and it tells you when one of those specific things crosses a threshold.
- Observability is about your system emitting enough rich data (metrics, logs, and traces) that you can ask new, genuinely unanticipated questions about its behavior later, without needing to have specifically predicted that question in advance.
- In practice, observability and monitoring work together — monitoring is often how you actually consume observability data, through dashboards and alerts built on top of it.
Scenario
A team's monitoring dashboard shows every predefined check passing, yet users are reporting a genuinely new, specific problem nobody had ever actually thought to build a check for. Because their system also emits detailed traces and structured logs, they're able to dig in and find the actual root cause anyway, even though it's a problem their existing dashboards were never actually designed to specifically catch in the first place.
Best practices
- Don't treat monitoring dashboards as your only real source of truth — invest in genuinely rich logs and traces so you can investigate the unexpected.
- Think of observability as an investment in answering questions you haven't thought of yet, not just questions you already know to ask.
- Build monitoring (dashboards, alerts) on top of your observability data, rather than treating them as two genuinely separate, unrelated things.
What's the practical difference between a log aggregation tool like Loki or the ELK stack, and just reading log files directly on individual servers?
One-liner
A log aggregation tool centrally collects logs from every server into one searchable place, letting you search across your entire fleet at once, rather than needing to individually SSH into each specific server and grep through its own separate local log files one at a time.
Real-world analogy
It's like a large retail chain having every store's individual receipts automatically sent to one central office for searching and analysis, rather than needing to physically visit each individual store and dig through their own local paper filing cabinet one store at a time.
Detailed explanation
- Without centralized aggregation, investigating an issue affecting multiple servers means manually connecting to each one individually and searching its own separate local logs one at a time.
- A log aggregation tool ships logs from every server to one central, searchable location, letting you run a single query across your entire fleet at once, and correlate log entries from genuinely different services together.
- This also protects against losing crucial log data if a specific server has a serious problem or gets terminated entirely, since the actual log data already lives safely somewhere else well before that happens.
Scenario
During an incident affecting several servers at once, a team without centralized logging spends considerable time individually connecting to each affected server and manually searching local logs one at a time. A team with proper centralized logging instead runs one single search across every affected server simultaneously, immediately seeing the full combined picture in a fraction of the time.
Best practices
- Set up centralized log aggregation as early as possible, rather than waiting until manually checking individual servers has genuinely become too painful.
- Standardize log formats across your different services wherever practical, since consistent formatting makes centralized searching considerably more effective.
- Choose a retention period balancing genuine storage cost against how far back you might realistically actually need to search during an investigation.
A Grafana dashboard panel shows 'No data' even though you're confident the underlying metric is currently actually being collected. How do you debug it?
One-liner
Check the panel's own specific query directly against the data source (often revealing a label mismatch or an incorrect time range), and confirm the dashboard's own selected data source actually matches where the metric genuinely lives.
Real-world analogy
It's like a phone book search coming up completely empty for a name you're absolutely sure is genuinely listed — you'd check whether you're actually searching the correct specific directory in the first place, and whether you've actually spelled the exact name correctly.
Detailed explanation
- Running the panel's exact underlying query directly in Prometheus's own interface (bypassing Grafana entirely) quickly confirms whether the actual issue is with the specific query itself, or somewhere else within Grafana's own configuration.
- A dashboard's selected time range not actually overlapping with when the metric genuinely started being collected (like a brand new service that only just very recently started reporting) is a genuinely very common, simple cause.
- Confirming the panel is actually pointed at the genuinely correct data source matters too, especially in an environment with several genuinely similarly-named or otherwise easily confused data sources configured.
Scenario
A newly added dashboard panel shows 'No data,' despite the underlying application clearly, actively exposing the metric. Running the exact same query directly in Prometheus confirms data genuinely does exist, but only starting from about ten minutes ago, while the dashboard's own selected time range happened to be set to the last 24 hours before that specific new metric had actually even started existing. Adjusting the panel's time range, or simply waiting a bit longer, resolves the apparent issue.
Best practices
- Test the underlying query directly against the data source first, to genuinely isolate whether the actual issue is with the specific query itself or with Grafana's own configuration.
- Double-check the panel's actual selected time range against when the metric genuinely actually started being collected.
- Confirm the panel is pointed at the genuinely correct data source, especially in an environment with multiple, potentially easily confused options available.
A preview of the 72 questions in the Observability guide
Junior (20)
- What is observability, and how is it actually different from monitoring?
- What are the three pillars of observability — metrics, logs, and traces — and what does each one actually tell you?
- What is Prometheus, and what specific role does it play in a typical monitoring setup?
- What is Grafana, and how does it actually relate to Prometheus?
+ 16 more Junior questions, with full answers, in the guide.
Mid-level (20)
- What's the practical difference between rate(), irate(), and increase() in PromQL, and when would you use each?
- What is cardinality in the context of Prometheus, and why can high cardinality genuinely become a serious problem?
- What is Alertmanager, and how does it actually relate to the alerts Prometheus itself defines?
- How do Grafana data sources and template variables work together to build a genuinely flexible, reusable dashboard?
+ 16 more Mid-level questions, with full answers, in the guide.
Senior (17)
- How would you design an observability strategy for a large microservices architecture with many independently deployed services?
- How would you design a highly available, scalable Prometheus architecture for a company running at genuinely significant scale?
- How would you approach designing SLOs and error budgets for a company adopting SRE practices for the very first time?
- How would you approach managing cardinality at an organizational scale, across many different teams each independently instrumenting their own services?
+ 13 more Senior questions, with full answers, in the guide.
Scenario (15)
- Prometheus's memory usage suddenly spikes and it eventually crashes with an out-of-memory error. How do you investigate?
- An alert fires and shows as resolved in Alertmanager's own history, but nobody actually received a notification or a page for it. How do you troubleshoot it?
- A Grafana dashboard panel shows 'No data' even though you're confident the underlying metric is currently actually being collected. How do you debug it?
- After a service restart, a specific metric that was working perfectly fine before suddenly disappears entirely from your dashboards. How do you investigate?
+ 11 more Scenario questions, with full answers, in the guide.
Get the full DevOps / SRE Interview Guide