DevOps Interview Questions (with real STAR answers)
Behavioral interviews want a real story, not theory. Here is how to answer the classic "tell me about a time" questions in STAR - using real production incidents you can actually go fix and earn the story yourself.
Tell me about a time you debugged a production outage.
Situation: Right after a deploy, the production site started returning 502 Bad Gateway. Users were locked out and the backend was confirmed running, so something between the proxy and the app had broken.
Task: I needed to restore traffic fast and find the actual cause, not just restart things and hope.
Action: I read the nginx error log, traced the upstream connection, and found the proxy was pointed at the wrong port after the deploy. I corrected the upstream config and reloaded nginx.
Result: Traffic recovered within minutes, and I documented the port mismatch so the next deploy would not reintroduce it.
Tell me about a time you automated a manual process.
Situation: Infrastructure had drifted from its Terraform definition because changes were being made by hand, so nobody trusted plan output.
Task: I had to bring the live infrastructure back in line with code so future changes were safe and reviewable.
Action: I inspected the drift, imported and corrected the state, and reconciled the configuration so plan came back clean.
Result: Infrastructure changes went back through version control and review, removing a whole class of surprise outages.
Tell me about a time you handled an incident under pressure.
Situation: A containerized service was crash-looping on startup and would not stay up, blocking a release.
Task: I needed to get the container to a healthy running state quickly without guessing.
Action: I read the container logs and exit code, found the broken entrypoint and config, and corrected it so the process started cleanly.
Result: The service came up healthy and the release went out, and I captured the failure mode so it would be caught earlier next time.
Go earn this story: Fix a Docker Container That Exits Immediately →
Earn the story, don't memorize it
Every answer above maps to a real DevOps system you can go fix right now.
Start free →