>DevOps Interview KB

Senior DevOps Interview Questions

516 questions across 39 categories

Deeper trade-off and design questions — why a specific approach was chosen, what breaks at scale, and how to reason about a system you didn't build.

A database password is passed as a resource argument in Terraform — does marking the variable sensitive actually protect it in the state file?

AdvancedTerraform7 min

terraform plan shows a production RDS instance will be destroyed and recreated after a change you thought was trivial. What would you investigate before running apply?

AdvancedTerraformAWS10 min

How do you decide when to escalate or pull in another team during an incident, versus continuing to investigate solo?

IntermediateDevops6 min

How do you balance "mitigate first" against the risk that a rollback or failover masks the real problem, letting it recur later?

IntermediateObservability6 min

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

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

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