cvlift.ai logo
Toggle menu

How to prepare for a job interview →

Role guide

12 DevOps Engineer Interview Questions (2026)

Updated 28 August 2026

A DevOps engineer interview usually tests how you get a change into production and what you do when it goes wrong. Expect to talk through a pipeline you've worked on, an infrastructure change you've reviewed or a service you've helped recover. The emphasis follows the job. A platform team may dig into Terraform and Kubernetes, while a smaller team may spend more time on Linux, networking and the practicalities of keeping releases running.

Choose two or three real examples you can explain under questioning. Know what you owned, what evidence you had at the time and how you checked the result. In a troubleshooting exercise, say which signal you'd look at first and what would make you change course. That gives the interviewer a better view of how you work than a long list of commands.

01

Questions you should be ready for

Use the answer plans as prompts, not scripts. Your examples should sound like you.

CI/CD and deployments

Show how you move a known change into production and decide whether it's safe to continue.

Walk me through a CI/CD pipeline you built or maintained. What happens after someone merges a change?

What they want to learn: The interviewer wants to see whether you understand the whole path and can describe the parts you owned.

Answer plan

  • Name the service, the CI system you used, such as GitHub Actions, GitLab CI, Jenkins or Azure Pipelines, and your responsibility for it.
  • Trace the trigger, checks, build and promotion. Explain how the team identified which artefact reached each environment.
  • Describe how the deploy job got its permissions and what conditions let the rollout proceed.
  • Pick a real improvement you made and explain how you knew it worked.

Evidence to use: Use a pipeline where you can recall a concrete detail, such as an image digest, a required check or who could approve production deployment.

Avoid

  • Naming tools without showing how they connect.
  • Taking credit for gates or deployment controls built by another team.
Errors rise during a rollout that includes a database schema change. How do you decide whether to roll back?

What they want to learn: Interviewers want to know whether you consider user impact and know what makes a rollback safe.

Answer plan

  • Pause further rollout if possible. Check which requests and versions are affected, and compare the error rate with the pre-release baseline.
  • Check what the migration has already done and whether the previous application version can run against the current schema and data.
  • Choose a mitigation that fits those constraints. It might mean shifting traffic back, disabling the affected feature or applying a small forward fix.
  • Say which user-facing signals would confirm recovery and who needs an update.

Evidence to use: Recall a release where compatibility or data safety affected the recovery plan, even if someone else led the decision.

Avoid

  • Promising a one-click rollback before checking the migration.
  • Taking a green deployment status as proof that requests are succeeding.

Terraform and cloud design

Explain how you review infrastructure changes and choose a design that the team can operate.

A Terraform plan wants to replace a production resource. How would you review it?

What they want to learn: The interviewer is looking for sound change control and a working understanding of state, drift and resource replacement.

Answer plan

  • Confirm the target account, environment and state. Find the attribute or address change that triggered replacement.
  • Compare the plan with the intended configuration and the live resource. Check for drift, a move within the configuration or a provider change.
  • Assess the effect on data, dependants and availability. Work out how the team would restore service if the change failed.
  • Review the resulting plan through the team's normal process, then describe what you'd check after an approved apply.

Evidence to use: Use a real change where you checked plan output, traced drift or helped review a replacement. Say who approved and applied it.

Avoid

  • Assuming every replacement is a harmless recreation.
  • Reaching for state edits before identifying the cause.
How would you design and operate a new internal service on our cloud platform?

What they want to learn: The interviewer wants to see which requirements drive your choices and whether you can explain what the team will have to support.

Answer plan

  • Ask who uses the service, what data it holds and how much downtime or data loss the team can tolerate.
  • Sketch one plausible design. Follow a request through identity, networking, compute and data storage, and explain where a managed service makes sense.
  • Describe how you'd provision and release it, what you'd monitor and how you'd test restoration if it holds important data.
  • Name a plausible failure and explain what the on-call engineer would see and do.

Evidence to use: Draw on a system you helped build or support and identify a constraint that changed the design.

Avoid

  • Adding Kubernetes or multiple regions before agreeing the service requirements.
  • Listing components without explaining their failure modes or ownership.

Linux, containers and networking

Use specific checks to narrow down where requests are failing.

A Kubernetes deployment is running, but users get 503 responses. Where do you start?

