Interview prep
DevOps interview questions and answers
Every question here is one people are actually asked, answered with the reasoning an interviewer is listening for rather than a definition to recite. Search them all, or take one tool at a time.
- 164
- Questions
- 6
- Tools
- 54
- Topics
Docker
28 questions28 Docker questions from real interviews, sorted by seniority: images and layers, networking, volumes, Compose, security and production debugging.
7 junior12 mid9 senior
Images 5Fundamentals 4Production 4Debugging 3Dockerfile 3
Kubernetes
30 questions30 Kubernetes questions from real DevOps and SRE interviews, sorted by seniority: Pods, Services and networking, probes, RBAC, scheduling and failures.
7 junior14 mid9 senior
Workloads 6Fundamentals 5Networking 4Debugging 3Production 3
AWS
29 questions29 AWS questions from real DevOps and cloud interviews, sorted by seniority: IAM, VPC networking, EC2 and scaling, S3 durability, cost and connectivity.
7 junior14 mid8 senior
Networking 6IAM 4Storage 4Compute 3Fundamentals 3
Terraform
25 questions25 Terraform questions from real interviews, sorted by seniority: state and locking, modules, count against for_each, drift and production mistakes.
6 junior11 mid8 senior
State 5Workflow 4Fundamentals 3Debugging 2Modules 2
Linux
26 questions26 Linux questions from real DevOps and SRE interviews, sorted by seniority: permissions, processes and signals, systemd, networking and live debugging.
7 junior11 mid8 senior
Filesystem 4Processes 4Shell 4Networking 3Performance 3
Git
26 questions26 Git questions from real DevOps interviews, sorted by seniority: merge against rebase, reset against revert, the reflog, detached HEAD and recovery.
6 junior12 mid8 senior
Fundamentals 6History 6Remote 4Workflow 4Branching 3
How to use these
- 1Attempt each question out loud before you open the answer. Reading an answer you did not attempt feels like learning and is not.
- 2Filter to your level, then do the level above it. Interviewers commonly push one step past the role to find your edge.
- 3Mark a question known only once you can say it without the page, so the second pass is short.
- 4For anything you get wrong, go and break it. The command you ran yourself is the one you will remember under pressure.