InterviewStack.io LogoInterviewStack.io

Monitoring, Logging, and Observability Questions

Understanding running systems through their signals. Covers metrics, logs, and traces, instrumentation, dashboards, alerting design, and log analysis and correlation for debugging production. Emphasizes designing observability so problems are detectable and diagnosable before users are affected.

HardTechnical
52 practiced

Write a log-formatting utility that safely serializes structured log entries to JSON, handles objects with circular references, and redacts any field whose name matches a configurable list of sensitive-field patterns before the entry is written out.

EasyTechnical
55 practiced

What are the three pillars of observability? For each one, explain what kind of question it's best at answering, one blind spot it has on its own, and a concrete example of a production issue it would help you catch.

EasyTechnical
57 practiced

A request fails with a timeout. Do you start with logs, metrics, or traces first, and why? Walk through your prioritized first few steps and what you're hoping each one tells you.

MediumTechnical
55 practiced

Walk me through instrumenting a request handler for an API endpoint. At each stage, say authentication, the business logic, and the database call, what would you measure, and which metric type would you use for it?

EasyTechnical
46 practiced

What's the difference between a counter, a gauge, and a histogram (and a summary)? For each type, give a real metric you'd track for an HTTP service and explain how you would aggregate it for a dashboard or an alert.

Unlock Full Question Bank

Get access to all 13 Monitoring, Logging, and Observability interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.