DevOps interview questions: reliability, toil and automation

Reviewed by Mark Dickie · Last updated

6 questions on this page you can answer and see marked on the spot. Go to the first one

DevOps is a set of practices that joins software development and IT operations, so one team builds, ships and runs a service. For reliability and toil automation roles, interviewers mostly test three things: how you measure reliability, how you find and remove repetitive operational work, and what you do when an automated fix fails. Answer each scenario out loud before you reveal the reasoning, because the follow-up questions are where candidates lose ground.

Which DevOps topics do reliability interviews test?

TopicWhat a strong answer shows
SLO and error budgetPicking an SLI such as the ratio of successful requests, and what the team does once the budget is spent
ToilManual, repetitive work tied to a service that grows with traffic, measured in hours per week
Runbook automationTurning a manual runbook step into a script with a dry-run flag and a rollback step
Alert tuningReplacing cause-based pages with symptom alerts keyed to SLO burn rate
Progressive deliveryA canary that rolls back automatically when health checks fail

How should you answer an automation scenario?

  1. Restate the failure mode and how many users it reaches.
  2. Check whether a runbook, alert or pipeline step already covers it.
  3. Automate the step you repeat most, with a dry run and a way back.
  4. Measure the toil before and after, in on-call hours per week.

Key facts

  • Tarmac has 11 DevOps interview questions on this topic, 10 of them on this page, at difficulty 1–4 of 5.
  • Tarmac tracked 2,457 job postings asking for DevOps in November 2026.
  • Roles asking for DevOps advertise a median base salary of £75,000, across 755 job postings as of November 2026.
  • Tarmac last reviewed these DevOps interview questions on 16 November 2026.

At a glance

Questions10 shown · 11 in the bank
Difficulty1–4 of 5
FormatsMultiple choice, Ordering, True / false, Multiple answer, Fill in the blank, Design exercise, Short answer

What you'll review

  1. toil automation

Practice questions

Try one before you open the answer. Pick an option and press Check; it's marked on the spot.

In Google's Site Reliability Engineering (SRE) model, which of the following tasks is the clearest example of toil?#

Options

Show answer

Manually restarting a service by hand every time the same alert fires is a classic example of toil. In SRE terms, toil is manual, repetitive, automatable work with no lasting value that grows linearly with the service. Designing systems or building automation is engineering work, because it gives a lasting benefit and reduces future toil.

Why:

In the SRE book, toil is manual, repetitive, automatable, tactical work that has no lasting value and grows linearly as the service grows. Manually restarting a service every time the same alert fires matches all of these traits. Redesigning the architecture and building a certificate-rotation tool are engineering work: each is done once and keeps paying off. Writing a postmortem for a new kind of outage takes judgment and leaves lessons the team can use later. That makes it overhead or engineering work, not toil.

A team keeps restarting a stuck service by hand. Put these ways of handling the task in order from MOST manual toil to LEAST, following the automation spectrum.#

Put these in order

Show answer

Toil automation goes from most to least manual like this: typing commands by hand from a runbook, then running a script by hand, then having an alert start the script automatically, and finally redesigning the system so the task is never needed. Each step needs less human work, and getting rid of the task entirely is the best outcome.

Why:

Typing each command from a runbook takes the most human effort and leaves the most room for mistakes. A script still needs a person to notice the problem and run it, but it removes the manual steps. Starting that script automatically from an alert takes the human out completely. Redesigning the service so the task is never needed comes last, because it removes the toil altogether. The Google SRE book describes this as the end of its automation spectrum: systems that need no automation at all.

In Google's SRE book, toil is work that scales linearly as a service grows, so work that gets bigger in step with traffic or user count is a sign of toil.#

Options

Show answer

Yes. Google's SRE book defines toil partly as work that scales linearly with service growth. When a task grows in step with traffic, users or the number of servers, such as setting up each new customer by hand, the human effort rises with the service. That makes it toil and a good candidate for automation.

Why:

Google's SRE book lists "scales linearly with service growth" as one of the defining traits of toil. If a task grows in direct proportion to service size, such as handling each new customer's setup by hand, the people cost keeps rising as the service grows. Work that has lasting engineering value, such as automation that handles growth by itself, does not grow this way. That is why linear scaling marks a task as toil and a good target for automation.

According to Google's SRE book definition, which of the following characteristics describe toil? Select all that apply.#

Options

Pick every one that applies.

Show answer

Toil, as Google's SRE book defines it, is operational work that is manual, repetitive, automatable, tactical, lacking enduring value, and scales linearly as the service grows. Work that leaves a lasting improvement, or creative work like designing architecture, counts as engineering, not toil. SRE teams try to keep toil below about 50% of their time and automate it away.

Why:

