All jobs / DevOps / SRE / cloud / Observability
DevOps / SRE / cloud interview question · 1–3 years
On-call cannot find the one failing request in a sea of lines. What do you standardise?
The strongest answer
A correlation / request id, structured fields, and a default level — I do not invent a new log format per service
Why it works
Exactly. One id across the hop. Structure. No souvenirs of secrets.
What a good answer covers
- Correlation id.
- Structured fields.
- One time format.
- No secrets in logs.
Answers that fall short
- Close, but not the strongest: More colourful console logs
Colour does not query. - Weak: A unique date format per language
Date formats are how you fail to join. - Red flag: Print the user’s password so we can “verify the row”
Passwords in logs are an incident.
Who gets asked this
More Observability questions
- You page on CPU > 80%. Users are fine. What do you change?
- How does Prometheus collect metrics, and why does a thirty-second batch job show none?
- Why instrument services with OpenTelemetry instead of the observability vendor’s own SDK?
- Logs are 40% of the observability bill. What do you cut without going blind?
- You can afford traces on some paths. Which do you instrument first?
- After a deploy, the Grafana dashboards time out and Prometheus runs out of memory. A developer added…
- What must a new service get on day one from the platform?
- The server pings. Users still cannot log in. What was missing?