You deploy at 4pm and errors spike at 4:05. Walk me through exactly what you do.
What they are really testing: Whether your instinct under pressure is to restore service or to investigate. Debugging a live incident before rolling back is the most common and most expensive junior mistake.
A real interview question
You deploy at 4pm and errors spike at 4:05. Walk me through exactly what you do.
What most people say
drag me
“I would check the logs to work out what is wrong and then fix it.”
It leaves users broken while you investigate. Debugging can take an hour, rollback takes 2 minutes, and every minute of that hour is real user harm that was avoidable.
The follow-ups they ask next
The rollback does not fix it. What does that tell you?
The deploy probably was not the cause, or it did something irreversible like a schema migration or corrupted cache. Widen the search to dependencies, infrastructure changes and traffic patterns.
What if the release included a database migration?
Rollback is no longer simple, which is why migrations should be backward compatible and shipped separately from the code that uses them. You may have to fix forward instead.
What the interviewer is listening for
- Restores service before diagnosing
- Communicates while acting
- Verifies recovery instead of assuming
What sinks the answer
- Debugs while users are broken
- Silent, no communication
- No awareness that migrations complicate rollback
If you genuinely do not know
Say this instead of freezing. Reasoning out loud from what you do know beats silence every single time, and a good interviewer is listening for exactly that.
“First [restore service: flag off or redeploy the previous artifact], while [saying what I am doing in the channel]. Then [confirm errors return to baseline], [capture logs and the failing tag], and only then [investigate, with a blameless write-up and one concrete prevention].”
Keep going with deployment
Junior
Compare rolling, blue-green, and canary deployments. Which would you pick and why?
Junior
Design the pipeline for a typical web application. What stages would you have, and in what order?
Junior
Our Docker image is 1.2 GB and takes 8 minutes to build. How would you make it smaller and faster?
Junior
Explain the relationship between a Pod, a Deployment, and a Service in Kubernetes.
Junior
What is Terraform state, why does it exist, and what goes wrong if two people apply at the same time?
Junior
What is the difference between a liveness probe and a readiness probe, and what happens if you configure them wrong?
Knowing the answer is not the same as recalling it under pressure
Sign in to send the questions you fumble to spaced recall, so they come back right before you would forget them, and learn the concepts behind them with hands-on labs.
Start free