BetaJobprepping.com is in beta and still under construction. New sign-ups are closed.
Start practising
Site Reliability Engineer

How to Prepare for a Site Reliability Engineer Interview

How to prepare for a site reliability engineer interview in 14 days, with daily drills, burn-rate maths, a story bank, timed mocks and a 3-day fallback plan.

Updated

How to prepare for a site reliability engineer interview: spend two weeks rotating through five things: incident handling said out loud, SLO and error budget arithmetic, Linux and networking first principles, practical Python on messy logs, and capacity estimates with real numbers. Build a bank of five incident and on-call stories, and take three timed mock interviews of 30, 45 and 60 minutes.

The plan below assumes about 75 minutes on weekdays and two to three hours at weekends. It goes deeper than the one-week outline in the Site Reliability Engineer interview guide, which covers the loop itself and how the skills are weighted. For practice prompts grouped by round, use the SRE interview questions; for the job from the inside, read things to know before applying for an SRE job.

How to prepare for a site reliability engineer interview in two weeks#

Split it by what the loop rewards, not by what feels comfortable. In most SRE loops, live troubleshooting and reliability judgement carry more weight than algorithms, so roughly 40% of your time goes to incidents and SLOs, 20% to Linux and networking, 20% to coding, 10% to capacity and design, and 10% to stories.

Week one builds fundamentals; week two applies them under time pressure. Every day includes at least ten minutes of talking out loud, because explaining calmly while a clock runs is where most candidates lose points.

Before day 1, find out the shape of your loop#

Ask the recruiter three questions and adjust the plan from the answers:

  • Which language for the coding round, and is it practical or algorithmic? Many SRE screens are Python or Go on operational data, but some companies reuse the software engineer coding bar. If they say "LeetCode-style", move two days from Linux to data structures.
  • Is there a troubleshooting round, and is it a conversation or a live shell? A live shell on a broken VM means you need muscle memory for commands, not just concepts.
  • Is there a system design round, and is it capacity-focused? Google, for example, has said in a SREcon18 Asia talk by one of its engineers ("Interviewing for Systems Design Skills") that every SRE candidate there sits one Non-Abstract Large System Design (NALSD) interview, and the Site Reliability Workbook explains the method in its chapter "Introducing Non-Abstract Large System Design". It expects real machine counts and bandwidth figures, not boxes and arrows.

Gather your materials once: Google's "Site Reliability Engineering" book (free to read on Google's SRE site), the companion "The Site Reliability Workbook", Brendan Gregg's material on the USE method, and the Netflix Tech Blog post "Linux Performance Analysis in 60,000 Milliseconds" from November 2015.

Week one, fundamentals you can say without notes#

Day 1, a cold baseline mock#

Take a 30-minute mock before you study anything. On this site you can practise a timed 30, 45 or 60 minute SRE mock interview with an AI interviewer set at a fictional payments processor; use the shortest one today. Write down three things: the moment you first guessed instead of asking for evidence, the moment you went quiet for more than ten seconds, and the lowest-rated skill on the scorecard. That list decides where the spare hours in week two go.

Then write a "what I know cold" sheet from memory: the four golden signals from the Google SRE book (latency, traffic, errors, saturation), the USE method, and how an SLI, an SLO and an SLA differ. Anything you cannot write goes on tomorrow's list.

Day 2, SLOs, error budgets and burn-rate arithmetic#

Interviewers hand you a target and ask what it means in minutes. Work these by hand, then say them aloud until automatic:

  • A 99.9% availability SLO over 30 days allows 0.1% of 43,200 minutes, which is 43.2 minutes of full outage.
  • A 99.95% SLO over 28 days allows 0.05% of 40,320 minutes, which is about 20.2 minutes.
  • Burn rate is the observed error rate divided by the error rate the SLO allows. On a 99.95% SLO the allowed rate is 0.05%, so an hour at 0.72% errors is a burn rate of 14.4, and at that pace a 28-day budget is gone in under two days.

