SRE Interview Questions and Answers: 50 Questions

SRE Interview Questions and Answers: 50 Questions for Site Reliability Engineers

Introduction

Site reliability engineering interviews test two things at once: whether you can keep a production system running, and whether you can think about reliability as an engineering problem rather than a firefighting one. The fifty questions below cover both halves — the hands-on skills of Linux, Kubernetes, monitoring and incident response, and the judgement calls of SLIs, error budgets, toil and blameless postmortems.

The questions are grouped into seven sections by topic, so you can study one area at a time or run the whole set as a mock interview. If you are still deciding whether SRE is for you, our Site Reliability Engineer Career Guide covers the career path; for the broader DevOps set, see our DevOps Interview Questions and Answers. If monitoring is your weakest area, our Prometheus and Grafana Monitoring Tutorial is the hands-on companion.

Linux and Networking Fundamentals (Questions 1–8)

Q1. How do you check what is using CPU and memory on a Linux server?

Use top or htop for a live view by process, and free -h for overall memory. ps aux --sort=-%mem ranks processes by memory use; in a container, kubectl top pod shows use against limits.

Q2. A server is slow but CPU looks idle. What do you check next?

Check I/O wait and disk: iostat -x shows disk saturation, and high %iowait means processes are waiting on disk. Then check memory pressure with vmstat — swapping makes everything slow — and the network, since a service waiting on a slow dependency looks like a slow server.

Q3. What is the difference between a process and a thread, and why does it matter for reliability?

A process has its own memory space; threads in a process share memory. A crashed process takes down only itself, but a crashed thread can corrupt the whole process's shared state.

Q4. Explain what happens when you type a URL into a browser and press Enter.

DNS resolves the hostname, the browser opens a TCP connection on port 443, and a TLS handshake encrypts the session before the HTTP request. The failure points matter most: DNS failure gives a name error, a failed TCP connection gives a timeout, a TLS failure gives a certificate error.

Q5. What is the difference between TCP and UDP, and when would you use each?

TCP is connection-oriented, reliable and ordered: it retransmits lost packets and delivers them in order. UDP is connectionless and unreliable: it sends packets without confirmation, ordering or retransmission. Use TCP where correctness matters — HTTP, databases, file transfers. Use UDP where speed and tolerance for loss matter more — DNS, video streaming, metrics.

Q6. How do you find which process is listening on a port?

Run ss -tlnp for TCP or ss -ulnp for UDP, which shows the port, state and process ID. lsof -i :8080 shows what is using a specific port.

Q7. What is a file descriptor, and what happens when a process runs out of them?

A file descriptor is a handle for an open file, socket or pipe. Every open connection consumes one, so a busy server can exhaust its limit, often 1024 by default. At the limit, the process cannot open files or accept connections, and fails with "too many open files".

Q8. How does DNS resolution work, and what is a TTL?

A resolver asks a recursive DNS server, which walks the hierarchy — root, top-level domain, authoritative server — and returns the record. The TTL, time to live, is how long the answer may be cached, in seconds. A long TTL means faster lookups and slower propagation when the record changes; a short TTL means the opposite.

Kubernetes and Containers (Questions 9–16)

Q9. What is a Pod, and how is it different from a container?

A Pod is the smallest deployable unit in Kubernetes, and it can hold one or more containers that share a network namespace, an IP address and storage volumes. Containers in the same Pod can reach each other on localhost and share files through a volume. Kubernetes schedules, restarts and scales Pods, not containers.

Q10. What is the difference between a Deployment, a StatefulSet and a DaemonSet?

A Deployment manages stateless, interchangeable replicas — the normal case for web services — with rolling updates and rollbacks. A StatefulSet manages stateful replicas that need stable identities, stable storage and ordered startup, such as databases. A DaemonSet runs one Pod on every node for node-level work such as log collection.

Q11. Your Pod is in CrashLoopBackOff. How do you diagnose it?

Run kubectl get pods for the restart count, kubectl describe pod for the exit code in the Last State block, and kubectl logs <pod> --previous for the crashed run's output. The exit code is the map: 0 means the process finished (use a Job), 1 means an application error, 126 or 127 mean a command problem, and 137 means OOMKilled.

Q12. What is the difference between a liveness probe and a readiness probe?

A liveness probe asks whether the container is still alive: if it fails, the kubelet kills the container and restarts it. A readiness probe asks whether the container is ready to receive traffic: if it fails, the Pod is removed from the Service's endpoints but is not restarted. A startup probe disables the other two while it runs, protecting slow starters.

Q13. How do resource requests and limits work, and what happens if you set them wrong?

Requests are what the scheduler uses to place the Pod — a node must have at least the requested CPU and memory free. Limits are the ceiling the container may use. A container that exceeds its memory limit is killed with OOMKilled; one that exceeds its CPU limit is throttled, not killed.

