DevOps and SRE scenario interview questions
Senior DevOps and SRE interviews hand you a broken system or a risky call and ask what you would do. Every question here comes from a real kind of production incident, grouped by the area it tests.
A general chatbot makes up an answer on the spot. DevOps Ledger grades you against an answer key written before you started.
Kubernetes scenario interview questions
Kubernetes rounds rarely ask what a pod is. They hand you a cluster that is misbehaving and a teammate with a quick fix, then watch whether you read the evidence first: events, exit codes, probe config, resource requests.11 scenariosTerraform scenario interview questions
Terraform questions in senior interviews are about risk, not syntax. Can you read a plan and spot a replacement, explain what state is for, and keep one bad apply from taking out everything else?5 scenariosAWS scenario interview questions
AWS questions for DevOps and SRE roles tend to start with a symptom: a bill that jumped, a database that ran out of connections, a bucket someone made public. The interviewer wants to see you find the cause and weigh cost, security and blast radius.13 scenariosLinux troubleshooting interview questions
Linux rounds are usually live troubleshooting. A box is out of disk or memory, or someone wants to fix a permission error with chmod 777. The question is whether you find the cause and leave the system in a state the next person can trust.4 scenariosDocker scenario interview questions
Docker questions go past what a container is. Interviewers ask why an image is several gigabytes, why every build reinstalls dependencies, or whether mounting the Docker socket into a CI container is fine. Each one has a cost, speed or security trade-off behind it.3 scenariosCI/CD scenario interview questions
Pipeline questions test judgment under pressure: the release is late and tests are flaky, a third-party action was compromised, a deploy broke prod and you have to choose between rolling back and fixing forward.12 scenariosSRE incident and observability interview questions
SRE incident rounds start with a symptom: the service is slow, the queue keeps growing, the on-call is drowning in alerts. Interviewers want to see you protect users first, then narrow the cause with metrics and traces, and say what you would change afterward.16 scenariosDatabase scenario interview questions for DevOps and SRE
Database questions for infrastructure roles are about keeping data safe while things change: a migration on a busy table, a failover that loses writes, backups nobody has restored. Most of them come down to what is reversible and what is not.10 scenariosDevSecOps scenario interview questions
Security questions in DevOps interviews are operational: a key was pushed to a public repo, a container is behaving strangely, a rotation broke production. Interviewers check that you contain first, rotate what is exposed, and fix the process that let it happen.17 scenariosGit scenario interview questions
Git questions in DevOps interviews are about shared history and how code reaches production, not memorizing commands. What happens to everyone else when main is rewritten, and why is git pull on a server a weak deploy process?5 scenarios
Worked answers and interview guides
- Kubernetes Troubleshooting Interview Questions: What to Run and What They Ask Next
- SadServers Alternatives for DevOps and SRE Interview Practice
- Scenario Based DevOps Interview Questions, With Worked Answers
- SRE Incident Response Interview Questions: The Decisions Interviewers Probe
- Terraform Scenario Based Interview Questions: Read the Plan, Then Answer
- How to Pass a DevOps Interview