The free, open companion to Grokking DevOps and SRE Interviews by DesignGurus.io, created by Arslan Ahmad.
A DevOps or site reliability engineering (SRE) interview tests how a candidate behaves when a production system fails. A software engineering interview asks the candidate to build something. This one asks the candidate to find a fault, limit the harm, and prevent the next one. Most public material for these interviews is a list of several thousand questions with one-line answers. That format trains recall, and the rounds reward reasoning.
This repository takes the opposite approach. It explains each round, the method behind a strong answer, and the small set of concepts that interviewers return to. Every page is short. For worked drills, graded exercises, and full practice interviews, see the course.
| Your situation | Read first |
|---|---|
| The interview is scheduled and the rounds are unknown | The interview loop |
| The troubleshooting round is the main concern | Troubleshooting, then Linux commands |
| The background is software engineering, and SRE is new | DevOps vs SRE, then SLIs, SLOs, and error budgets |
| The design round is the main concern | SRE system design, then Capacity planning |
| Four weeks are available | The four-week plan |
The rounds below are commonly reported by candidates. No company publishes a standard loop, and the mix changes by team and level.
| Round | What it measures | Guide |
|---|---|---|
| Recruiter or manager screen | Fit, background, and incidents handled | Interview loop |
| Coding and scripting | Automation with Python or Bash | Coding and scripting |
| Linux and networking | How the operating system and the network behave | Linux and networking |
| Troubleshooting | A method for finding a fault under time pressure | Troubleshooting |
| System or infrastructure design | Reliability, failure domains, capacity, rollout | SRE system design |
| Incident and reliability practice | Running an incident and learning from it | Incident response |
| Behavioral and project review | Judgment, ownership, communication | Behavioral |
| Page | What it covers |
|---|---|
| Interview loop | The round types, how a loop is assembled, and what to ask the recruiter |
| Troubleshooting | A five-step method and a worked example on a slow web service |
| Linux and networking | The topics that recur, and how to explain behavior instead of commands |
| SRE system design | How this round differs from a product design round |
| Coding and scripting | Typical tasks, with a log parsing example |
| Incident response | Roles, severity, mitigation before diagnosis, and communication |
| Behavioral | The story types that operations interviewers ask for |
| Page | What it covers |
|---|---|
| SLIs, SLOs, and error budgets | Definitions and a worked error budget calculation |
| Observability | Metrics, logs, traces, and the four golden signals |
| CI/CD and deployment strategies | Rolling, blue-green, and canary releases compared |
| Containers and Kubernetes | The objects and failure states that interviews ask about |
| Infrastructure as code | State, drift, plans, and safe changes |
| Postmortems | The blameless review and what a good one contains |
| Capacity planning | From peak traffic to an instance count, with arithmetic |
| Toil and automation | What toil is and when automating it pays back |
| Page | What it covers |
|---|---|
| Question bank | About 60 questions grouped by round, each with a pointer |
| Linux commands for troubleshooting | Each command and the question it answers |
| DevOps vs SRE | The two roles and their interviews side by side |
| Availability numbers | Allowed downtime from 99 to 99.999 percent |
| Common mistakes | Ten errors that cost candidates the round |
| Four-week plan | A week-by-week preparation schedule |
An SRE loop commonly includes coding, Linux and networking, troubleshooting, a system design round focused on reliability, and a behavioral round. The interview loop page describes each one.
Candidate reports suggest that DevOps loops ask more about daily tools such as Kubernetes, Terraform, and build pipelines. SRE loops ask more about coding, operating system internals, and reliability targets. The comparison page lists the differences.
In most reported loops, yes. The tasks are usually practical, such as parsing a log file or writing a small tool. See coding and scripting and the Design Gurus answer on whether coding is asked in a DevOps interview.
The interviewer describes a failure, and the candidate investigates it one step at a time. The interviewer supplies the result of each check. The grade depends on the method, not on guessing the cause. See troubleshooting.
The candidate designs a system and is then asked how it fails, how it is rolled out, and how it is measured. Typical questions include a metrics pipeline, a deployment platform, and a service that runs in several regions. See SRE system design.
A working engineer with production experience usually needs about four weeks at eight hours a week. The four-week plan divides that time by round.
- How DevOps and SRE Interview Loops Test the Job: what each round measures, in Grokking DevOps and SRE Interviews
- A Method for Troubleshooting: the steps for finding a fault in a live system, in Grokking DevOps and SRE Interviews
- Drill: The Website Is Down: a full troubleshooting answer from the first check to the cause, in Grokking DevOps and SRE Interviews
- What Happens When You Type a URL: DNS, TCP, TLS, and HTTP in one request, in Grokking DevOps and SRE Interviews
- Kubernetes Core Objects: pods, deployments, and services and how they relate, in Grokking DevOps and SRE Interviews
- Rolling, Blue Green, and Canary Releases: how the three release methods differ and when to use each, in Grokking DevOps and SRE Interviews
- SLIs, SLOs, and Error Budgets: how a reliability target becomes a budget, in Grokking DevOps and SRE Interviews
- Mitigate Before You Diagnose: why an incident answer restores service first, in Grokking DevOps and SRE Interviews
- A Method for Infrastructure Design: the steps for the SRE design round, in Grokking DevOps and SRE Interviews
- Reading Load Average and CPU Usage: what the load numbers on a Linux server count, in Operating Systems and Networking for Backend Engineers
- Free article: DevOps vs SRE vs platform engineer interviews: what each of the three interviews tests.
- Free article: The DevOps system design interview: how infrastructure design rounds work.
- Free article: What to expect in a production engineering interview: the loop for a closely related role.
- Free article: An interview strategy for site reliability engineering: a preparation approach built around SRE topics.
- Free article: OpenTelemetry and modern observability: a beginner guide to metrics, logs, and traces.
- Free article: The Kubernetes guide for system design: the cluster components and how they work together.
- Free article: High availability in system design: 15 strategies for keeping a system available.
- Grokking DevOps and SRE Interviews: the full course, with troubleshooting drills, mid-level and senior answers side by side, graded Python exercises, and full practice interviews.
- Grokking the System Design Interview: the design method that the SRE design round builds on.
- Grokking System Design Fundamentals: load balancers, caches, queues, and replication from the beginning.
Related free repositories: Grokking System Design and System Design Numbers.
For the system design round, see Grokking System Design, the free companion guide with 30 patterns, 59 question walkthroughs, and 35 cheat sheets.
Every guide below is free, follows the same short-page format, and comes from DesignGurus.io.
- Core guides: Grokking System Design, Grokking Coding Interview, Grokking AI System Design, Design Patterns, Best System Design Resources, Best System Design Courses
- By interview round: System Design Numbers, API Design Interview, Frontend System Design Interview, Mobile System Design Interview, Microservices Interview Questions, Concurrency Interview
- By role: Data Engineering Interview, Forward Deployed Engineer Interview, Solutions Architect Interview
- Seniority and behavioral: Staff Engineer Interview, Engineering Manager Interview, Amazon Leadership Principles, Software Engineer Levels
- By company: Google Interview Guide, Meta Interview Guide, Amazon Interview Guide, Microsoft Interview Guide, Apple Interview Guide, Netflix Interview Guide, OpenAI Interview Guide, Anthropic Interview Guide
Corrections and additions are welcome. Please read CONTRIBUTING.md first.
The content is licensed under CC BY 4.0. See NOTICE.md for what the license covers and how to attribute.