What they want to learn: The interviewer wants to see how you work through the traffic path and interpret what Kubernetes reports.

Answer plan

  • Identify which layer returns the 503 and whether it affects all routes, replicas or only a newly deployed version.
  • Check the rollout and pod readiness. Inspect events or app logs where the symptoms point you.
  • Check the Service selectors and ready endpoints, then verify ports and ingress or gateway routing as needed.
  • Describe how you'd test the likely fix through the route users take and check if the error rate falls.

Evidence to use: Choose a real container networking, readiness or routing fault. Explain the observation that moved your diagnosis forward.

Avoid

  • Assuming a running pod is ready to receive traffic.
  • Restarting every pod before checking whether the Service has ready endpoints.
A service can reach a dependency from one Linux host, but connections time out from another. What would you compare?

What they want to learn: The interviewer is checking that your network checks follow the evidence and run from the affected environment.

Answer plan

  • Confirm the hostname, port and runtime context on both hosts. Check whether they resolve the name to the same destination.
  • Compare routes, proxy settings and the result of opening a connection from each host. If the connection opens, check whether the delay is in TLS or the application response.
  • Use the result to focus on the relevant application logs or network controls, such as a firewall rule, security group or proxy route.

Evidence to use: Use an example where checking from the affected host or container turned up something your laptop could not show.

Avoid

  • Treating a failed ping as proof that the service port is closed.
  • Changing network rules before confirming the source and destination of the failing request.

Incident response and observability

Show how you use production signals to judge urgency, choose a mitigation and check recovery.

Tell me about a production incident you helped resolve. What did you do in the first few minutes?

What they want to learn: The interviewer wants to understand your role and whether you prioritised restoring service as the cause became clearer.

Answer plan

  • Describe the first alert or report, the user impact and your responsibility at that point.
  • Explain what you checked and how it shaped your first action or escalation.
  • Say who kept others informed, what mitigated the incident and which signal showed that users had recovered.
  • Describe one change the team made afterwards and how you know whether it helped.

Evidence to use: Use an incident where you remember the order of events. A supporting role works if you can explain your contribution.

Avoid

  • Retelling the incident as if the root cause was obvious from the start.
  • Leaving out how you knew the mitigation worked.
An alert pages the team most nights, but investigation rarely leads to action. How would you improve it?

What they want to learn: The interviewer wants to see whether you can reduce avoidable pages while preserving detection of real failures.

Answer plan

  • Review recent pages and see which ones coincided with a user problem or needed someone to act.
  • Check whether the threshold and time window match the service's traffic and reliability objectives, if it has them.
  • Propose a change and test it against recent incidents. Explain which conditions should page and which can go to a ticket or dashboard.
  • Update the runbook with the first checks and review the results with the on-call team.

Evidence to use: Think of an alert you tuned, consolidated or rewrote. What happened to the pages or the time it took to understand them?

Avoid

  • Muting an alert before checking whether it catches genuine incidents.
  • Turning a single resource metric into a page without knowing what action it calls for.

Credentials and automation

Explain how your changes limit access and behave when a job fails or runs again.

How would you let a CI runner deploy to the cloud with limited access?

What they want to learn: The interviewer wants practical knowledge of identity, permissions and the boundary between a build and a production deployment.

Answer plan

  • Identify which job needs access, when it runs and exactly what it needs to change in each environment.
  • Where the CI and cloud platforms support it, describe federation such as OpenID Connect to obtain short-lived credentials. Scope trust to the intended repository and deployment context.
  • Explain how release protections and environment-specific permissions affect who or what can deploy.
  • Describe how you'd verify an authorised job can deploy, check that other jobs lack that access and trace deployments in audit logs.

Evidence to use: Use a pipeline or workload identity you configured or reviewed. Be clear about which parts the platform handled for you.

Avoid

  • Giving a shared runner broad production permissions for convenience.
  • Assuming a hidden repository variable provides the same protection as a scoped identity.
How would you automate a task that has to run safely after a partial failure?

What they want to learn: The interviewer wants to know whether your scripts behave predictably when they encounter existing state, timeouts or a repeat run.

Answer plan

  • Define the intended end state and identify which actions have side effects.
  • Read what has already completed before making changes. Explain how the operation would recognise a successful earlier step.
  • Choose which errors merit a bounded retry and which should stop the job with a clear error.
  • Describe how you'd test a clean run, an interrupted run and a rerun.

