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.

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.

EasyTechnical
58 practiced

What's the difference between an SLI, an SLO, and an SLA? Walk through how you'd define each one concretely for a service you've worked on, including how you'd measure the indicator and what time window you'd use.

MediumTechnical
53 practiced

A service, or a small fleet of them, has grown with inconsistent, mostly unstructured logging: some free text, some ad hoc key-value pairs, no shared schema. How would you design a structured logging approach for it? Cover what a log entry should capture, how you'd keep verbosity manageable on high-traffic endpoints, and how you'd roll the change out without breaking existing tooling or dashboards.

MediumTechnical
58 practiced

Implement a small decorator (in Python or a language of your choice) that generates a correlation ID for each incoming HTTP request, attaches it to the request and response headers, and makes it available to any structured logs written while handling that request.

MediumTechnical
48 practiced

What is metric cardinality, and why can high-cardinality labels be dangerous for a metrics backend like Prometheus? What are a few concrete strategies you would use to keep cardinality under control while still preserving useful signal?

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.