The Site Reliability Workbook's "Alerting on SLOs" chapter recommends multiwindow, multi-burn-rate alerts. Its fast tier pages when about 2% of a 30-day budget burns in one hour (burn rate 14.4), confirmed by a short window one-twelfth as long, five minutes, so the page clears quickly once the problem stops. Practise explaining why: a single long window is slow to fire and slow to reset, while a single short window pages on every blip.

Finish by writing one SLO for a user-facing API and one for a batch job, each with an SLI definition precise enough to compute ("successful requests with latency under 500 ms, excluding health checks, measured at the load balancer").

Day 3, the first minute on a sick Linux host#

Rehearse the ten commands from the Netflix 60-second checklist until you can recite them with what each reveals: uptime, dmesg | tail, vmstat 1, mpstat -P ALL 1, pidstat 1, iostat -xz 1, free -m, two sar -n network views (interface throughput, then TCP retransmits) and top.

Then drill four classic puzzles aloud, two minutes each:

  1. Load average is 40 on an 8-core box but CPU is 30% busy. (Think tasks in uninterruptible sleep, usually waiting on disk or NFS; vmstat shows them in the b column.)
  2. A process is killed every few hours with no application error. (Check dmesg for the OOM killer, then container memory limits.)
  3. df says the disk is full but du disagrees. (Deleted files held open; lsof +L1.)
  4. "Too many open files" under load. (Per-process limits with ulimit -n and /proc/<pid>/limits, and whether connections are leaking.)

Day 4, trace one request across the network#

On paper, trace an HTTPS request from browser to container: DNS resolution and caching, the TCP three-way handshake, the TLS handshake and certificate validation, the load balancer, the reverse proxy, the pod, the database call, and the response. At each hop, name one failure and its user-visible symptom. A refused connection, a timeout and a 503 look different, and a strong candidate says which one points where. Connection refused (a TCP RST) means the host answered but nothing listens on that port, or a firewall rejected it. A timeout means packets are dropped: a security group, a full SYN backlog or a dead route. A 503 from the load balancer usually means no healthy backends, so check health checks and readiness probes.

Then practise reading ss -tan output and explaining TCP states such as SYN-SENT, ESTABLISHED and CLOSE-WAIT. A pile of CLOSE-WAIT sockets means your own application is not closing connections the peer already closed, which is a bug in your code, not the network's.

Day 5, Python on messy operational data#

Write a 40-line fake access log with deliberate problems: a header line, a truncated line, a timestamp in a different format and a few health-check requests. Then write code that computes the error ratio per five-minute window, skipping bad lines rather than crashing.

from collections import defaultdict
from datetime import datetime