Evidence to use: Pick a Bash, Python or pipeline automation example that had to cope with an existing resource or a job being run twice.

Avoid

  • Retrying every error without considering side effects.
  • Suppressing failures so the pipeline appears green.

Working with engineering teams

Show how you handle release pressure and change a workflow that other teams depend on.

Tell me about a time you disagreed with another team about a release or infrastructure change.

What they want to learn: The interviewer is looking for a concrete example of how you weighed delivery pressure against operational risk.

Answer plan

  • Explain what the teams wanted and which risk or dependency made the decision difficult.
  • Describe the evidence you brought and what you learned from the other team.
  • Say who made the decision, what the teams agreed to do and what happened after the change.

Evidence to use: Recall a real disagreement about a release window, approval, dependency or recovery option.

Avoid

  • Portraying the other team as careless without explaining its constraints.
  • Leaving the decision or outcome vague.
How did you get a team to adopt a shared pipeline or platform workflow?

What they want to learn: The interviewer wants to know whether the workflow solved a problem teams felt and whether they could keep using it after rollout.

Answer plan

  • Name the problem in the old workflow and ask what made switching hard for the team.
  • Describe the first adoption, the feedback it produced and what you changed before asking other teams to switch.
  • Explain who owned updates and exceptions. Give an outcome you can support, such as fewer manual release steps or feedback from the teams that adopted it.

Evidence to use: Use a real rollout, even if it was one repository or one team moving to a standard template.

Avoid

  • Counting a template merge as adoption without checking whether teams used it.
  • Describing the migration as a tooling decision and leaving support ownership unclear.
02

Questions to ask them

“Can you walk me through the last production release and point out which steps still needed someone to intervene?”

A recent release gives you a picture of the workflow and where this hire might spend time improving it.

“Who owns a service in production, and what happens when the first person paged needs help?”

You'll learn where responsibility sits and what support you can expect during an incident.

“How often would I join the on-call rota, what hours does it cover and what has a typical shift looked like recently?”

The schedule and recent out-of-hours workload help you judge what the rota would mean for you.

“How do teams request an infrastructure change, and which changes can they make themselves?”

This shows how much of the job is platform development, review or handling requests.

“What changed after a recent production incident, and who had time to make the change?”

A real example shows how the team handles follow-up alongside planned engineering work.

“What would you want this hire to have improved by the end of the first three months?”

You can see whether the immediate need is release reliability, a migration or day-to-day operational support.

03

What interviewers look for

CI/CD and release safety

The team needs to know which version is running and how quickly it can contain a bad release.

Evidence to prepare

  • Which change to a pipeline reduced manual steps or made a failed release easier to recover from?
  • Where did your pipeline verify an artefact before and after deployment, and what stopped promotion?

Infrastructure as code

A small configuration change can replace a resource or affect several environments. You need to recognise that risk during review.

Evidence to prepare

  • When did a Terraform plan change your view of whether a pull request was safe to apply?
  • How did your team handle state access, concurrent changes or drift in a system you maintained?

Systems and network troubleshooting

A timeout at the application boundary can come from several layers. A good first check narrows the search before you make changes.

Evidence to prepare

  • Which timeout, TLS error or resource limit looked like an application bug at first? What evidence narrowed it down?

Observability and incident response

An on-call engineer needs to tell whether users are affected, choose a mitigation and verify recovery while the team investigates.

Evidence to prepare

  • Which metric, log or trace changed an incident decision you were involved in?
  • What follow-up after an incident changed an alert, a runbook or an operational practice?

Cloud access and secrets management

Build runners and deployed services often need different permissions. The way you issue credentials determines what a mistake or leak can expose.

Evidence to prepare

  • Where did you scope permissions for a workload, runner or engineer, and how did you check existing jobs still worked?
  • How did a service you worked on obtain and rotate its secrets?

Automation and work across teams

A shared tool has to fit the way teams release software. Once people depend on it, they also need a clear route for support and changes.

Evidence to prepare

  • What recurring task did you automate, and who maintained it once it was in use?
  • When did another team's migration constraint change your rollout plan?
04

Interview process examples