Q14. What is a ConfigMap and how is it different from a Secret?

A ConfigMap holds non-sensitive configuration — environment variables, configuration files, flags — as key-value pairs. A Secret holds sensitive data such as passwords, tokens and keys. Secrets are base64-encoded, not encrypted, by default, and should come from an external secrets manager rather than etcd in plain text.

Q15. How does a rolling update work, and how do you roll back?

A Deployment's rolling update replaces Pods gradually, respecting maxSurge (how many extra Pods may exist) and maxUnavailable (how many may be down at once). With maxUnavailable: 0 and maxSurge: 1, the update never reduces capacity. To roll back, kubectl rollout undo deployment/<name> returns to the previous revision.

Q16. What is the difference between a Service and an Ingress?

A Service gives a stable network endpoint for a set of Pods — ClusterIP for internal access, NodePort for a port on each node, LoadBalancer for a cloud load balancer. An Ingress sits above Services and routes external HTTP traffic by host and path, with TLS termination, to the right Service.

Monitoring and Observability (Questions 17–24)

Q17. What is the difference between monitoring and observability?

Monitoring asks known questions — is it up, is it fast, are errors rising — using metrics, dashboards and alerts defined in advance. Observability is asking new questions you did not anticipate, using telemetry — metrics, logs, traces — to understand why the system behaves as it does. Monitoring tells you something is wrong; observability tells you what is wrong.

Q18. What are the four golden signals, and why are they golden?

The four golden signals, from Google's SRE book, are latency, traffic, errors and saturation. Latency is how long requests take, traffic is how much demand the system faces, errors are the rate of failed requests, and saturation is how full the system's resources are. They are golden because they describe a service from the user's point of view.

Q19. Explain SLI, SLO and SLA, and how they relate.

An SLI, service level indicator, measures some aspect of service — for example, the fraction of requests served successfully. An SLO, service level objective, is a target for an SLI over a window, such as 99.9% of requests succeeding over 30 days. An SLA, service level agreement, is a contract with users that attaches consequences to missing the SLO.

Q20. What is an error budget, and what do you do when it is exhausted?

The error budget is 100% minus the SLO: at a 99.9% SLO over 30 days, the budget is 0.1% of the time, or about 43 minutes of downtime. While budget remains, the team ships features; when it is spent, releases stop and the team works on reliability until the budget recovers.

Q21. How do you write a good alert?

A good alert is actionable, specific and tied to a symptom users feel. It names the service, the symptom and the impact — "checkout error rate above 5% for 5 minutes" — not the cause, which is what you investigate after the page. It has a runbook link, a severity matching the impact, and a threshold that fires before users notice but not on noise.

Q22. What is alert fatigue, and how do you fix it?

Alert fatigue is when a team is paged so often — usually by noisy, non-actionable alerts — that they start ignoring pages, including the real ones. The fix is to reduce the noise: delete alerts that never require action, convert pages to tickets where the response can wait, and tune thresholds to the symptom.

Q23. What is the difference between metrics, logs and traces?

Metrics are numbers over time — request counts, latencies, error rates — cheap to store and good for alerting. Logs are discrete events with context — a single request, a single error — good for investigating one failure. Traces follow one request across services, showing where time went and where it failed. Metrics tell you something is wrong, traces tell you where, and logs tell you why.

Q24. What is Prometheus, and how does it collect metrics?

Prometheus is an open-source monitoring system that collects metrics by scraping HTTP endpoints on a schedule — the pull model — rather than receiving pushed data. Services expose metrics in Prometheus format, usually through a client library or an exporter, and Prometheus stores them as time series you query with PromQL.

Incident Response and On-Call (Questions 25–31)

Q25. Walk me through how you handle a production incident.

Declare the incident and its severity, gather the right people, and assign roles: incident commander, communications lead, responders. Mitigate first — roll back, fail over or shed load — and diagnose second, because users care about restoration, not root cause.

Q26. What is a blameless postmortem, and why does it matter?

A blameless postmortem asks what went wrong with the system, not who went wrong. It assumes people acted reasonably, and looks for systemic causes — the missing alert, the confusing runbook, the unsafe default. It matters because blame stops people reporting problems, and a team that hides mistakes cannot learn from them.

Q27. How do you decide the severity of an incident?

Severity follows user impact, not technical drama. A total outage of a user-facing service is the highest severity; a partial degradation is lower; an internal tool failure with a workaround is lower still. The scale should be defined in advance — most teams use four or five levels — with each level naming the response it triggers.

Q28. What do you do when you are paged at 3 a.m. and you do not know what is wrong?