The Google SRE book defines toil as work tied to running a production service that tends to be manual, repetitive, automatable, tactical, without enduring value, and that scales linearly as the service grows. That makes manual work, repetitive work, and work that grows O(n) with the service all toil. Work that produces enduring value is the opposite of toil: it leaves the service permanently better. Strategic design work is engineering, not toil, because it needs human judgment and isn't repeated mechanically.

In Google's SRE book, Google states a goal of keeping each SRE's time spent on operational work (toil) below _____ percent, so that the remaining time can go to engineering work such as automation that reduces future toil.#

Show answer

In Google's SRE book, Google states a goal of keeping each SRE's time spent on operational work (toil) below 50 percent, so that the remaining time can go to engineering work such as automation that reduces future toil.

Why:

The Google SRE book (the "Eliminating Toil" and "Introduction" chapters) says Google caps operational work, including toil, at 50% of an SRE's time. At least half of an SRE's time should go to engineering projects that cut future toil or add service features. If toil goes over this cap, that is a signal to send operational load back to the development team or to put more effort into automation. Without the cap, toil can grow until it fills all of the team's time.

In Google's SRE model, overhead work such as team meetings, writing performance reviews, and HR paperwork counts as toil, because it doesn't directly improve the production service.#

Options

Show answer

No. Google's SRE book does not count meetings, HR paperwork or performance reviews as toil. It calls these administrative tasks overhead. Toil means manual, repetitive, automatable operational work tied to running a production service that grows linearly as the service grows. Overhead isn't production operations work and doesn't grow with the service, so the two are tracked separately.

Why:

Google's SRE book keeps toil separate from overhead. Toil is work tied to running a production service that is manual, repetitive, automatable, tactical, has no lasting value, and grows linearly as the service grows. Administrative chores such as meetings, goal setting, HR paperwork and performance reviews are called overhead. They aren't toil, because they aren't production operations work and they don't grow with service size. So the statement is false.

In Google's SRE book, toil is defined as work that is devoid of enduring value to the service, so long-term engineering projects that build lasting capability count as toil.#

Options

Show answer

False. Google's SRE book characterizes toil as tactical work that is devoid of enduring value, so long-term projects that build lasting capability do not count as toil. Toil is the recurring, operational work that scales with service growth and does not leave the service better over time.

Why:

The SRE book describes toil as work tied to running a production service that tends to be manual, repetitive, automatable, tactical, devoid of enduring value, and scaling linearly with service growth. The statement reverses one of those traits by claiming that long-term projects which build lasting capability are toil. Such projects produce enduring value, which is the opposite of the tactical, no-lasting-value character the book attributes to toil, so they do not fit the definition. The statement is false.

Your SRE team spends about 40% of on-call time handling one recurring ticket: a service's disk fills up with rotated logs and old build artifacts, an alert fires, and an engineer SSHes in, deletes files by hand, and sometimes restarts the service. This happens 15–20 times a week across about 200 hosts. Design a plan to cut this toil. Cover how you would decide what to automate and confirm it is worth the effort, how the automated fix itself would work safely, and how you would measure success and stop the problem from coming back.#

Show answer

First, quantify it: about 18 tickets a week at about 25 minutes each is roughly 7.5 engineer-hours a week, plus context switching and night pages. Two or three weeks of engineering pays back within a quarter, so it's worth doing. Next, go after the root cause. Tag the tickets by what filled the disk. If it's logs, enforce logrotate with size- and age-based retention and compression through config management, and ship logs to central storage so local copies only need about 24h of retention. If it's build artifacts, add a TTL and keep-last-N rule to the build pipeline, or move artifacts to object storage with lifecycle rules. Put logs on a separate volume so a full disk can't take down the service. Some cases will remain, so add an auto-remediation hook for the disk alert. It runs a cleanup that only touches allowlisted directories and file patterns older than N days, is idempotent, and is tested in dry-run mode first. Roll it out to a canary group of 5 hosts, then in batches, with a concurrency cap. Each run logs what it deleted and how much space it freed. If disk usage is still above the threshold afterward, or remediation fires more than X times a day on one host, it pages a human with the context attached, so a sudden spike in log volume stays visible. To measure success, track tickets per week (target close to 0), toil hours, remediation success rate, and how often remediation fires per host. Add a disk-growth-rate alert as an early warning. Review these metrics in a monthly toil review, keeping toil under the 50% cap with a goal of reaching about 10%, and treat any rise in remediation frequency as a bug to fix at the source.

Why:

A strong answer treats toil reduction as engineering work. It justifies the investment with data, removes the source of the work where possible instead of just scripting the manual steps, builds any auto-remediation with guardrails (allowlists, canaries, audit logs, escalation), and measures results so the fix lasts. These four parts are what separate real toil elimination from adding a cron job that deletes files.

Your SRE team spends about 60% of its time on toil: manual certificate rotations, restarting stuck queue consumers, and handling disk-full pages. Leadership wants you to "automate everything" this quarter. Using Google SRE's definition of toil, explain (1) how you would decide which toil to automate first and how you would justify the investment, and (2) two specific risks that automation brings in that the manual process did not have, plus how you would reduce each one.#