UK employers often start with a recruiter or hiring manager call and follow it with a technical interview. A small team may cover troubleshooting and team fit in one session. A larger employer may schedule a practical exercise and a separate panel. Ask for the format before you prepare for a particular test.

  1. Recruiter or initial screening call

    Phone or video call

    Early in the process, before the technical round

    Common

    You summarise your recent work and discuss the stack, working location, salary expectations and notice period. If the role includes on-call cover or requires sponsorship or clearance, the recruiter may ask about it here.

    What they assess

    • Relevant hands-on experience
    • Clarity about your own responsibilities
    • Fit with the role's practical requirements

    How to prepare

    • Pick a recent service and explain in about a minute how it was deployed, who supported it and what you owned.
    • Know your notice period and what you can commit to for office attendance and on-call cover.
  2. Technical interview

    Video or in-person discussion, sometimes with a shared editor or whiteboard

    After initial screening

    Common

    The interviewer may trace one of your changes from Git commit to production, then switch to a live scenario such as a failed deployment or a service timing out. Follow-up questions often probe what would change your diagnosis and how you'd recover safely.

    What they assess

    • CI/CD and infrastructure fundamentals
    • Linux, networking and cloud knowledge relevant to the stack
    • Troubleshooting under uncertainty
    • Judgement about production changes

    How to prepare

    • Sketch a pipeline you know, including how it authenticates, promotes an artefact and checks a rollout.
    • Practise explaining how you'd trace a failed request through DNS, the load balancer and the application.
  3. Practical task

    Live pairing, a timed exercise or a short take-home task

    During the technical round or between interviews

    Possible

    You may review a Terraform plan, repair a pipeline in a sample repository or work through logs from a failing service. Some employers use a brief verbal walkthrough in place of a separate exercise.

    What they assess

    • Ability to verify a diagnosis or fix
    • Safe handling of credentials and production changes
    • Readable changes and clear handover notes

    How to prepare

    • Ask how long to spend and which tools, documentation or assistants are permitted.
    • Practise making one focused change in a sample repository and writing down how you checked it.
  4. Team or final interview

    Manager conversation or small panel, sometimes combined with the technical round

    After the technical round when the employer runs a separate final interview

    Possible

    You may discuss an incident, a disagreement about a release or how you got teams to adopt a shared workflow. Senior candidates may also be asked to defend design choices and explain how they'd bring other teams through a migration.

    What they assess

    • Incident communication and ownership
    • Ability to work with product and engineering teams
    • Technical leadership at the level the role requires

    How to prepare

    • Bring an example where another team had a different constraint and explain how it affected your decision.
    • Ask who owns services after deployment and how the on-call rota works in practice.

Small team with broad ownership

One interview may cover the pipeline, cloud administration and operational support. Expect questions about which recurring problems you'd automate first.

Cloud-native platform team

The technical round may go deeper into Terraform modules, Kubernetes networking or GitOps, including how teams get safe access to shared infrastructure.

Senior or lead role

A design discussion may test migration sequencing, how you handle exceptions to platform standards and how you measure adoption.

Regulated or government-related work

Expect more discussion of change evidence, access controls and audit trails. Some posts have specific screening or clearance requirements, which the employer should explain.

05

Your preparation plan

Read the job description for clues about what the team owns. A team that runs a shared Kubernetes platform will want different detail from one that maintains build pipelines and virtual machines. Refresh the tools the advert names. If you used a different tool, map it to the same job, such as promoting a tested artefact or reviewing an infrastructure change.

Draw one system you know well enough to explain without a diagram from work. Mark where a change is reviewed, how it gets access to an environment, what tells you it is healthy and how someone on call can stop or reverse it. For each example, keep a fact you can stand behind, such as a manual step you removed or an alert that stopped waking the team for a harmless condition.

The week before

  • Match the advert's stack to your experience and pick one example for its main responsibility, whether that's CI/CD, infrastructure or production support.
  • Sketch the build, test and release path for a service you know, including how the team verified a deployment.
  • Review a sample Terraform plan with a resource replacement and practise deciding what needs investigation before approval.
  • Run through a Linux or container fault and explain what each check rules in or out.
  • Write a short timeline of a real incident. Include the first signal, the decision that restored service and the follow-up the team took.

