BetaJobprepping.com is in beta and still under construction. New sign-ups are closed.
Start practising
DevOps Engineer

DevOps Engineer Interview Guide with Questions and Prep

How the DevOps engineer interview works, the CI/CD, cloud and reliability skills it scores, 8 practice questions with strong answers, and a 7-day prep plan.

Updated

A DevOps engineer interview tests whether product teams can ship through your pipelines and platform quickly and safely: whether rollouts can be stopped and reversed, infrastructure changes are reviewed and reproducible, secrets stay secret, costs are understood and incidents are handled calmly. Expect questions on Kubernetes and infrastructure as code, scenarios on a stuck rollout, a slow pipeline, a leaked secret and a cost spike, a release to design, a team lead who wants production access and behavioural questions about changes that went wrong.

What the job really is#

A DevOps or platform engineer builds and runs the paths every service takes to production: CI pipelines, container builds, deployment tooling, infrastructure as code, cloud accounts, networking, secrets, observability and the guardrails around all of it. The customers are other engineers, so a lot of the job is making the safe way the easy way.

Teams hire DevOps engineers who limit the damage before hunting for the cause, change production through code rather than by hand, and can explain a security or cost constraint to a product team without becoming the department of no.

Our practice interviews are set at Copperwick, a fictional booking and payments platform for fitness studios and salons, where about 150 engineers in 20 product teams deploy around 50 times a day. Its services run on Kubernetes in AWS, deployed by Argo CD from Helm charts, with infrastructure in Terraform applied only by pipelines. The interviewer is Rafael, the platform engineering manager.

What the DevOps engineer interview process looks like#

A typical loop in 2025 and 2026 runs:

  1. A recruiter screen on the platforms, clouds and tools you have run.
  2. A technical screen: Linux, networking and scripting questions, or a hands-on task such as writing a Dockerfile, fixing a pipeline or reviewing Terraform.
  3. A final round: infrastructure or delivery system design, a troubleshooting scenario, a coding or scripting exercise, and behavioural interviews about incidents and working with other teams.

Our practice papers condense that into one session with an AI voice interviewer, and some scenarios put command output, a log or a bill on your screen to talk through. The 45 and 60-minute papers also have a two-part scripting exercise in Python.

  • 30 minutes: introductions (2), infrastructure as code (5), a stuck rollout (10), secrets in a pipeline log (6), when a change goes wrong (4), your questions (2), wrap-up (1).
  • 45 minutes: introductions (3), a slow pipeline (8), a two-part scripting exercise in Python (18), a cloud cost spike (8), when a change goes wrong (4), your questions (3), wrap-up (1).
  • 60 minutes: introductions (3), Kubernetes rollouts (6), a two-part scripting exercise in Python (20), secrets in a pipeline log (5), designing a release (7), production access (7), automating for other teams (7), your questions (4), wrap-up (1).

See how the practice interviews work.

Skills scored and how they are weighted#

Each skill is rated Not yet, Developing, Hire-ready or Standout, with quotes from what you said as evidence. Build and release automation is the must-have: it needs Hire-ready for an overall yes.

  • Build and release automation (must-have, 30%): repeatable pipelines and infrastructure as code, with safe rollouts, rollbacks and secrets handling.
  • Coding (10%): working Python that passes hidden tests, in the 45 and 60-minute papers.
  • Reliability and operations (15%): alerts that matter, calm incidents and blameless reviews that remove the cause.
  • Cloud architecture (15%): availability, security, scaling and cost, with the trade-offs stated.
  • Debugging (10%): forming and testing hypotheses in order, and limiting the damage first.
  • Communication (10%) and ownership (10%): explaining constraints to other teams and owning your changes.

DevOps engineer interview questions to practise#

We wrote these for this guide. They show the style of each round, not the content of any paper.

Delivery#

  1. How would you tell whether a delivery process is healthy? A strong answer uses the four DORA measures (deployment frequency, lead time for changes, change failure rate and time to restore service), adds pipeline duration and how often builds fail for reasons unrelated to the change, and says what it would do if one of them moved the wrong way.
  2. What makes a container image well built? A strong answer uses a small, maintained base image and a multi-stage build so build tools don't ship, pins versions, runs as a non-root user, keeps secrets out of every layer, scans for vulnerabilities in the pipeline, and orders the steps so the build cache does its job.

Cloud and Kubernetes#

  1. What's the difference between a security group and a network access control list in AWS? A strong answer says security groups are stateful and attach to network interfaces with allow rules only, while network access control lists are stateless, apply to whole subnets, allow and deny traffic, and are evaluated in rule-number order, so return traffic must be allowed explicitly.
  2. How would you design a service to survive the loss of an availability zone? A strong answer spreads nodes and replicas across zones with topology spread rules, uses a multi-zone database and load balancer, keeps enough spare capacity to lose a zone and still serve peak traffic, and proves it with a planned failure test rather than trusting the diagram.
  3. How would you upgrade a Kubernetes cluster with as little disruption as possible? A strong answer reads the release notes and checks manifests for removed APIs first, upgrades staging before production, moves the control plane one minor version at a time before the nodes, relies on pod disruption budgets and spare capacity while nodes drain, watches error rates throughout, and knows how to back out a node group.