def error_ratio_by_window(lines, window_s=300):
    totals, errors = defaultdict(int), defaultdict(int)
    excluded = malformed = 0
    for line in lines:
        parts = line.split()
        if len(parts) < 4:
            malformed += 1
            continue
        if parts[2] == "/healthz":
            excluded += 1
            continue
        try:
            ts = datetime.fromisoformat(parts[0]).timestamp()
            status = int(parts[3])
        except ValueError:
            malformed += 1
            continue
        bucket = int(ts // window_s) * window_s
        totals[bucket] += 1
        if status >= 500:
            errors[bucket] += 1
    return {b: errors[b] / totals[b] for b in sorted(totals)}, excluded, malformed

Time yourself: aim for a working version in 15 minutes. Then say out loud the decisions you made and would ask about in a real interview. Do 4xx responses count against the SLO? Are windows aligned to the clock or to the first event? What happens with a line exactly on a boundary? Say why health checks get their own counter (exclusion is a decision, malformed lines are a data-quality signal), and add, "I'd confirm the timestamps carry a UTC offset; naive ones get read in local time."

Day 6, start the story bank#

Write five stories using the template in the story bank section below. Draft them in full today, then cut each to something you can tell in two minutes. Record yourself telling slot 1 and slot 2 against a two-minute timer. If the result number arrives after 90 seconds, move it into your first two sentences.

Day 7, a full incident drill out loud#

Pick a symptom you invent, such as "merchant payouts are arriving six hours late, and the queue depth graph is flat", and talk through it for 15 minutes as if leading the incident. Use the structure from the Google SRE book's "Managing Incidents" chapter: declare the incident, name an incident commander, separate operations from communications, and keep a running log.

It teaches the case where dashboards look healthy while users are hurt: a flat queue can mean the producer stopped enqueuing, the consumer is stuck, or the metric stopped reporting.

Say each step as a sentence you would actually use: "I'm declaring a severity 2 and taking incident commander. First question, is the queue depth flat because it is empty or because the metric is stale? Second, when did the last payout actually complete, and what changed around then that isn't a deploy: a config push, an expired credential for the bank connection, a cron job, a dependency? While we look, I want a mitigation ready: can we drain the backlog through the manual payout path, and who is telling merchant support?" Record it and listen for the moment you chased root cause before users were safe.

Week two, pressure, design and full-length rehearsals#

Day 8, the 45-minute mock#

Take a 45-minute mock and compare the scorecard with Day 1, evidence quotes before levels. If reliability or debugging, the two must-have skills on the scorecard (together 45% of the weight), have not moved, give each another session on Day 10 and Day 12 instead of new material.

Day 9, capacity planning with real numbers#

Practise one NALSD-style estimate end to end. Example: a central logging pipeline for 2,000 hosts, each writing 50 lines a second at about 300 bytes a line.

  • Ingest: 2,000 × 50 × 300 bytes = 30 MB/s, or about 2.6 TB a day.
  • Retention of 30 days is about 78 TB raw; with three replicas, about 233 TB before compression.
  • If each storage node holds 20 TB usable and you keep 30% headroom, that is roughly 17 nodes, and you should say how that number changes if compression gives you 5x.

Then answer the questions an SRE interviewer wants: what happens when one node dies, how the pipeline sheds load in a spike (sample debug logs first, never drop audit logs), and which metric shows it falling behind (consumer lag). Round aggressively; interviewers care about the order of magnitude and the bottleneck, not the third digit.

Day 10, Kubernetes and database failure modes#

Many SRE roles now run on Kubernetes, so rehearse the common failures with the exact commands: kubectl describe pod for events, kubectl logs --previous for the container that just crashed, and kubectl get events --sort-by=.lastTimestamp for the cluster view. Be ready to explain CrashLoopBackOff, an OOMKilled container (exit code 137), the difference between readiness and liveness probes, and why an over-eager liveness probe can turn a slow dependency into a restart storm.

Then the database side: connection pool exhaustion. PostgreSQL's default max_connections is 100, so 30 pods with a pool of 10 each can ask for 300 connections the database will not give. Practise the fix ladder aloud: right-size per-pod pools, put a pooler in transaction mode (on AWS, RDS Proxy) in front of the database, and alert on pool wait time before it becomes user latency. Add the caveat interviewers like: transaction pooling breaks session-level state such as SET commands, advisory locks and, on older poolers, prepared statements.

The Certified Kubernetes Administrator exam from the CNCF and Linux Foundation is a two-hour, performance-based command-line test listed at $445 on the Linux Foundation's exam page at the time of writing (check there for the current price), with one retake included, and troubleshooting is its largest domain at 30%. You do not need it, but its domain list is a good rehearsal checklist.

Day 11, coding against the clock, with a part two#

Write yourself a fresh problem and solve it in 18 minutes: for example, from a log of deploy events and error counts, report which deploy preceded each error spike. Then give yourself a "part two" with six minutes left, as real interviewers do: support a second region, or stream the input instead of loading it. Practise saying "my first version is O(n) in one pass and holds one dictionary per window; to stream it I'd evict windows older than the alert period".

Day 12, error budget negotiation and a postmortem#

Role-play with a friend, or argue both sides yourself. A product lead wants to ship a launch this week; the service has a 99.95% availability SLO and has used 80% of its 28-day budget (about 16 of its 20.2 minutes). Practise a firm, non-blocking answer: "We have about four minutes of budget left this cycle. I'm not saying no to the launch, I'm saying ship it behind a feature flag at 5% with an automatic rollback on burn rate, and the full rollout once the rolling 28-day window has recovered enough budget, which on current burn is about a week out." The Site Reliability Workbook recommends a rolling four-week window, so budget returns gradually as old bad minutes age out; it never resets on a date. Frame the budget as a shared, pre-agreed policy, not SRE's veto.

Then write a one-page blameless postmortem for one of your stories: summary, impact in user terms and minutes, timeline, contributing factors (plural, never "human error" alone), what went well, and three action items with owners. The "Postmortem Culture" chapter of the Google SRE book is the standard reference for structure and tone.

Day 13, the 60-minute dress rehearsal#

Take the full 60-minute mock in the same conditions as the real thing: quiet room, camera on, no notes beyond a blank page. Mark the clock at 40 minutes. In review, compare the quality of your answers after that mark with the first 20 minutes. If your incident structure (scope, change, mitigate, communicate) disappears late, practise the error budget role-play last, not first, tomorrow, so you rehearse it tired. Afterwards, write down the three sentences you most want to say differently and practise each twice.

Day 14, light review and rest#

Reread your story bank and cold sheet, rehearse a 60-second introduction, and prepare specific questions: "How many pages does a typical on-call shift get, and what's the target?", "Who owns the error budget policy, and has it ever stopped a release?", "What percentage of SRE time goes to project work versus interrupts?" The Google SRE book's 50% cap on operational work is your reference point for the last. Stop by early evening.

How to build an SRE story bank#

You need five stories, each tellable in two minutes, and each able to answer at least two different questions. Cover these slots:

  1. A major incident you led or played a central part in.
  2. A time you made production worse, or a change that went wrong.
  3. Toil you automated away, with hours saved.
  4. An on-call rotation or alert set you improved.
  5. A disagreement with a feature team about reliability versus speed.

Write each one in this template:

Title: <five words you will remember under stress>
Context: service, scale, my role (one sentence)
Trigger: what broke or what was wrong, with the user impact
My decisions: three to four choices I made, each with why
Evidence: the graph, log line or command that changed my mind
Result: a number (minutes of impact, pages per week, hours of toil)
Lasting change: the system fix, not the person fix
Questions it answers: e.g. "biggest outage", "mistake", "ownership"

A worked outline for slot 4: "Our search on-call averaged 11 pages a week, most at night. I tagged every page for a month and found 70% came from three cause-based alerts on CPU and queue depth that never needed action. I replaced them with two burn-rate alerts on the search latency SLO and moved the rest to tickets. Pages fell to about three a week within a month, and we added a rule that any alert firing twice without action is reviewed at the weekly handover."

How to use 30, 45 and 60 minute mock interviews#

Each length has a job, so do not use them interchangeably:

  • 30 minutes (Day 1) is a baseline and phone-screen stand-in. Do not prepare; it shows your default under stress.
  • 45 minutes (Day 8) checks whether week one stuck. Compare the evidence quotes with Day 1: do you now ask for the error rate by region before guessing, and do you state your SLI definitions before coding?
  • 60 minutes (Day 13) is the dress rehearsal. It is long enough for fatigue to show in the last third, which is where real onsite rounds are often lost.

Review each mock for twice its length: write the sentence that pulled a skill down, the one you should have said, and say the better version aloud three times. In the two-week plan, leave at least three days between mocks; in the compressed plan, leave one full day.

What to do the day before and the morning of an SRE interview#

The day before:

  • Reread the five stories once, then stop editing them.
  • Work two error budget sums by hand (43.2 minutes and 20.2 minutes should come out without thinking).
  • If coding is in a browser editor, check the language version and whether you can run code.
  • Read the company's public status page and any published postmortems, and note one thing to ask about.

The morning of:

  • Do a ten-minute warm-up: recite the Netflix checklist, then tell your shortest story out loud once.
  • Write your opening structure for incident questions at the top of your notepad: scope, what changed, mitigate, communicate, root cause, prevent.
  • Have a pen and a blank page; in design rounds, write numbers down.

A compressed 3-day plan if your interview is soon#

If you only have three days, cut breadth and keep the two things that are most often scored as must-haves: incident handling and debugging.

  • Day A: take a 30-minute mock first thing. Then spend 90 minutes on the incident drill from Day 7 and the Linux puzzles from Day 3, out loud. In the evening, work the burn-rate sums from Day 2.
  • Day B: one 15-minute timed coding session on a fake log, then write three stories only (major incident, mistake, toil automated) using the template. In the evening, do a 20-minute capacity estimate with real numbers.
  • Day C: a 45-minute mock in the morning, review the evidence quotes, fix the two weakest sentences, then stop by mid-afternoon. Prepare your questions for the interviewer and get to bed early.

When you are ready to start, take the 30-minute Site Reliability Engineer practice interview and keep its scorecard as your Day 1 baseline.

Frequently asked questions#

How long does it take to prepare for an SRE interview?#

Two weeks of focused practice, around 75 minutes a day, is enough for most engineers who already run production systems. If you are moving into SRE from software development or IT support and have not been on call, allow four to six weeks and spend the extra time on Linux internals, networking and incident practice, since those are harder to fake than coding.

What should I study for a site reliability engineer interview?#

Study service level indicators and objectives, error budgets and burn-rate alerting; Linux processes, memory, disks and file descriptors; DNS, TCP and TLS; Kubernetes failure modes; and capacity estimation with real numbers. Practise Python or Go on messy log data. Read the Google "Site Reliability Engineering" book chapters on monitoring, incidents and postmortems, and prepare five stories with numbers.

How many mock interviews should I do before an SRE interview?#

Do at least three, spaced across the two weeks: a short one at the start as a baseline, a medium one in the middle to check progress, and a full-length one a day or two before the real interview. Review each one for longer than it took, and change the following days of practice based on the weakest must-have skill.

Do I need a certification to get an SRE job?#

No. Most SRE hiring managers weigh hands-on incident and automation experience far above certificates. A Certified Kubernetes Administrator or a cloud provider associate certification can help an early-career candidate get past a CV screen, and the CKA's domain list makes a useful study outline, but no certification replaces being able to debug a sick host out loud.

How do I practise SRE troubleshooting without a broken production system?#

Invent symptoms and talk through them out loud against a timer, as you would with a real interviewer. Break things on purpose in a local virtual machine or a kind or minikube cluster: fill a disk, exhaust memory, set a wrong liveness probe. Then diagnose each with the standard commands and write down what each command showed you.

Read next

GuideSite Reliability Engineer

Site Reliability Engineer Interview Guide and Questions

How the site reliability engineer interview works, the skills it scores, 7 practice questions with strong-answer notes, the coding round and a one-week plan.

QuestionsSite Reliability Engineer

26 Site Reliability Engineer Interview Questions and Answers

26 Site Reliability Engineer interview questions grouped by round, each with why it is asked, a strong answer outline, a weak answer and the follow-up.

ChecklistSite Reliability Engineer

Site Reliability Engineer Job, 16 Things to Know First

What to know before applying for a Site Reliability Engineer job, from on-call and SLO maths to must-have skills, pay data, job-ad red flags and the loop.

Practice

Say it out loud.

Reading about an interview isn't the same as doing one. Take a 30, 45 or 60-minute Site Reliability Engineer interview with an AI interviewer and get scored against a real rubric.

Choose an interview