The day before

  • Confirm the interview format and check any rules on documentation, AI tools and screen sharing for the practical exercise.
  • Open the editor and terminal you expect to use, and test any sample repository or supplied environment you're allowed to access.
  • Rehearse a clear explanation of your current responsibilities and have your notice period to hand.

On the day

  • Keep a compact prompt sheet with the examples you plan to use, the outcomes you can verify and the questions you want to ask.
  • Before solving a technical scenario, confirm the affected environment, user impact and what access the interviewer is assuming.
06

Tests and assessments

Pipeline or infrastructure review

Possible

You may get a small repository with a failing workflow, a Terraform configuration or a plan to review. The interviewer may ask for a focused fix or an explanation of what you would approve and how you would verify it.

What is assessed

  • Reading build output or plan changes
  • Choosing a small, safe change
  • Testing and explaining the result

How to prepare

  • Practise reviewing one CI workflow and one Terraform plan with an unexpected change.
  • Get comfortable explaining what validation or a plan can establish and what would require a check in the target environment.

Live troubleshooting scenario

Possible

You may get a symptom and a few logs, metrics or command outputs. The interviewer may reveal more as you ask for checks, or invite you to use a sandbox terminal.

What is assessed

  • Scoping the impact
  • Selecting checks that test a hypothesis
  • Mitigating safely and verifying recovery

How to prepare

  • Practise asking for the user symptom, time of onset and recent changes before narrowing the fault.
  • Work through a DNS, readiness or failed-release scenario and say what each result would make you check next.

Platform or deployment design discussion

Depends on the employer

A whiteboard or screen-share exercise might ask you to design a deployment platform or migrate several services to it. You'll be expected to work with incomplete requirements and explain how teams would adopt and operate the design.

What is assessed

  • Requirements and constraints
  • Design trade-offs
  • Migration and ongoing service ownership

How to prepare

  • Practise sketching a small design and explaining which requirement would make you change it.
  • Work through migration order, recovery and ownership for a team that needs extra time to move.
07

On the day

In person

  • Check the building entrance, visitor instructions and whether the employer wants photo ID or a laptop.
  • Bring a sanitised sketch of a system you can redraw. Keep employer code, logs and internal diagrams out of your examples.
  • On a whiteboard, label the affected environment and trace the request or deployment path before you add components.

Remote

  • Test screen sharing on the interview platform and use a terminal or editor font your interviewer can read.
  • Share the exercise window and close work accounts, secret stores and unrelated tabs before the call.
  • In a live task, say what you expect each check to show. If the supplied environment fails, explain what you've observed and agree how to continue.
08

Preparation pitfalls

Listing tools as the whole answer to a design question.

Pick one component and explain the requirement it met, who operated it and how you knew it was healthy.

Trying a restart or rollback before finding out what is affected.

Establish the scope and recent changes, check which mitigations are safe and choose a signal that confirms recovery.

Treating a successful build as proof that a release is healthy.

Explain how you identify the deployed version and check user-facing behaviour after rollout.

Reviewing the Terraform syntax and overlooking a resource replacement.

Read the plan and check what a replacement would do to data, dependants and availability.

Describing an incident entirely in terms of what 'we' did.

Give the team context, then identify the check, decision or update you personally owned.

09

After the interview

If you send a follow-up, mention a specific part of the discussion, such as an upcoming migration or the team's handover between platform and application engineers. If you submitted a practical task, keep the submission confirmation and note any assumptions the reviewer needs. If the decision date passes, a short check-in with the recruiter is enough.

Read any conditional offer alongside its screening requirements. The employer must check your right to work before you start. References and other checks vary by employer. If the post requires UK national security clearance, ask what level it needs and which organisation will sponsor the vetting.

If an offer arrives

  • Check base pay, any on-call allowance and how call-outs or time off in lieu are handled.
  • Confirm rota frequency, cover hours, escalation support and how new starters are introduced to on-call.
  • Check office attendance and whether the team supports services outside UK working hours.
  • Clarify any offer conditions, including references, screening, visa sponsorship or security clearance where relevant.
  • Ask what access and training you'll get before you're expected to make production changes or take a shift.
10

Frequently asked questions

From guide to application

Make your CV and your answers tell the same story.

Use cvlift to tailor your CV to the role and bring the most relevant experience forward. Then use this guide to practise the examples behind it.