Interview questions by role
DevOps engineer interview questions
DevOps and platform engineering interviews test whether you can keep systems reliable while helping other engineers ship faster. Expect questions on CI/CD pipelines, infrastructure as code, containers and orchestration, monitoring and alerting, incident response, and security basics, with a strong emphasis on real incidents you have handled.
How the interview usually runs
After a recruiter screen, there is usually a technical conversation about your stack, sometimes a hands-on task such as fixing a broken pipeline or writing a small Terraform module, and a scenario round: the site is down, what do you do? Senior roles add design questions about how you would build a deployment platform or a monitoring setup for a team.
Interviewers listen for operational maturity. They want to hear that you reduce toil with automation, make changes safely and reversibly, write useful alerts rather than noisy ones, and run calm, blameless incident reviews.
Common questions and what the interviewer is checking
The website is down. Walk me through what you do.
What they are checking: A calm incident process: confirm impact, communicate, check recent changes, look at dashboards and logs, mitigate first (roll back) and find the root cause after.
Describe a CI/CD pipeline you built or improved.
What they are checking: What stages it had, how you kept it fast and trustworthy, how deployments were made safe, and what changed for the developers using it.
How do you manage infrastructure as code across environments?
What they are checking: Modules, state handling, reviewing plans before applying, avoiding drift, and handling secrets properly.
What makes a good alert?
What they are checking: That alerts point at user-facing symptoms, are actionable, have an owner and a runbook, and that you prune noisy ones.
How would you deploy a change with no downtime?
What they are checking: Rolling, blue-green or canary deployments, health checks, backwards-compatible database changes, and a fast rollback path.
Tell me about an incident you were involved in and what changed afterwards.
What they are checking: Ownership and learning: the timeline, your part, the root cause, and the follow-up actions that actually got done.
How do you handle secrets in pipelines and containers?
What they are checking: Secret managers, short-lived credentials, least privilege, and keeping secrets out of images, logs and repositories.
Our cloud bill has doubled. Where would you look?
What they are checking: Practical cost sense: tagging and attribution, idle or oversized resources, data transfer, storage growth, and talking to the teams that own them.
How do you work with developers who see DevOps as a blocker?
What they are checking: Whether you build self-service paths and good defaults instead of acting as a gatekeeper.
How to structure a strong answer
For scenario questions, speak in the order you would act, and say the first thing you would do in the first minute. For past incidents, give a short timeline and spend most of the answer on the fix and the follow-up.
- Impact first: who is affected and how badly.
- Mitigation: the fastest safe way to stop the harm.
- Diagnosis: how you found the cause.
- Prevention: what you changed so it does not repeat.
Example answer
Tell me about an incident you were involved in and what changed afterwards.
We had an outage on a Friday afternoon after a configuration change reduced the memory limit on our API containers. Pods started restarting under load and requests failed. I was on call, so I confirmed the error rate on the dashboard, posted in the incident channel, and rolled back the config change, which stopped the restarts within minutes.
The root cause was that config changes went straight to production without the same review as code. In the review afterwards we moved that config into the same repository and pipeline as the application, added a staging soak, and set an alert on restart counts. I wrote the runbook for that alert. We did not see that class of incident again while I was there.
Mistakes to avoid
- Starting an outage answer with deep debugging instead of mitigation and communication.
- Listing tools you have used without explaining the problem each one solved.
- Describing incidents in a way that blames a colleague.
- Ignoring rollback when describing a deployment process.
- Treating security and cost as someone else's job.
Frequently asked questions
What questions are asked in a DevOps engineer interview?
Common topics are CI/CD pipelines, infrastructure as code, containers and Kubernetes, monitoring and alerting, incident response, zero-downtime deployments, secrets management, cloud cost and how you work with development teams.
How do I answer "the site is down, what do you do?"
Talk in the order you would act: confirm the impact, communicate, check what changed recently, mitigate quickly (often a rollback), then investigate the root cause and follow up with prevention. Interviewers want calm and order, not a guess.
Do DevOps interviews include coding?
Often some scripting or configuration, such as a shell or Python script, a pipeline file or an infrastructure module. It is usually practical rather than algorithm puzzles.
What is the difference between DevOps and SRE interviews?
They overlap heavily. SRE interviews tend to go deeper on reliability targets, error budgets and incident management, while DevOps interviews lean more on pipelines, automation and developer experience.