Debugging and incident interview questions
13 questions, easy to hard. Read one, then answer it out loud: an AI interviewer follows up, hints when you're stuck and grades your answer.
Debugging and incident interviews ask how you find and fix problems in production: logs, errors, monitoring, alerting, incident response and post-mortems.
Monitoring and Incidents
You've been asked to set up monitoring for a web service that currently has none. Explain the four golden signals, what each tells you, and which you'd look at first during an outage.
What a strong answer covers
- What each of the four signals measures and why it matters.
- Why some measures should be tracked as percentiles rather than averages.
- Which signal to check first in an outage, with a reason.
Common mistake: Watching only server resource graphs and missing what users actually experience.
- Alert on Symptoms
- easy
- Pro
Your on-call engineer gets paged forty times a week, mostly for high CPU that never affects users, and has started ignoring alerts. Explain how you'd redesign alerting so every page matters.
What a strong answer covers
- Why too many alerts make people miss the important ones.
- Paging on what users feel rather than on internal causes.
- Where non-urgent problems should go instead of a page.
- Keeping the alert set healthy over time, with guidance attached to each alert.
Common mistake: Raising thresholds on the noisy alerts instead of asking whether they should page anyone at all.
- Write a Runbook
- easy
- Pro
An alert fires at three in the morning for a queue backing up, and the engineer on call has never seen this system. Explain what a good runbook for that alert contains and how you'd keep it useful.
What a strong answer covers
- What the alert means and why it matters to users.
- How to investigate quickly, with the right places to look close at hand.
- Safe first actions and when to bring in someone else.
- How the runbook is found and kept up to date.
Common mistake: Writing a long description of the system's design when the reader at night needs short, practical steps.
- Run an Incident
- medium
- Pro
Checkout is failing for all customers, and ten engineers have piled into a chat channel all trying things at once. Explain how you'd run this incident, including the roles you'd assign and how you'd communicate.
What a strong answer covers
- Who coordinates the response and why that person stays out of the debugging.
- The other roles that keep people informed and keep a record.
- Restoring service before hunting for the underlying cause.
- Keeping changes to production coordinated and updates regular.
Common mistake: Letting everyone try fixes at once, so nobody knows which change helped or made things worse.
- Blameless Postmortem
- medium
- Pro
After an outage caused by an engineer running a command against the wrong database, a manager wants to know who's to blame. Explain what a blameless postmortem is, what it should contain, and why blame makes systems less safe.
What a strong answer covers
- What blameless means and what it doesn't mean.
- How blame affects what people are willing to report.
- The main parts of a useful postmortem document.
- System-level changes that would make this mistake harder to repeat.
Common mistake: Ending with 'be more careful next time', which changes nothing about the system that allowed the mistake.
- Healthy On-Call
- medium
- Pro
Your team's on-call rotation is burning people out and two engineers have threatened to quit. Explain how you'd design a sustainable on-call rotation and measure whether it's improving.
What a strong answer covers
- How the rotation is staffed and handed over.
- Measuring and reducing the load each shift carries.
- The support and recognition responders need.
- Making time to fix the causes of pages and showing progress with data.
Common mistake: Adding more people to the rotation while leaving the noisy alerts that cause the burnout untouched.
- Debug a Latency Spike
- hard
- Pro
Your API's slowest one percent of requests jumped from two hundred milliseconds to three seconds an hour ago, while the average barely moved. Walk through how you'd investigate using metrics, logs and traces.
What a strong answer covers
- Why the average can stay flat while the slowest requests get much worse.
- Looking for what changed around the time the problem began.
- Slicing the data to find what the slow requests have in common.
- Following individual slow requests to see where the time goes.
Common mistake: Looking only at the average and concluding nothing is wrong, or guessing at causes without narrowing down first.
Errors and Logging
- Structured Logging
- easy
- Pro
Your server logs are free-text sentences, and finding every error for one customer means writing fragile text searches. Explain structured logging and how you'd change your logs.
- Choose Log Levels
- easy
- Pro
Your production logs are so noisy that real errors get lost, and your team argues about what counts as a warning. Explain the common log levels and give a rule of thumb for when to use each.
- Trace a Request with IDs
- medium
- Pro
A user reports that checkout failed, and the request passed through your API, a payment service and a background worker. Explain how request or correlation IDs let you follow it through all three.
- Never Swallow Errors
- medium
- Pro
You find code that catches every error, logs nothing, and returns an empty list, and customers have been seeing empty pages for a week without anyone noticing. Explain good error-handling practice in server code.
- Keep Secrets Out of Logs
- medium
- Pro
During an audit you find passwords, access tokens and full card numbers in your application logs. Explain how this happens and how you'd stop it happening again.
- Health Checks
- hard
- Pro
Your health check endpoint queries the database and every downstream service, and when one minor service went down, the platform restarted all your app servers in a loop. Explain how to design health checks properly.
Questions about practising
- How should I prepare for debugging and incident interview questions?
- Practise answering them out loud, not just reading them. Explaining an answer under follow-up questions is what interviews test. Work through the 13 questions here from easy to hard, and revisit the ones you struggle with.
- Can I practise debugging and incident interview questions with an AI?
- Yes. Open any question and start a voice session: an AI interviewer asks it, follows up on your answer, gives hints when you're stuck and grades your answer with written feedback when the call ends.
- Are these debugging and incident interview questions free?
- 1 of the 13 questions are free to practise. Sign in with Google, no card needed. Pro unlocks the rest, plus practice calls to your phone.