Cohesyve · Practice for candidates
Preparing for a DevOps Engineer role? Start by finding out where you stand.
Import the actual job you're going for, run a simulation built from it, and get a scored report showing which of these areas you're weakest in — before you spend weeks studying the wrong thing.
3
free assessments
$0
no card required
Full
scored report every run
Every
question type included
3 free assessments · No card required · Pro from $16/mo
Overview
DevOps interviews reward people who can talk credibly about the boring parts: how a change reaches production, what happens when it goes wrong, and who has to be awake for it. Expect a mix of hands-on troubleshooting, infrastructure-as-code review, a CI/CD design conversation and a set of questions about how you work with the development teams you support. Candidates who prepare only the tool list — Kubernetes, Terraform, a CI system — tend to stall the moment an interviewer asks why a pipeline is structured that way rather than how the tool works.
The hiring process, stage by stage
Recruiter screen
Covers your cloud platform, container and orchestration experience, whether you have carried a pager, and what size of estate you have worked on. DevOps roles range from a single build engineer to a platform team, so the recruiter is placing you.
How to prepare: Prepare a short summary naming your cloud, orchestration platform, infrastructure-as-code tool, CI system, and the number of services and environments you supported. State plainly whether you were on call and at what frequency.
Hands-on troubleshooting exercise
A broken environment or a failing pipeline you have to diagnose, often shared-screen. Typical scenarios are a pod stuck in CrashLoopBackOff, a failing deployment, a certificate problem, or a build that passes locally and fails in CI.
How to prepare: Practise a systematic diagnostic order out loud: what changed, what the logs and events say, whether it is config, network, permissions or resource limits. Rehearse the common Kubernetes failure signatures and what each one narrows down.
Infrastructure-as-code review or exercise
You are asked to write or critique Terraform, Helm charts or similar. Interviewers look for state management, module structure, secret handling and whether the code is reviewable by someone else.
How to prepare: Be ready to explain remote state, locking, workspace or environment separation, and how you promote a change across environments. Have opinions on module granularity and on what should never be hard-coded.
CI/CD and delivery design discussion
An open conversation about how code gets from a pull request to production: build, test gates, artefact promotion, deployment strategy, rollback and approvals. Expect follow-ups on database migrations and on how fast a rollback actually is.
How to prepare: Prepare a reference pipeline you can describe end to end, then be able to justify each gate. Have concrete answers on blue-green versus rolling versus canary, on schema migrations that must be backwards compatible, and on how you would cut deployment lead time.
Team and incident behavioural interview
Questions about how you handle an incident, how you deal with developers who bypass your process, and how you decide what to automate. This stage often decides the offer.
How to prepare: Prepare one incident story with timeline, mitigation and follow-up actions, and one story about a process you changed because people were routing around it. Avoid framing developers as the obstacle — the role is enabling them.
What to study
Containers and orchestration
Most troubleshooting exercises are container-based, and interviewers can tell within minutes whether you have debugged a real cluster or only read about one.
Infrastructure as code
Teams hire DevOps engineers to make infrastructure reproducible, and state management mistakes are expensive and visible.
CI/CD and release strategy
The pipeline is the product for many DevOps roles, and interviewers test whether you can make releases both faster and safer at once.
Observability and incident response
You will be asked how you would know something is broken, and vague answers about dashboards are marked down.
Cloud networking and access control
A large share of real-world outages and interview scenarios come down to a network path or a permission, not application code.
Cohesyve for candidates
Practise a DevOps Engineer assessment before the real one
Run the same AI job simulations companies use to evaluate applicants. You get a scored report showing where you're strong and where you're not, plus what to work on.
Your preparation plan
Four weeks out
Rebuild hands-on depth rather than reading documentation
- •Stand up a small cluster or environment and deliberately break it — bad image, wrong secret, tight memory limit — then diagnose each from scratch
- •Write out the delivery pipeline of your current or last role end to end, including every gate and approval
- •Revise Terraform state operations, since import, move and drift questions catch people out
- •List the tools in the job description you have never operated, and get at least basic hands-on time with them
Two weeks out
Practise explaining systems aloud and prepare your incident material
- •Talk through three troubleshooting scenarios out loud, narrating your diagnostic order as you would in a shared screen
- •Prepare one incident story with a clear timeline, mitigation, root cause and the follow-up that stuck
- •Rehearse a CI/CD design answer, including migrations and rollback, against a timer
- •Prepare specific figures you can share: deployment frequency, lead time, number of services, on-call rota size
The final week
Simulate the real format and close the biggest gap
- •Run one full timed assessment rather than isolated exercises, since these interviews punish disorganised troubleshooting
- •Practise thinking aloud while debugging, because silence during a shared-screen exercise reads as being stuck
- •Prepare your questions about on-call load, incident culture and how much toil the team carries
- •Fix the single weakest area your practice exposed instead of revisiting comfortable ground
The day before and the day of
Remove friction and keep your diagnostic method fresh
- •Test your setup: terminal, screen share, cluster access if the exercise provides one
- •Skim your own incident timeline and pipeline notes once, then stop
- •Write down your diagnostic opening — what changed, what the logs say, what the config says — and keep it visible
- •Plan to state your hypothesis before each command so the interviewer can follow your reasoning
Questions to expect
“A pod is in CrashLoopBackOff. Walk me through your diagnosis.”
What they're really asking: Do you have a systematic method, or do you guess at fixes until something works?
How to answer: Narrate an ordered process: describe the pod to read events, then read the container logs including the previous instance, then check the exit code. Branch from there — a non-zero application exit points at config or a missing dependency, exit code 137 points at the memory limit, an image pull failure points at registry credentials. Finish by saying what you would check to confirm the fix rather than assuming the restart means it is healthy.
“How does a code change get to production in your current environment?”
What they're really asking: Whether you have owned a real delivery path, and whether you can identify its weaknesses.
How to answer: Walk the path concretely from pull request to production, naming each gate and who approves it. Then volunteer the weakest link — perhaps a slow test suite, a manual approval that adds a day, or a rollback that requires a rebuild — and what you would change first. Interviewers value the critique more than the description.
“How would you handle a database migration in a zero-downtime deployment?”
What they're really asking: Whether you understand that the application and schema are deployed independently and can be out of step.
How to answer: Describe expand and contract: add the new column or table in a backwards-compatible change, deploy application code that writes to both and reads the old, backfill, switch reads, then remove the old field in a later release. Mention the operational details that bite — locking on large tables, migrations that must not run inside the app start-up path, and how you would roll back at each step.
“What would you automate first if you joined a team with a lot of manual work?”
What they're really asking: Whether you prioritise by impact and risk, or automate whatever is technically interesting.
How to answer: Say you would first measure — what tasks recur, how long they take, and which ones cause incidents when done by hand. Then prioritise the intersection of frequent, error-prone and low-risk to automate. Give an example of something you deliberately left manual because it was rare and dangerous to automate blindly.
“A deployment succeeded but error rates rose immediately afterwards. What do you do?”
What they're really asking: Whether you mitigate before you investigate, which is the core instinct of the role.
How to answer: State the order explicitly: restore service first by rolling back or shifting traffic away, then confirm error rates recover, then investigate with the deployment diff and traces in hand. Mention communication to affected teams during, not after. Close on the systemic point — whether a canary or a better health check would have caught this before full traffic.
“How do you decide what to alert on?”
What they're really asking: Whether you understand alert fatigue, which is the most common failure of a real on-call rota.
How to answer: Anchor on user-visible symptoms — error rate, latency, and whether the service is doing its job — rather than raw resource metrics that fire without meaning. Explain that every page should be actionable and tied to a documented response, and describe how you would prune an existing noisy rota by reviewing which alerts led to action over the last month.
What to bring as evidence
A description of a delivery pipeline you built or reshaped, with the measurable change in lead time or failure rate
An incident timeline showing detection, mitigation, root cause and the follow-up work that actually landed
Infrastructure-as-code you wrote that another engineer could review, ideally showing module structure
An example of toil you removed, with the time it consumed before and after
Evidence of improving alert quality — a rota you made quieter, and how you decided what to delete
A migration or platform upgrade you led without a customer-visible outage
Common mistakes
Listing tools rather than explaining decisions, which collapses as soon as an interviewer asks why
Debugging in silence during a shared-screen exercise so the interviewer cannot follow the reasoning
Reaching for root cause before restoring service in an incident scenario
Describing infrastructure as code without a credible answer on state management and secrets
Blaming developers for bypassing process instead of asking why the process was worth bypassing
Proposing automation for everything without weighing the maintenance burden it creates
Questions to ask them
- ?
What does the on-call rota look like, and how many pages does a typical week generate out of hours?
- ?
What happens after an incident — is there a written review, and do the follow-up actions actually get scheduled?
- ?
How long does it take a one-line change to reach production today, and where does most of that time go?
- ?
Do development teams deploy their own services, or does this team deploy on their behalf?
- ?
How much of the team's week goes to toil and manual requests versus building the platform?
- ?
Where does responsibility sit for cloud cost, and is anyone actively working on it?
Frequently Asked Questions
Do I need Kubernetes to get a DevOps role?
Not universally, but it is the default assumption in most job descriptions, and troubleshooting exercises are frequently cluster-based. If your experience is on managed platforms or virtual machines, be able to explain the underlying concepts and show you have debugged containers somewhere.
How much coding is expected?
Enough to write and maintain automation confidently — usually Python, Go or shell — plus fluency in the configuration languages you work in. You are rarely asked algorithm questions, but sloppy scripting shows up quickly in a hands-on exercise.
How do I answer if I have never been on call?
Say so directly, then talk about the closest thing you have done, such as supporting a release, handling a production issue during work hours, or writing runbooks. Be honest about it and ask about their rota — pretending is quickly exposed in the incident questions.
Is DevOps engineer the same as platform or SRE?
The titles overlap heavily and vary by organisation. DevOps roles typically lean towards delivery pipelines and automation, SRE towards reliability engineering and error budgets, and platform towards internal developer tooling. Read the responsibilities rather than the title and ask what the on-call expectation is.
Can I practise the technical stage before I sit the real one?
Yes, and it is worth doing because the troubleshooting round rewards a rehearsed method. Cohesyve lets you run a role-specific simulation from a real job posting, with three free scored assessments and a report on where your reasoning lost marks.
Practice
What a DevOps Engineer assessment tests, and how it's scored →
Career guide
What a DevOps Engineer actually does, and where the path leads →
Prepare for another role
Cohesyve · Practice for candidates
Don't walk in guessing. Find out where you stand first.
Three free scored practice runs, a full report on every one, and a learning pathway built from what you actually got wrong. No card required.
3
free assessments
$0
no card required
Full
scored report every run
Every
question type included
3 free assessments · No card required · Pro from $16/mo
For hiring teams
Hiring for a DevOps Engineer role? See how your applicants perform before you spend interview time.