Operations#

  1. What logging, metrics and alerts would you set up for a new service? A strong answer asks for structured logs with request IDs, request rate, errors and latency per endpoint, and traces across services. It alerts on what users feel, preferably against a service level objective, rather than every possible cause, and links each alert to a runbook so whoever is paged knows what to do.
  2. You're on call and a page comes in. Walk me through how you run the incident. A strong answer acknowledges it, checks the customer impact, declares an incident and takes or hands off the commander role, mitigates first (roll back, turn a feature off, fail over), keeps updates going on a fixed rhythm, and finishes with a blameless review whose actions have owners and dates.

Behavioural#

  1. Tell me about a time you made on-call better for your team. A strong answer starts with numbers from before the change (pages a week, pages at night, alerts nobody acted on), says what the candidate changed, such as alerts, runbooks or automation, and shows the same numbers afterwards.

How the rounds work#

Think out loud, and say how you would check each assumption. For a production problem, a pattern that works:

  1. Find out whether customers are affected, and how you would know.
  2. Limit the damage first, using the method your deployment system expects, so the fix isn't undone behind you.
  3. Read the evidence (events, logs, metrics, the recent changes) before deciding on a cause.
  4. Make the fix through code and the pipeline, so production stays reproducible.
  5. Afterwards, add the check or guardrail that would have caught it, and write it up without blame.

For a design question, cover how the service is built, tested, deployed, observed and rolled back, and how data changes stay compatible while two versions run side by side. In the role-play, a team lead wants broad production access after an outage: acknowledge what went wrong for them, find out what they actually needed, and offer faster safe routes rather than a flat no.

Common mistakes#

  • Fixing production by hand and leaving the code out of date.
  • Adding capacity before measuring where the time or money actually goes.
  • Hunting for the cause before limiting the damage.
  • Treating security controls as the platform team's problem alone.
  • Describing tools without the outcomes they produced.

A one-week prep plan#

  1. Day 1: revise Kubernetes rollouts: deployments, probes, rolling update settings, graceful shutdown, and reading pod events and logs.
  2. Day 2: revise infrastructure as code: plans, state, drift, modules, and how changes are reviewed and applied.
  3. Day 3: revise CI/CD: caching, parallelism, flaky tests, secrets handling and release strategies such as canaries.
  4. Day 4: take the 30-minute practice paper and read the quotes on your scorecard.
  5. Day 5: revise cloud cost and networking: how compute, storage, networking and data transfer are billed, tagging, and budget alerts.
  6. Day 6: prepare four stories: a change that broke production, automation other teams adopted, an incident you led and a speed or cost improvement with numbers.
  7. Day 7: take the 60-minute paper end to end.

When you are ready, practise the DevOps Engineer interview and get scored on build and release automation, reliability and the rest of the skills above.

Frequently asked questions#

What questions are asked in a DevOps engineer interview?#

Expect questions on CI/CD, containers and Kubernetes, infrastructure as code, cloud networking and security, observability and incidents, plus troubleshooting scenarios and often a scripting or hands-on task. Behavioural questions cover changes that went wrong, automation other teams adopted and saying no to a risky request.

What's the difference between DevOps and site reliability engineering?#

The roles overlap. DevOps and platform engineers usually focus on how software gets built, deployed and run (pipelines, infrastructure as code and the developer platform), while SREs focus on the reliability of production services: service level objectives, incident response and capacity. Our site reliability engineer interview guide covers that loop.

Do I need Kubernetes for a DevOps interview?#

Not everywhere, but it is common enough that most interviews touch it: rollouts, probes, resource limits and debugging pods. If you haven't run it in production, learn the core objects and practise reading a failing rollout, and be honest about where your experience ends.

How should I prepare for a DevOps engineer interview?#

Revise Kubernetes rollouts, infrastructure as code, CI/CD and cloud basics, then practise troubleshooting scenarios out loud, mitigating first. Prepare stories about a change that went wrong and automation you built for others, with numbers. Finish with a timed mock interview.

How long are the practice interviews?#

There are three papers, of 30, 45 and 60 minutes, each run by an AI voice interviewer. The 30-minute paper covers infrastructure as code, a stuck rollout and a leaked secret; the 45 and 60-minute papers add a scripting exercise in Python, plus pipelines, cloud cost, Kubernetes rollouts, release design and a production access role-play. You can start a DevOps Engineer practice interview at any of the three lengths.

Read next

GuideEngineering Manager

Engineering Manager Interview Guide with Questions

How the engineering manager interview works, the people, delivery and hiring skills it scores, 8 practice questions with strong answers, and a 7-day prep plan.

GuideFrontend Engineer

Frontend Engineer Interview Guide with Questions and Prep

How the frontend engineer interview works, the UI, performance and accessibility skills it scores, 8 practice questions with strong answers, and a 7-day plan.

GuideMobile Engineer

Mobile Engineer Interview Guide for iOS and Android

How the mobile engineer interview works, the app, debugging and release skills it scores, 8 practice questions with strong answers, and a 7-day prep plan.

Practice

Say it out loud.

Reading about an interview isn't the same as doing one. Take a 30, 45 or 60-minute DevOps Engineer interview with an AI interviewer and get scored against a real rubric.

Choose an interview