Skip to content

About

DevOps and SRE interview guide: the loop round by round (troubleshooting, Linux and networking, SRE system design, incident response), core concepts like SLOs and error budgets, and a curated question bank.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

DevOps and SRE Interview

The free, open companion to Grokking DevOps and SRE Interviews by DesignGurus.io, created by Arslan Ahmad.

GitHub stars Last commit License: CC BY 4.0 PRs welcome

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.

Start here

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 loop at a glance

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

Every page

Rounds

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

Concepts

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

Cheat sheets

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

FAQ

What is asked in an SRE interview?

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.

What is the difference between a DevOps interview and an SRE interview?

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.

Is there coding in a DevOps interview?

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.

What is a troubleshooting 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.

What is asked in an SRE system design interview?

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.

How long does it take to prepare?

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.

Course lessons to start with

Free reading on DesignGurus.io

Go deeper

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.

More free guides

Every guide below is free, follows the same short-page format, and comes from DesignGurus.io.

Contributing

Corrections and additions are welcome. Please read CONTRIBUTING.md first.

License

The content is licensed under CC BY 4.0. See NOTICE.md for what the license covers and how to attribute.

About

DevOps and SRE interview guide: the loop round by round (troubleshooting, Linux and networking, SRE system design, incident response), core concepts like SLOs and error budgets, and a curated question bank.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors