DevOps / Site Reliability Engineer interview kit: questions and rubric
- competencies
- 5
- questions
- 11
- sample answers
- 22
How to use this kit
This kit covers a short screen, five competencies with an incident role‑play, an infrastructure code review and behavioral questions, anchored ratings, the questions never to ask, and a rule for deciding.
- Agree the competencies with the hiring manager before the job is posted.
- Give each interviewer one or two competencies, so nothing is asked twice.
- Ask every candidate the same core questions; follow up freely.
- Rate each competency against the anchors straight after the interview, alone.
- Debrief on quotes, not adjectives, then decide with the rule at the end.
Meet the candidates
Three candidates for the DevOps / Site Reliability Engineer role answer every question below. Each is strong somewhere and thin somewhere else, the way real candidates are, so every question has a strong and a weak answer to compare.

Gaurav ThakurSite reliability engineer, ride-hailing
7 yearsGurugramSeven years keeping high‑traffic services up, and the calm voice on an incident call. Sharp on alerting and on‑call; has mostly run platforms others built, and is thinner on pipelines, cost and access design.

Fatima BelloDevOps engineer, digital banking
6 yearsLagosSix years on a digital bank's cloud platform, rigorous about infrastructure code and access control. Used to change‑approval boards, so she reaches for manual gates; less practiced at alert design.

