Interview Q&A · questions with model answers
Logging & Observability Interview Questions
Part of the study plan for: DevOps Engineer · Site Reliability Engineer (SRE) · Cloud Engineer · Backend Engineer
Ordered by how often they're asked. Most-asked answers are free to read in full; members see every answer and can rate their confidence on each.
-
Most asked Walk through how you would investigate a sudden latency spike in production.
Confirm the scope on dashboards (which endpoints, regions, customers), correlate with recent changes (deploys, flags, traffic), use traces to find the slow span, check dependency and resource…
-
How do you keep log context (user, request) in async or multi-threaded code?
Store context in request-scoped storage that follows execution: contextvars (Python asyncio), AsyncLocalStorage (Node), MDC with context propagation (Java, including virtual threads/executors), and…