Show answer

Toil is work that is manual, repetitive, automatable, tactical, has no lasting value, and grows linearly (O(n)) with service size. First, measure it. Tag tickets and pages, and track time per task and how often it happens. Then rank tasks by frequency × time × growth rate against the cost to build and maintain the automation, and compute a payback or break-even period. Disk-full pages are often a symptom, so fixing the root cause (log retention, autoscaling storage) beats scripting a cleanup. Restarting stuck consumers should also lead to fixing the consumer bug, not just automatic restarts. Certificate rotation is a strong candidate for full automation (ACME/cert-manager) because it is predictable and an outage is costly. SRE practice caps toil at about 50% of time, so the goal is to get under that cap, not to reach zero. Risks: (a) Blast radius. Automation repeats mistakes at machine speed, for example mass restarts or deleting the wrong volumes. Mitigate with rate limits, canary or staged rollout, dry-run modes, safety checks or circuit breakers, and a kill switch. (b) Hidden failures and lost skills. Automation can fail silently or hide a worsening underlying problem, and operators forget the manual procedure. Mitigate by monitoring and alerting on the automation itself, logging every action it takes, alerting when it runs too often, keeping runbooks current, and running game days. Treat the automation as production software with tests, code review, and an owner.

Why:

A senior answer uses the formal definition of toil: manual, repetitive, automatable, tactical, no lasting value, and growing linearly with service size. It ranks work by measured frequency and time cost against the cost of building and maintaining automation, and it prefers removing root causes over scripting symptoms. It also recognizes the new failure modes automation introduces: a larger blast radius when it goes wrong, silent failures, symptoms getting hidden, and operators losing skills. It counters these with rate limiting, canaries, kill switches, monitoring of the automation itself, and treating the automation as production code.

Your SRE team spends about 60% of its time on toil. The biggest items are: (1) manually rotating TLS certificates across ~400 services, (2) handling roughly 30 pages a week for disks filling up on stateful hosts, and (3) running ad-hoc database failovers from a wiki runbook. Leadership wants toil below 50% within two quarters. Design a toil-reduction program: how you measure toil, how you decide what to automate first, what automation you would build for these items, and how you keep the automation safe and stop toil from coming back.#

Show answer

Measurement: for two weeks, tag every page and ticket by source and log the minutes spent on it. Run a short on-call survey as well. This gives a baseline per category, for example disk pages at 30/week × 20 min ≈ 10 h/week. Show the toil percentage on a dashboard and review it every sprint against the 50% cap.

Prioritization: score each item as frequency × minutes × growth factor and divide by the estimated cost to build and maintain the automation. Disk pages rank first because they are frequent, interrupt sleep, and are cheap to fix. Cert rotation ranks second because it grows linearly with the number of services, and an expired cert causes an outage. Failover ranks third: it is rare but high risk.

Remove root causes: deploy cert-manager/ACME with 30-day certs, renew automatically, and alert only when renewal fails, so the rotation task disappears. For disks, enforce log rotation and retention, enable volume auto-grow, and replace threshold pages with a predictive alert on time-to-full that opens a ticket instead of paging.

Safe automation: turn the failover runbook into code in stages. First, scripts a human runs with a dry-run mode. Next, one-command failover with precondition checks (replica lag, health) that is idempotent, rate-limited to one failover per cluster per hour, has a kill switch, and writes an audit log. Only after that, automatic failover, which still pages a human afterward.

Prevent regression: keep a team toil budget that can't go over 50%. If it does, project work goes to toil reduction, or the work is handed back to the owning dev team. Production-readiness reviews require automated certs, capacity alerts, and failover before a service is onboarded. Automation code gets owners, tests, and SLOs so it doesn't become new toil.

Why:

A strong answer treats toil reduction as engineering work. It measures toil so there is a baseline and a way to track progress. It ranks candidates by return on investment instead of gut feel. Where it can, it removes the cause of the toil rather than scripting the manual steps. It adds guardrails to risky automation such as failover. It also builds in a mechanism, like a toil cap or readiness review, so toil doesn't come back. Each rubric criterion checks for one of these concrete parts, which Google's SRE practice on eliminating toil describes.

Related interview questions

Job market

See devops salaries and hiring demand from live job postings.

The other 1 question

This page shows 10 and marks what you pick. That's as far as a page can go. A free account opens the other 1 and keeps every answer. What you miss comes back until it's right: after a day, then at longer gaps.

Start with this topic

Free · the whole bank · 100 answers per 30 days, each marked with written feedback

Interview booked? Practise the job ad instead

What moved, monthly

One email a month when the bulletin comes out: what moved in the markets we track, and the new question topics we published. Confirm your address to join. Unsubscribe any time.