DevOps Engineer Interview Questions
372 questions across 38 categories
The bulk of a working DevOps engineer's day-to-day: hands-on tooling, common troubleshooting, and the practical judgment calls that come up once you're actually operating systems.
What would you do differently if a vague 'app is slow' alert turned out to correlate with nothing in the last 24 hours of changes?
IntermediateObservability6 min
You get paged with just "the app is slow" and no other context. Walk through your actual troubleshooting methodology before you touch anything.
IntermediateObservability8 min
A Kubernetes manifest repeats the same resource limits block across 8 containers. A teammate suggests using YAML anchors to avoid the duplication. How do anchors actually work, and what's the catch?
IntermediateYAML6 min
You see the same data expressed as both 'ports: [80, 443]' and a multi-line dashed list in different YAML files. Are these actually equivalent, and when would you use each?
BeginnerYAML5 min
A Kubernetes manifest that looked correct in the editor fails to apply with a cryptic YAML parsing error. How do you systematically debug indentation-related YAML errors?
BeginnerYAML6 min
A single Kubernetes manifest file defines a Deployment and a Service, separated by '---'. How does a parser actually handle this, and what mistakes commonly happen with multi-document YAML?
IntermediateYAMLKubernetes6 min
A typo in a Helm values.yaml file (a misspelled key) was silently ignored, and the deployment used a wrong default instead of failing. How would you catch this class of mistake before it reaches production?
IntermediateYAML6 min
Kubernetes and most CI tools accept both YAML and JSON for configuration, since valid JSON is (almost) valid YAML. When would you actually choose one over the other?
BeginnerYAML5 min
A CI config field intended as the string "no" silently breaks everything downstream. Why does this happen with YAML specifically, and how do you avoid this whole class of bug?
IntermediateYAML6 min
Beyond boolean coercion, what other YAML footguns — anchors/aliases, multi-document files, tab characters — are worth knowing for an interview?
IntermediateYAML7 min
How would ruamel.yaml configured for YAML 1.2 handle the same enabled: no example differently from PyYAML's default loader?
IntermediateYAMLPython6 min
Why doesn't JSON have YAML's boolean-coercion footgun, and what does that imply about the trade-off YAML makes for human-friendliness?
BeginnerYAML5 min