Practice AssessmentFor Candidates

DevOps Engineer Practice Assessment

Practise the real thing: the task formats employers set for DevOps Engineers, worked examples, and how each one is scored. Five free scored runs a month.

Cohesyve · Practice for candidates

Going for a DevOps Engineer role? Find out how you'd actually score.

Run a DevOps Engineer simulation built the same way employers build theirs, and get a full report showing exactly where you lost marks — before it counts.

5

free assessments a month

$0

no card required

Full

scored report every run

Every

question type included

5 free assessments a month · No card required · Pro from $16/mo

Overview

DevOps assessments are mostly about judgement under constraint. You are handed a broken pipeline, a half-written manifest, or an environment that works locally and fails in staging, and asked to make it correct, repeatable and safe to run again. Tool trivia carries very little weight; the marking is on whether your change is reproducible and whether someone else could operate it. This page covers the usual formats and how they are scored.

Why employers assess this role

The cost of a weak DevOps hire is not slow delivery, it is an outage or a leaked credential, and neither is visible in an interview conversation. Employers assess practically because plenty of candidates can describe a CI pipeline accurately and still write a deployment with no rollback path, secrets in plain text, and state that only exists on one machine.

What gets tested

CI/CD pipeline design and debuggingInfrastructure as code and idempotencyContainerisation and image hygieneSecret handling and least privilegeObservability — logs, metrics and alertingDeployment strategies and rollbackShell and scripting fluencyIncident diagnosis from limited evidence

The format

Duration

60–120 minutes

Question types

  • Fix or extend a broken CI/CD pipeline
  • Write or correct infrastructure as code
  • Diagnose a failing deployment from logs
  • Written reasoning about a deployment or incident scenario

Levels

Entry · Mid · Senior

What you'll be asked to do

Repair a pipeline

A supplied pipeline that fails, runs too slowly, or passes when it should not. Assessors look at whether you fix the cause or paper over the symptom.

  • A build passes locally and fails in CI; identify the environment difference
  • A pipeline takes twenty minutes because nothing is cached; make it reasonable
  • A test stage is green because failures are being swallowed by the shell

Write infrastructure as code

Usually a small module or manifest. What is marked is idempotency, sensible defaults, and whether a second apply is a no-op.

  • Define a service with health checks, resource limits and a rolling update strategy
  • Add a new environment without copying the existing one wholesale
  • Correct a module that recreates a resource on every apply

Handle secrets and access

Almost always present, often quietly. A credential committed to the repository or an over-permissive role is treated as a serious failure regardless of the rest of the work.

  • Remove a hard-coded credential from a pipeline and supply it safely
  • Scope a deployment role down to what it actually needs
  • Decide how a rotated secret reaches running workloads without a rebuild

Diagnose a failure in a running system

You are given logs, a status output, or a description of the symptom, and asked to work back to the cause and say what you would change afterwards.

  • Pods restart in a loop after a deploy; establish why from the events and logs
  • A service is healthy but returning errors to one caller only
  • Disk fills on a node overnight and recovers after a restart

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.

Sample tasks — and what strong looks like

A deployment succeeds but the new version starts returning errors under load. Describe how you would investigate, mitigate and prevent a recurrence.

Mid

What strong looks like: Restores service first — rolls back or shifts traffic — before diagnosing, then uses metrics and logs to find the cause, and closes with a concrete prevention step such as a readiness probe that reflects real dependency health. Weak answers begin debugging the new code while the outage continues.

Correct a supplied Dockerfile that produces a large, slow-building and root-running image.

Entry

What strong looks like: Orders layers so dependencies cache separately from source, uses a multi-stage build to leave build tooling behind, pins the base image, drops to a non-root user, and can explain which change bought which improvement. Weak answers shrink the image without addressing the privilege or the cache ordering.

A Terraform plan shows a database being destroyed and recreated. Explain what happened and how you would proceed.

Senior

What strong looks like: Reads the plan to identify the attribute forcing replacement, stops rather than applying, and proposes a safe route — a lifecycle guard, a state move, or an out-of-band change reconciled into state. Weak answers apply and treat the plan output as noise.

Add a deployment step to an existing pipeline so that a bad release can be reverted within minutes.

Mid

What strong looks like: Immutable, versioned artefacts, a deployment that can point back at a previous version without a rebuild, a health gate before traffic shifts, and an explicit answer for database changes that cannot simply be reversed. Weak answers define a rollback that redeploys from a moving branch tag.

How to prepare

  • #1

    Practise breaking and repairing your own pipeline, because diagnosis speed on an unfamiliar configuration is the core skill being measured.

  • #2

    Build the habit of running an apply twice and confirming the second run changes nothing, since idempotency is one of the most reliable scoring lines.

  • #3

    Rehearse secret handling until removing a credential from a configuration and supplying it at runtime is routine rather than something you improvise.

  • #4

    Learn to read the failure evidence in order — events, then logs, then resource state — so that incident questions get a method rather than a guess.

  • #5

    Prepare a clear answer for how you would roll back, including the case where a schema migration has already run, as this separates mid from senior consistently.

  • #6

    Sit one full timed mock covering both a practical fix and a written scenario, because the written reasoning section carries more weight here than candidates expect.

Common mistakes

  • Committing credentials or leaving them in environment files in the repository.

  • Fixing a pipeline by disabling the failing check rather than addressing the cause.

  • Writing configuration that is not idempotent, so a second run drifts or destroys resources.

  • Granting broad administrative permissions because scoping them takes longer.

  • Deploying with no health gate and no route back to the previous version.

  • Making manual changes to an environment and leaving them undocumented and untracked.

How it's scored

CriterionWhat strong looks like
ReproducibilityThe change is captured in code, runs the same way twice, and does not depend on anything done by hand on one machine.
Security postureSecrets are injected rather than stored, permissions are scoped to the task, and images do not run as root without reason.
Failure handlingThere is a health gate before traffic moves, a defined way back, and an explicit position on irreversible changes.
Diagnostic methodEvidence is gathered in a sensible order and the conclusion is tied to what was observed rather than to a familiar guess.
OperabilitySomeone else could run, observe and revert the change from what has been written, without a conversation.

Frequently Asked Questions

Which tools will I be tested on?

Usually the ones in the employer's stack, stated in advance. Where a task is tool-agnostic the marking is about idempotency, rollback and access scoping, which transfer across tooling far better than specific syntax does.

Will I have to run real infrastructure?

Rarely. Most assessments use a supplied repository, a plan output or a log excerpt, because provisioning real resources is slow and expensive to mark consistently.

How important is the written scenario section?

More than candidates expect. Incident and rollback questions are where seniority is read, because they show whether you restore service before investigating and whether you think about the changes that cannot be undone.

What single mistake fails candidates most often?

Secret handling. A hard-coded credential or a wide-open permission tends to override an otherwise strong submission, because it is the exact risk the assessment exists to screen for.

Can I rehearse one of these before it counts?

You can, and it is worth doing once. Cohesyve runs five free scored assessments a month with a full report, which is usually enough to expose whether your weakness is diagnosis speed or the written reasoning.

Practise another role

Cohesyve · Practice for candidates

Practise a DevOps Engineer assessment now — free.

Five scored assessments a month, a full report on every run, and a learning pathway built from what you got wrong. No card required.

5

free assessments a month

$0

no card required

Full

scored report every run

Every

question type included

5 free assessments a month · 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.

Practise before it counts

5 free assessments a month

Start practising free