Start with the symptom, not the cause: confirm the user impact, check the dashboard for the golden signals, and look at what changed recently — deploys, configuration changes, traffic spikes — because most incidents follow a change. Follow the runbook if one exists, and if it does not, narrow the scope: one service or many, one region or all.

Q29. What is the difference between mitigation and resolution?

Mitigation restores service; resolution fixes the underlying cause. Rolling back a bad deploy is mitigation — users are unblocked, but the bug still exists in the code. Fixing the bug and redeploying is resolution. In an incident, mitigation comes first and resolution comes after, because the order that serves users is the one that restores service fastest.

Q30. How do you prevent the same incident from happening twice?

Write the postmortem, extract the systemic causes, and turn each one into an action item with an owner and a date — a missing alert becomes an alert, a confusing runbook becomes a rewritten runbook, a manual step becomes automation. Then verify the fix: run the scenario again, or run a game day that reproduces it.

Q31. What is an on-call rotation, and how do you make it sustainable?

An on-call rotation shares page response across a team, usually in weekly shifts with a primary and a secondary responder. It is sustainable when the page rate is low — a few pages a week at most — when on-call work counts as real work, not extra load, and when shifts hand over properly.

CI/CD and Automation (Questions 32–38)

Q32. What is the difference between continuous integration, continuous delivery and continuous deployment?

Continuous integration means merging code to the main branch frequently and running automated tests on every merge. Continuous delivery means the code is always in a deployable state, with the release itself a manual decision. Continuous deployment releases every passing change to production automatically.

Q33. How do you roll out a change safely to production?

Roll out gradually and watch the signals at each step. Use a canary — a small share of traffic on the new version — or a blue-green deployment, where traffic switches over once the new version is healthy. Watch the golden signals and the error budget, and have the rollback ready before you start.

Q34. What is infrastructure as code, and why does it matter for reliability?

Infrastructure as code means defining infrastructure — servers, networks, databases — in version-controlled files, not by hand in a console. It makes infrastructure reviewable, repeatable and recoverable: changes are reviewed like code, the same configuration produces the same environment, and a broken environment can be rebuilt from the files.

Q35. What is the difference between declarative and imperative configuration?

Declarative configuration describes the desired end state — "three replicas" — and the tool works out how to get there. Imperative configuration describes the steps — "create one, create another, create a third" — and the tool executes them in order. Declarative is the Terraform and Kubernetes model, and it is better for reliability because it is idempotent and the tool can detect drift.

Q36. How do you test infrastructure code?

At three levels. Static checks catch syntax and style — terraform validate and terraform fmt for Terraform, a linter for YAML. Unit tests check the logic — terraform test with assertions on the plan, or policy checks that a configuration meets the rules. Integration tests check the real thing — apply in a test environment, verify the resources, then destroy it.

Q37. What is toil, and how do you reduce it?

Toil is manual, repetitive, automatable operational work with no enduring value — the same ticket handled by hand for the tenth time, the same manual deploy. It is manual, repetitive, automatable, and it does not improve the system. Reduce it by automating the task, or by eliminating the need for it — fixing the bug that generates the tickets.

Q38. What is a runbook, and what makes a good one?

A runbook is a written procedure for a specific alert or incident — the steps to take, in order, with the commands and expected results. A good one is written for a tired person at 3 a.m.: how to confirm the problem, the exact commands to run, what the output should look like, and when to escalate.

System Design and Reliability (Questions 39–45)

Q39. How would you design a service to survive the failure of one availability zone?

Run it in at least two availability zones, with the load balancer spreading traffic across both, the database replicated, and no single-zone dependency in the path. The application must be stateless or store state in the replicated database, so any instance can serve any request.

Q40. What is a circuit breaker, and when would you use one?

A circuit breaker stops calling a failing dependency. After a threshold of failures, the breaker opens and requests fail fast; after a cooling-off period it half-opens, lets one request through, and closes again if it succeeds. Use it when a slow downstream service would otherwise consume all your threads waiting for timeouts.

Q41. What is the difference between horizontal and vertical scaling, and which is better?

Horizontal scaling adds more instances; vertical scaling makes the existing instance bigger. Horizontal is better for most services, because it removes the single point of failure, scales beyond the largest available machine, and lets you roll out changes gradually. Vertical is simpler and sometimes necessary — a database that cannot shard — but it has a hard ceiling.

Q42. What is a single point of failure, and how do you find one?

A single point of failure is a component whose failure takes down the whole system — one database, one load balancer, one region, one DNS provider. You find them by drawing the request path and asking, for each component, what happens if it disappears.

Q43. How do you choose an SLO for a service?

Ask what users actually need, not what sounds impressive. A 99.99% target the service cannot meet is worse than a 99.9% target it can, because an SLO that is always breached is ignored. Look at current performance as a floor, not a target, and agree the target with the product team — the SLO is a contract between engineering and the business.