Jun ParkPlatform engineer, B2B SaaS
4 yearsAustinFour years building the deploy pipeline and developer tooling at a fast‑growing software company. Quick to measure and automate; has carried the pager less, and can move faster than the change history.
Illustrative people. The names are invented, the portraits are AI-generated, and their words were written with AI to show what candidates sound like. Any resemblance to a real person is a coincidence.
First-round screen
Fifteen to twenty minutes, by phone, video or a disclosed AI screen. The aim is to confirm the basics before the panel spends its time.
- What draws you to infrastructure and reliability work, and which part of it do you want more of in your next job?
- Walk me through the platform you run today: what runs where, how code reaches production, and what pages you at night.
- Which of the tools named in the job description (the cloud provider, the infrastructure‑as‑code tool, the container platform, the CI system) have you run in production, and at what scale?
- The job description sets out the location, working pattern, on‑call rota and start date. Do those work for you, what is your notice period, and what compensation range are you expecting?
Competency 1
Incident response
Incidents show the habits that matter most in this role: mitigating before diagnosing, keeping people informed under pressure, and learning without blame.
Question 1: Role‑play, 25 minutes: you are on call.
At 14:10 an alert fires: checkout errors are at 18% and rising. A config change and an application deploy both went out in the last hour. I play the system and your colleagues; ask for any dashboard, log or person. Walk me through what you do, minute by minute. (Script it in advance: what each dashboard shows, and the cause, such as a config change that shrank the database connection pool.)
Follow up with
- Who do you tell, when, and what does your first update say?
- Rolling back the deploy did not help. What next?
- What goes into the incident review, and what stays out?
Strong answer
Gaurav Thakur“14:10, I acknowledge the page, declare an incident and take command for now. First update by 14:15: checkout errors at 18%, investigating, next update in fifteen minutes. Two changes went out this hour, so can I see the error rate against the deploy and config times? If the timing doesn’t single one out, I’d start with the deploy, the usual suspect, and ask the owner to roll it back. If errors don’t drop, that rules out the deploy. Next hypothesis, the config change. What do the error logs say? If it’s database connection timeouts, I want the config diff and the pool metrics. If the pool shrank, I revert that one config, nothing else, and watch for five minutes. Then a blameless review with owned actions.”
What makes it strongAcknowledges the alert and declares an incident, takes or assigns incident command, and posts a short status update early. Checks recent changes first, rolls back the likeliest one, and when that fails moves to the next hypothesis with evidence. Changes one thing at a time, separates mitigation from root cause, and proposes a blameless review with owned actions.Weak answer
Jun Park“Okay, so I’d open the logs for the checkout service and start digging into the errors, see what the stack traces say. I’d probably roll back the deploy and revert the config at the same time, just to get things stable fast. Once it’s fixed I’d let the team know what happened and find out who pushed the config change.”
What gives it awayReads logs alone for 20 minutes without telling anyone, or changes several things at once so nobody knows what fixed it. Blames the person who shipped the change.Question 2: Tell me about the worst incident you have been part of. What was your role, and what changed afterwards?
Follow up with
- What did the timeline show that people did not expect?
- Which follow‑up actions actually got done?
Strong answer
Gaurav Thakur“A certificate on our internal payments gateway expired at 9 p.m. on a Friday, and riders couldn’t pay for about fifty minutes. I was incident commander. A colleague renewed the certificate by hand while I updated support and leadership every fifteen minutes. The timeline surprised everyone: the expiry warning had fired twice that week, into a channel nobody read. So the review wasn’t about who missed it, but why the system sent a critical warning somewhere unwatched. We moved certificates to automatic renewal and added a page for anything expiring within seven days. Six weeks later I checked every action. All five were closed.”
What makes it strongGives a specific incident, their own role in it, the mitigation and the root cause, and actions that were completed and checked. Describes the review as learning about the system, not about who erred.Weak answer
Jun Park“We had an outage when our database ran out of disk late one night. I jumped on, found old logs eating the disk, cleared them out and had everything back up in about an hour. It was pretty intense. We talked about adding disk alerts afterwards, but I’m not sure that ever got done.”
What gives it awayThe story is a late‑night hero fix with no follow‑up, or about whose fault it was. Actions were written down and never done.
| Rating | What it looks like |
|---|---|
| 5 · Strong | Declares and coordinates early, tries the least risky mitigation first, updates people on a steady rhythm, separates mitigation from root cause, and drives a blameless review to completed actions. |
| 3 · Mixed | Mitigates sensibly and communicates when prompted. Finds the cause, but mixes diagnosis with mitigation or needs a nudge to roll back. |
| 1 · Weak | Works alone and silently, changes several things at once, and treats the incident as over when the alert clears. Looks for someone to blame. |
Competency 2
Infrastructure as code and automation
Infrastructure that lives only in a console cannot be reviewed, repeated or rebuilt after a disaster. Engineers who manage it as code make every change visible and reversible.
Question 3: Work sample, 15 minutes: here is a short Terraform or OpenTofu change (use your own tool if different).
It renames a database resource, opens a security group to 0.0.0.0/0 on the database port, and hard‑codes a cloud access key. Review it as you would for a teammate.
Follow up with
- What would the plan show for the renamed database, and why does that matter?
- Where should the key live instead?
- How should this change reach production?
Strong answer
Fatima Bello“First, the rename. Rename a resource and the tool sees a new one and an old one gone, so the plan says destroy and create. On a database, that’s our data. I’d block it and ask for a moved block or a state move, so the plan shows no change. Second, the database port is open to 0.0.0.0/0, the whole internet. That’s a hard no, temporary or not; allow only the application’s security group. Third, the hard‑coded key is already in git history, so it needs rotating today, not just deleting, and the workload should use a role or the secrets manager. And I’d want the plan output on the pull request, applied by the pipeline after review, never from a laptop.”
What makes it strongSpots that the rename would destroy and recreate the database, and proposes a moved block or a state move instead. Rejects the open port and the hard‑coded key, suggests a secrets manager or workload identity, and expects the plan output in review and a pipeline, not a laptop, to apply it.Weak answer
Gaurav Thakur“The formatting’s a bit off, so I’d run fmt on it. The rename looks fine, the new name’s clearer. The open security group, I’d ask if it’s temporary, sometimes you need that for debugging. The key should probably go in an environment variable. Then I’d apply it from my machine and check it worked.”
What gives it awayReviews formatting only, misses that the database would be replaced, or approves the open port as temporary. Applies changes from their own machine.Question 4: Tell me about something you automated that people used to do by hand. How did you decide it was worth it?
Follow up with
- What did it break the first time?
- Who maintains it now?
Strong answer
Jun Park“Every new service needed a pipeline, a staging environment and DNS, set up by hand from a wiki page. Three times a month, half a day each, plus mistakes, like a missing health check that bit us twice. Twelve hours a month, plus the cleanup, made a week of automation worth it. I built a template repo and a script that creates all three from one config file. The first time, it created the DNS record in the wrong zone, because I’d only tested in our sandbox, so I added a dry‑run mode. It lives in the platform repo with tests and a README, and two others have changed it since. Deleting services I left manual: it happens twice a year, and I want a human looking.”
What makes it strongNames the toil, how often it happened and what it cost, the automation built, how it was tested and rolled out, and what it takes to maintain. Knows when a task is not worth automating.Weak answer
Fatima Bello“I wrote a set of Bash scripts that rotate our internal certificates and update the load balancers. I’m the one who runs them, about once a quarter. I haven’t measured how much time it saves exactly, but it’s definitely faster than doing it in the console. The others don’t really touch it.”
What gives it awayAutomated for its own sake, or built a script only they understand. Cannot say whether it saved anything.Question 5: What would you do if production no longer matches the infrastructure code, because people make console changes during incidents?
Follow up with
- How would you find all the drift?
- What would you allow in an emergency?
Strong answer
Fatima Bello“First, find all of it: run a plan against every environment nightly and treat any unexpected difference as a ticket. For what’s already drifted, I’d go change by change with whoever made it. A real fix, like a bigger instance during an incident, I import or write into code. A leftover, I revert through the pipeline. I’d keep an emergency path, because incidents happen: a break‑glass role that’s logged and alerts the team when used, with a rule that anything changed through it is back in code within one working day. And I’d ask why people reach for the console. Usually the pipeline is too slow in an emergency, so I’d build a fast lane for small changes.”
What makes it strongDetects drift with regular plans, imports or reverts each change deliberately, keeps an audited break‑glass path for emergencies with a rule to bring changes back into code within a day, and removes the reasons people reach for the console.Weak answer
Jun Park“The code is the source of truth, so I’d just run apply and bring everything back in line. If someone changed something in the console, it gets overwritten, and that teaches people not to do it. Longer term I’d take console write access away from everyone.”
What gives it awayRuns apply and overwrites production without checking what the console changes were for, or locks everyone out with no emergency path.
| Rating | What it looks like |
|---|---|
| 5 · Strong | Reads every plan for destructive changes, keeps secrets and broad access out of code, applies only through a reviewed pipeline, and handles drift with a clear path back to code. |
| 3 · Mixed | Writes and reviews infrastructure code competently and keeps secrets out of it. Needs prompting on state, destructive plans or drift. |
| 1 · Weak | Misses that the change replaces the database, and treats console changes and keys in code as normal. |
Competency 3
CI/CD and release safety
The pipeline decides how fast and how safely every team ships. A good one makes the safe path the easy path: quick feedback, gradual rollouts and a fast way back.
Question 6: Our pipeline takes 45 minutes from merge to production, and a bad release last month took two hours to roll back.
You have one quarter. What would you look at and change?
Follow up with
- What would you measure first?
- How would you make rollback fast enough that people use it without fear?
- What would you leave alone?
Strong answer
Jun Park“First I’d measure where the 45 minutes go, stage by stage, over a month of runs. Say it’s twenty minutes of uncached builds, fifteen of end‑to‑end tests run in series, and ten waiting for a deploy slot. Then: cache dependencies and build layers, run the end‑to‑end suite in parallel, and move slow checks off the merge path. A two‑hour rollback means it’s manual and scary, so I’d make it one tested command, rehearse it monthly, and add a canary that takes five percent of traffic and rolls back on its own if errors rise. The catch is the database: migrations must stay backward compatible, or rollback breaks. The tests themselves I’d leave alone.”
What makes it strongMeasures where the time goes before cutting anything, caches and parallelizes builds, moves slow checks off the merge path, and makes rollback one tested step. Introduces canary or progressive rollouts with automatic health checks, and backward‑compatible database migrations so a rollback stays safe.Weak answer
Gaurav Thakur“Honestly, 45 minutes usually means the CI tool is the problem, so I’d look at moving to a faster CI vendor. And I’d trim the test suite; a lot of those integration tests don’t need to run on every merge. For rollback, people just need to be quicker at reverting.”
What gives it awayProposes a new CI vendor without measuring, or removes tests to save time. Ignores that a database change can make rollback impossible.Question 7: Tell me about a release that went wrong in a pipeline you owned. What did the pipeline do, and what did you change?
Follow up with
- Why did no check catch it?
- How long did it take to get back to safe?
Strong answer
Jun Park“A release went out with a new environment variable set in staging but missing in production. The app still started, so the health check passed and the pipeline promoted it everywhere. Signups failed for twenty minutes until someone noticed. Our health check asked “is the process up?”, not “can it do its job?”. I changed two things. The app now validates its config at startup and refuses to start without a required variable, so the deploy fails on the first server. And after each canary stage, a smoke test creates a test signup, with automatic rollback if it fails. That time, getting back to safe took twenty minutes; the same failure would now stop at the canary in about two.”
What makes it strongDescribes the failure, why the pipeline let it through, and a specific fix: a smoke test, a canary stage, an automatic rollback on failed health checks, or a rule for migrations.Weak answer
Fatima Bello“We had a release that broke the transfer screen in production. After that we added a manual approval step before every production deploy, so a senior engineer has to sign off. It slows things down a bit, but it’s safer, and developers know to be more careful now.”
What gives it awayBlames the developer who shipped, or adds a manual approval step as the only fix.
| Rating | What it looks like |
|---|---|
| 5 · Strong | Measures the pipeline, makes the safe path fast, ships gradually with automatic checks, keeps rollback one tested step, and fixes the kind of failure after each bad release. |
| 3 · Mixed | Builds and maintains working pipelines with tests and a rollback path. Needs prompting on progressive rollouts, migration safety or measuring where time goes. |
| 1 · Weak | Treats the pipeline as a black box, cannot describe how a rollback works, and fixes failures with manual gates. |
Competency 4
Observability and alerting
An on‑call engineer is woken by whatever someone chose to measure. Alerts tied to what users feel, with dashboards and traces that answer the next question, decide how fast anyone can respond.
Question 8: A service has 60 alerts, mostly on CPU, memory and disk, and the on‑call engineer is paged about ten times a week, usually for nothing. What would you change?
Follow up with
- What would you page on instead?
- How would you set the thresholds?
- How do you get the team to agree to delete alerts?
Strong answer
Gaurav Thakur“I’d start with what users of the service feel: do requests succeed, and how fast. I’d agree on an SLO with the team, say 99.5% of requests succeed in under 500 milliseconds over thirty days, and page only on that, using burn rate: page if we’d exhaust the month’s error budget within a couple of days, ticket if it’s slower. CPU and memory move to dashboards; disk filling up becomes a ticket with a forecast. To get agreement, I don’t argue in theory. We go through last month’s pages together and ask of each: did a human need to act right then? Usually it’s two out of forty. That makes the case.”
What makes it strongMoves paging to user‑facing symptoms (errors, latency, availability) measured against an agreed service level objective, demotes cause‑based alerts to dashboards or tickets, uses error‑budget burn rates to set urgency, and reviews every page for whether it needed a human.Weak answer
Fatima Bello“I’d go through the alerts and raise the thresholds, so CPU pages at ninety percent instead of seventy, that kind of thing. That should cut the noise. And where we’ve missed things in the past, I’d add a few more alerts to cover those.”
What gives it awayRaises every threshold, or adds more alerts to catch what was missed. Cannot explain an SLO or why a CPU alert might not matter.Question 9: Tell me about a time your monitoring missed a problem that users noticed first. What did you change?
Follow up with
- What signal would have caught it?
- How did you check the new alert fires?
Strong answer
Gaurav Thakur“A nightly job that sends driver payout files to the bank stopped running after a scheduler migration. Nothing errored, because nothing ran. We found out four days later, when drivers called support asking where their money was. We’d only ever alerted on the job failing, never on it not happening. So I added a dead man’s switch: the job checks in when it finishes, and if no check‑in arrives by 3 a.m., it pages. I also added a check that the bank’s confirmation file came back. To be sure the alert works, I paused the job in staging one night and waited. The page came at 3:01.”
What makes it strongNames the gap (a silent failure, an outage in one region, a scheduled job that stopped running), the signal added (a synthetic check, an alert on missing data, a trace), and how they tested that it fires.Weak answer
Jun Park“There was a time one region got slow and customers reported it before we saw it. After that I built a dashboard with latency for every region, so it’s all in one place now. I’m not sure the team looks at it much, but it’s there if anyone needs it.”
What gives it awayAdded a dashboard nobody watches, or blamed users for reporting late.
| Rating | What it looks like |
|---|---|
| 5 · Strong | Pages only on user‑facing symptoms tied to SLOs, keeps the rest as dashboards or tickets, closes blind spots after every miss, and tests that alerts fire. |
| 3 · Mixed | Uses metrics, logs and traces competently and knows what an SLO is. Needs prompting to move paging to user‑facing symptoms or to test alerts. |
| 1 · Weak | Alerts on every resource metric, cannot explain an SLO, and accepts constant noisy pages as normal. |
Competency 5
Cost and security
Platform engineers hold the keys and the cloud bill. Least‑privilege access, patched images and right‑sized resources cost less built in than bolted on after an audit finding or a surprise invoice.
Question 10: What would you do if the monthly cloud bill rose 40% in two months and finance asked you why?
Follow up with
- Where would you look first?
- Which savings would you not take, and why?
Strong answer
Jun Park“I’d break the bill down by service, then by team using our tags, then by day, to see when the rise started. A 40% jump usually has two or three causes. Ones I’ve seen: a staging cluster sized up for a load test and never scaled back, cross‑region transfer from a new replica, and debug logging left on. The safe wins that week: delete forgotten environments, turn debug logs off, reserve capacity for steady workloads. I wouldn’t shrink the production database or drop the replica to save money; that’s a reliability call. Then budgets per team, alerting at eighty percent. To finance: here’s what grew, why, what we’ve cut, and what we’re keeping on purpose.”
What makes it strongBreaks the bill down by service, team and tag, finds the drivers (an oversized cluster, forgotten environments, data transfer, log volume), takes the safe quick wins, and puts budgets, alerts and ownership tags in place. Weighs each saving against reliability and explains the trade‑off to finance in plain terms.Weak answer
Gaurav Thakur“I’d tell finance that cloud costs grow with traffic, so some of that is expected. If they want it down, we could drop every instance one size across the board and see what happens. Honestly the bill is pretty hard to read, so I’d ask our cloud account manager to explain it.”
What gives it awayCuts instance sizes across the board without checking load, or says cost is finance’s problem. Cannot explain what the bill is made of.Question 11: Tell me about a change you made to make access to production safer. What was the risk, and what did you do?
Follow up with
- How were secrets stored and rotated afterwards?
- What would you do in the first hour after a key leaked?
Strong answer
Fatima Bello“When I joined, production access was one shared admin user, with three‑year‑old keys in a password manager and on a few laptops. I moved us to single sign‑on with roles: read‑only by default, plus a break‑glass admin role you request for an hour, logged and announced in the team channel. Application secrets went into a secrets manager with ninety‑day automatic rotation, and we added image and dependency scanning to the pipeline. For a leaked key, the first hour is: revoke it, issue a replacement, go through the audit logs for everything that key did, then work out how it leaked. Investigating before revoking only gives an attacker more time.”
What makes it strongDescribes moving to least‑privilege roles, single sign‑on or short‑lived credentials instead of shared keys, an audited break‑glass path, a secrets manager with rotation, or image and dependency scanning in the pipeline. For a leaked key: revoke first, then rotate, check the audit logs, and find how it leaked.Weak answer
Gaurav Thakur“We have a shared admin account for the on‑call team. The password’s in the team vault, and it’s the fastest way to fix things at 3 a.m. Keys don’t really get rotated unless someone leaves. If a key leaked, I’d first find out how it happened and what it touched, then rotate it once we understood the scope.”
What gives it awaySees no problem with a shared admin account or long‑lived keys. Cannot say how a leaked key would be revoked, or would investigate before revoking it.
| Rating | What it looks like |
|---|---|
| 5 · Strong | Breaks cost down by owner and cause, takes savings that do not hurt reliability, and builds least privilege, short‑lived credentials, rotation and pipeline scanning into the platform by default. |
| 3 · Mixed | Finds the obvious cost drivers and follows least‑privilege practice. Needs prompting on ownership, budgets, rotation or the reliability cost of a saving. |
| 1 · Weak | Cannot explain what drives the cloud bill, and accepts shared admin keys or long‑lived secrets as normal. |
Never ask
- Don’t ask a candidate’s age, or their graduation year to work it out. Why: age says nothing about operations skill, and age‑based decisions are unlawful in many places.
- Don’t ask about marital status, children, pregnancy or caregiving duties, even to judge on‑call availability. Why: none of it is job‑related, and it is put mostly to women. Describe the on‑call rota and ask every candidate whether they can work it.
- Don’t ask about religion, caste, community or the origin of a surname, directly or by proxy (“What does your father do?”). Why: in India these questions signal caste and religion, which have no bearing on the job.
- Don’t ask “Where are you from originally?” or “What is your native place?” Why: it invites judgments about region, language and community. If location matters, ask whether the candidate can work from the job’s location.
- Don’t ask about health conditions, disabilities or past medical leave, including whether they can handle night pages. Why: the only relevant question is whether the candidate can perform the essential functions of the job, with or without reasonable accommodation.
- Don’t ask about arrests or criminal records in the interview, even though the role holds production access. Why: many US states and cities restrict when employers may ask, and an arrest is not a conviction. If the role needs a background check, run it lawfully and at the stage the law allows.
- Don’t ask for salary history where the law restricts it: many US states and cities do, and the EU Pay Transparency Directive requires member states to. Why: it carries past pay gaps into the new offer. Ask for the expected range; in India, where current pay is commonly asked, still set the offer from the role’s band.
- Don’t ask the candidate to describe their current employer’s network layout, security controls or unpatched weaknesses. Why: it asks them to breach confidentiality, and a candidate who complies would do the same with yours. Ask about problems and their own decisions in general terms.
Making the decision
Each interviewer rates their competencies alone, against the anchors, before the debrief. The must‑haves are incident response, infrastructure as code and automation, and observability and alerting. Any 1 on a must‑have is a no, and so is any competency rated 1 by two interviewers. A hire needs an average of 3.5 or higher. The hiring manager decides after the debrief and records the role‑play and review evidence behind each rating.
Questions people ask
- What is the difference between a DevOps engineer and an SRE interview?
- The overlap is large: both own infrastructure, pipelines and production. SRE roles weigh reliability practice more heavily (service level objectives, error budgets, incident command), while many DevOps roles weigh delivery tooling and developer experience. Use one kit for both and move the must‑haves to match the job description.
- How do you run an incident role‑play in an interview?
- Write the scenario and the answers in advance: what each dashboard shows, what each colleague says, and the real cause. The interviewer plays the system and answers only what the candidate asks. Use the same script for every candidate, and rate the process (communication, mitigation, hypotheses) more than whether they find the cause in time.
- Should DevOps candidates do a hands‑on lab or take‑home?
- A short live review of an infrastructure or pipeline change shows most of what a lab does, without hours of setup. If you use a lab, run it in a disposable sandbox you provide, cap it at an hour or two, and never use your real accounts. Discuss the result in a follow‑up interview.
- Do cloud or Kubernetes certifications matter when hiring DevOps engineers?
- They show study, not production judgment. Treat a certification as a small plus at most, and do not screen candidates out for lacking one. The role‑play and the code review in this kit show the skills directly.
A kit is step one.
Itya holds every interviewer to the same rubric, records the interview, and drafts the scorecard with the quotes behind each rating. The AI drafts; your team decides. Free plan, unlimited teammates.
Related kits
- 5 competencies · 13 questions
Software Engineer
Screen questions, five competencies, follow‑ups, strong and weak answers, and an anchored 1‑to‑5 rubric. - 5 competencies · 11 questions
Engineering Manager
People, delivery, technical judgment and stakeholder questions, with anchored ratings and a decision rule. - 5 competencies · 12 questions
Frontend Engineer
State, accessibility, performance, testing and design questions, a component review and anchored ratings.