Q44. What is graceful degradation, and why does it matter?

Graceful degradation is a service continuing to work, with reduced functionality, when a dependency fails — cached results instead of fresh ones, or a simplified page instead of the full one. It matters because users prefer a slower service to no service, and because it contains the blast radius: one dependency's outage degrades one feature, not the whole product.

Q45. How do you handle a database that is running out of disk?

First, mitigate: find what is using the space and free what is safe — old logs, expired backups, unneeded indexes. Then stop the growth: find the process writing the most and slow it or move it. Then fix the cause: add storage, archive old data, or partition the table that is growing.

SRE Concepts and Culture (Questions 46–50)

Q46. What is SRE, and how is it different from DevOps?

SRE is what happens when you ask a software engineer to design an operations team: software engineering applied to operations, with measurable reliability targets, automation, and a cap on manual work. DevOps is a broader philosophy about breaking down the wall between development and operations, with shared ownership and continuous delivery. SRE is a specific role with specific practices; DevOps is a way of working.

Q47. Why is 100% reliability the wrong target?

Because users cannot tell 100% from 99.999%, and each additional nine costs steeply more — in effort, redundancy and slower releases. The SRE book's point: reliability is a continuum, and the right target is the one users need, not the highest number imaginable. The gap between the target and 100% is the error budget, and it is what lets the team ship features.

Q48. How do you balance feature work against reliability work?

With the error budget. While budget remains, the team ships features; when it is spent, releases stop and the team works on reliability until the budget recovers. It replaces an argument — product wants features, engineering wants reliability — with a shared number both sides agreed in advance.

Q49. What makes a good SRE?

Curiosity about failure, comfort with ambiguity, and a habit of automating the boring parts. A good SRE reads the postmortem before the dashboard, asks what the system should have done, and writes the runbook they wish they had during the last incident.

Q50. Tell me about a time you handled a production incident.

Use the structure: what broke, what the impact was, what you did first, and what changed afterwards. A strong answer names the symptom and impact first, describes the mitigation before the diagnosis, names the tool that found the cause, and ends with the systemic fix that prevents a repeat.

FAQ

How many questions are in this SRE interview guide?

Fifty, grouped into seven sections: Linux and networking, Kubernetes and containers, monitoring, incident response, CI/CD and automation, system design, and SRE concepts and culture.

Should I memorise these answers?

No. Read each answer until you understand the reasoning, then practise saying it in your own words, with an example from your own experience. Interviewers notice memorised answers.

What is the most important SRE concept to understand before an interview?

The error budget: SLIs and SLOs define it, monitoring measures it, incident response spends it, and the balance between feature work and reliability work is decided by it. If you can explain it clearly — 99.9% over 30 days leaves about 43 minutes — you can anchor most other answers to it.

How do I prepare for the hands-on part of an SRE interview?

Practise the commands, not just the concepts. Run kubectl describe pod and kubectl logs --previous on a broken pod, write a Prometheus query, and debug a slow Linux server with top, iostat and ss. Interviewers trust candidates who have done the thing.

What if I have no production experience yet?

Use a lab or a personal project, and say so plainly. Break a Kubernetes pod on purpose and diagnose it, or set up Prometheus and Grafana for a home service. Honesty about the scale is better than exaggeration.

Conclusion

Fifty questions, seven topics, one pattern: SRE interviews test whether you can keep a system running and whether you can think about reliability as an engineering problem. The technical half — Linux, Kubernetes, monitoring, CI/CD — is the price of entry. The judgement half — SLIs and error budgets, blameless postmortems, toil and the balance between shipping and reliability — is what separates a good SRE from a good operator. Study both halves, and bring an example from your own experience to every question you can.

Then go deeper with our Site Reliability Engineer Career Guide for the career path behind these questions, our DevOps Interview Questions and Answers for the broader interview set, and our Prometheus and Grafana Monitoring Tutorial for the hands-on monitoring work that underpins the whole discipline.

Sources checked 30 Nov 2026: Google SRE book (sre.google), chapters 1, 3–6, 10, 11, 14, 15 (SRE definition, risk, SLIs/SLOs/SLAs, toil, monitoring and the four golden signals, alerting, on-call, incidents, blameless postmortems); Google SRE Workbook (sre.google) (SLI as good events divided by total events, error budget as 100% minus the SLO, SLO document and error budget policy examples); ClickHouse engineering guide on SLOs, SLIs and SLAs checked 30 Nov 2026 (99.9% over 30 days leaves 43.2 minutes of downtime). NOT VERIFIED and therefore not stated as fact above: any claim about how frequently a specific company asks any particular question. External references: Google SRE — Site Reliability Engineering book · Google SRE — Site Reliability Workbook.

—

Scroll to Top