Site Reliability Engineer interview questions
100 real questions with model answers and explanations for Middle candidates.
See a Site Reliability Engineer resume example →Practice with flashcards
Spaced repetition · Hunter Pass
Questions
An SLI measures service behavior, an SLO sets its internal target, and an SLA defines an external commitment.
- An SLI needs a precise event definition, data source, and measurement window.
- An SLO states the acceptable result, such as 99.9% successful requests over 28 days.
- An SLA usually has a looser target and defines consequences when the commitment is missed.
Why interviewers ask this: This checks whether the candidate separates measurement, engineering intent, and contractual obligation.
I choose an SLI that shows whether the user completed the valuable action successfully and quickly enough.
- Define the boundary from the user entry point to the observable outcome, not around one component.
- Count valid attempts in the denominator and successful outcomes in the numerator.
- Measure latency at the edge so visible network and dependency costs are included.
Why interviewers ask this: A strong answer ties reliability measurement to user value rather than convenient infrastructure metrics.
A request-based availability SLI is the ratio of valid successful requests to all valid requests in the window.
- Specify successful status codes and application outcomes instead of treating every non-5xx response as good.
- Exclude malformed or unsupported requests only when the service contract allows it.
- Measure where the final result is visible because server metrics can miss proxy and routing failures.
Why interviewers ask this: The interviewer evaluates whether the candidate can turn availability into an auditable event ratio.
Latency percentiles expose slow user experiences that an average can hide.
- A mean may stay stable while a small but important share of requests becomes extremely slow.
- A percentile target names both the threshold and covered share, such as 99% below 400 milliseconds.
- Percentiles are not additive, so end-to-end latency must be measured directly or aggregated from histograms.
Why interviewers ask this: This tests understanding of latency distributions and the limits of summary statistics.
Multi-window burn-rate alerts detect budget consumption that is too fast over both short and long periods.
- Burn rate of one spends the budget exactly at the pace allowed by the SLO window.
- A short window catches rapid consumption while a longer confirmation window filters brief noise.
- Thresholds should derive from the SLO and exhaustion horizon rather than arbitrary error percentages.
Why interviewers ask this: This assesses whether the candidate can connect alert mathematics to an SLO policy.
An error budget creates a shared quantitative limit for trading delivery velocity against reliability.
- Remaining budget supports controlled change while the service meets its objective.
- Rapid consumption signals that reliability work should take priority over riskier changes.
- The budget guides decisions but is not permission to deliberately cause failures.
Why interviewers ask this: A good response treats the error budget as a shared decision tool.
An effective policy defines objective triggers, proportionate actions, owners, and conditions for normal delivery to resume.
- Triggers should use agreed burn rates or consumed-budget bands instead of subjective health labels.
- Actions may range from reviewing risky changes to pausing selected releases while allowing reliability fixes.
- Ownership covers calculation, exception approval, and verification of recovery criteria.
Why interviewers ask this: This checks whether the candidate can operationalize error budgets without an inflexible feature freeze.
An end-to-end SLO accounts for dependency reliability but cannot be derived safely by copying vendor targets.
- Serial critical dependencies compound availability, so several strong targets can produce a weaker journey.
- Redundancy, caching, and fallbacks change each dependency contribution.
- Measure the user result directly and use dependency objectives to allocate risk.
Why interviewers ask this: The interviewer wants reasoning about composed reliability rather than isolated percentages.
I use a rolling window for a continuously current view without a reset at month boundaries.
- Rolling windows suit burn-rate calculations and prevent a bad period from disappearing on the first day of a month.
- Calendar windows are easier for contracts and fixed business reviews.
- The selected window must represent normal traffic variation while remaining useful for decisions.
Why interviewers ask this: This evaluates how measurement windows shape incentives and interpretation.
For low traffic, I combine longer windows with user-relevant synthetic checks instead of trusting sparse ratios alone.
- One failed request can dominate a short window, so statistical uncertainty must be visible.
- Synthetic probes exercise critical paths at a controlled frequency when real events are rare.
- Targets and alert thresholds should reflect sample volume rather than copying a high-traffic API.
Why interviewers ask this: This probes whether the candidate recognizes the weakness of percentages from small samples.
RED describes a service through request rate, error rate, and request duration.
- Rate gives workload context for changes in errors or latency.
- Errors should represent user-visible unsuccessful outcomes rather than only process failures.
- Duration belongs in a distribution so tail latency remains visible.
Why interviewers ask this: The interviewer checks whether RED is used as a coherent service view rather than a dashboard acronym.
USE examines each resource through utilization, saturation, and errors, complementing the request-oriented RED view.
- Utilization shows the busy share of capacity, such as CPU time or memory occupancy.
- Saturation reveals queued work when demand exceeds immediately available capacity.
- Errors cover resource failures such as disk faults or network drops.
Why interviewers ask this: A strong answer distinguishes resource pressure from user-facing service behavior.
Structured logging needs a stable schema, bounded fields, and data controls so events remain queryable without creating uncontrolled cost or risk.
- Use consistent names and types for service, version, environment, severity, request ID, and trace ID across producers.
- Keep high-cardinality details in logs rather than metric labels, but cap payload size and avoid unbounded nested objects.
- Redact secrets and personal data before ingestion, then apply retention and access rules according to data sensitivity.
- Version schema changes and monitor parse failures, dropped events, ingestion volume, and query performance.
Why interviewers ask this: This tests whether the candidate treats logs as governed data with schema, cost, privacy, and operability requirements.
Trace context should cross every supported boundary so spans from one operation share a trace identity.
- HTTP and RPC clients inject standard headers, and receivers extract them before creating child spans.
- Message producers put context in metadata, while consumers create linked spans.
- Long-lived background work may use span links instead of pretending it is a direct child.
Why interviewers ask this: The interviewer evaluates practical understanding of causal telemetry across distributed boundaries.
I choose sampling from traffic volume, analytical needs, and cost while preserving rare valuable traces.
- Head sampling is cheap but cannot know whether a trace will become slow or unsuccessful.
- Tail sampling retains traces by outcome or latency at the cost of buffering and collector complexity.
- Parent-based decisions keep one distributed trace coherent across services.
Why interviewers ask this: This assesses the statistical and operational trade-offs of trace sampling.
High cardinality creates too many time series, increasing memory, storage, query cost, and ingestion pressure.
- Unbounded user IDs, request IDs, and raw URLs must not become metric labels.
- Prefer bounded dimensions such as service, region, status class, and normalized route.
- Detailed identifiers belong in logs or traces designed for event-level data.
Why interviewers ask this: This checks whether the candidate understands the data-model cost behind harmless-looking labels.
Histogram buckets determine the resolution and cost of server-side latency aggregation.
- Place boundaries around meaningful objectives and known latency ranges instead of arbitrary defaults.
- Wide buckets hide changes near an SLO threshold, while too many buckets multiply time series.
- Instances need compatible boundaries before their histograms can be aggregated correctly.
Why interviewers ask this: A strong response connects bucket design to quantile accuracy and telemetry cost.
A useful metric label is a bounded dimension that supports a known aggregation or decision.
- Its possible values should be predictable enough to estimate the resulting series count.
- Its meaning must remain stable across versions and services.
- Dimensions needed only occasionally belong in logs or traces.
Why interviewers ask this: The interviewer tests whether the candidate balances analytical flexibility against platform sustainability.
An SLO alert is actionable when it signals material budget risk, identifies ownership, and points to a defined decision.
- It should represent user impact or an imminent threat to the objective, not a raw resource threshold.
- Severity follows projected budget exhaustion rather than graph-spike size.
- Low-urgency signals belong on dashboards or reports instead of interrupting people.
Why interviewers ask this: This checks whether the candidate separates urgent reliability signals from interesting telemetry.
Synthetic monitoring gives controlled continuous checks, while real user monitoring measures actual client experiences.
- Synthetic probes cover critical paths during low traffic and compare locations consistently.
- Real user data captures device, browser, network, and behavior diversity that scripts miss.
- Using both compares a stable baseline with genuine user experience.
Why interviewers ask this: This assesses whether the candidate understands the blind spots of each external-observability method.
Locked questions
- 21
How do you build a capacity plan from demand forecasts?
capacitycapacity-planning - 22
How do you choose capacity headroom for a service?
capacitycapacity-planning - 23
How can Little's Law help with service capacity reasoning?
capacitycapacity-planning - 24
Why can a service become unstable before a resource reaches full utilization?
- 25
What makes a load test useful for capacity planning?
capacityload-testingcapacity-planning - 26
Which signal should drive horizontal autoscaling?
scalingautoscaling - 27
Why do autoscalers need different scale-up and scale-down behavior?
scalingautoscaling - 28
When is vertical scaling preferable to horizontal scaling?
scaling - 29
How do load-balancing algorithms affect reliability?
reliabilityalgorithms - 30
How should readiness and liveness checks differ?
health-checks - 31
How do you balance traffic across regions with different latency and capacity?
latencycapacity-planningcapacity - 32
How does a circuit breaker limit cascading failure?
resilience - 33
Which operations are safe to retry?
resilience - 34
Why should retries use exponential backoff with jitter?
resilience - 35
What is a retry budget and why is it useful?
resilience - 36
How should timeouts and deadlines be designed across a call chain?
designresilienceestimation - 37
How do you design graceful degradation?
designresilience - 38
How does the bulkhead pattern improve resilience?
resilience - 39
What is the difference between load shedding and rate limiting?
resiliencerate-limitingload-management - 40
How does backpressure protect a distributed pipeline?
distributedresiliencebackpressure - 41
What makes a good chaos engineering hypothesis?
resiliencechaos-engineeringhypothesis-testing - 42
How do you control blast radius in a chaos experiment?
resiliencechaos-engineeringexperiments - 43
Which measurements are essential during a chaos experiment?
experimentschaos-engineering - 44
How do you design a canary release policy?
designdeployment-strategies - 45
What are the reliability trade-offs of blue-green deployment?
deployment-strategiesreliabilitydeployment - 46
What makes a deployment safely reversible?
decision-makingdeployment - 47
How do quorum reads and writes affect reliability?
reliabilitydistributed-systems - 48
How should CAP guide design during a network partition?
partitioningdesign - 49
How does replication lag affect read reliability?
replicationreliability - 50
Why does consensus require a majority for progress?
consensusdistributed-systems - 51
A downstream service is failing and retries are causing failures across the platform. What do you do?
- 52
Users report slow requests, but average latency looks normal. How do you investigate?
latency - 53
A service is pinned at 100% CPU during peak traffic. How do you respond?
- 54
Memory usage keeps rising until pods are OOM-killed. How would you handle the incident?
incidentsincident-managementmemory - 55
A database node is nearly out of disk space during on-call. What are your next steps?
on-calldatabase - 56
An application starts timing out because the database connection pool is exhausted. How do you diagnose and mitigate it?
databasepooling - 57
Requests are queued even though CPU and memory are low. What resource bottlenecks would you examine?
trackingmemorydata-structures - 58
A Linux service intermittently fails with too many open files. How do you resolve it?
- 59
A Kubernetes deployment enters CrashLoopBackOff immediately after a release. What do you do?
kubernetesdeployment - 60
Pods are being evicted from one Kubernetes node under memory pressure. How would you respond?
memorykubernetes - 61
Several services fail because internal DNS lookups time out. How do you investigate?
dns - 62
One region shows intermittent packet loss and elevated errors. What mitigation would you choose?
- 63
A background job queue grows rapidly while incoming traffic remains steady. How do you handle it?
jobssoft-skillsdata-structures - 64
Kafka consumer lag is increasing for a critical pipeline. What do you check and change?
kafkaci-cd - 65
A popular cache key expires and the database is suddenly overloaded. How do you recover and prevent recurrence?
databasecaching - 66
A dependency slowdown triggers a retry storm. How would you tune the clients?
resiliencedependencies - 67
After an outage, all clients reconnect at once and the service fails again. How do you break the cycle?
- 68
One availability zone fails but the service remains partially available. How do you decide whether to fail over?
availability - 69
A production TLS certificate will expire in two hours. What do you do?
tls - 70
Only one tenant causes latency spikes for everyone else. How would you address this noisy-neighbor problem?
latency - 71
An on-call rotation receives hundreds of non-actionable alerts each week. How do you tune the alerting?
on-callalerting - 72
A customer-impacting incident was detected by users before monitoring. How do you close the gap?
incidentsincident-managementmonitoring - 73
A single database issue pages five service teams at once. How would you improve these alerts?
databasealerting - 74
How would you configure an alert for a service that burns its error budget quickly or slowly?
configalertingreliability - 75
Your team spends many hours each week on repetitive operational work. How do you choose what to automate first?
- 76
How would you automate a recurring production access procedure without creating a security risk?
- 77
A runbook requires ten manual commands during every incident. How would you turn it into safe automation?
incidentsincident-managementrunbooks - 78
You discover that production Kubernetes resources differ from the GitOps repository. What do you do?
kubernetesgitops - 79
A canary release has a slightly higher error rate than the stable version. How do you decide whether to continue?
deployment-strategies - 80
During an incident caused by a deployment, how do you choose between rollback and a forward fix?
incidentsincident-managementdeployment - 81
A release includes a destructive database migration and errors rise after deployment. How do you mitigate it?
databasemigrationsdeployment - 82
A newly enabled feature overloads one dependency. How would you use feature flags during the incident?
incidentsincident-managementfeature-flags - 83
How would you estimate capacity for a seasonal traffic peak?
estimationcapacitycapacity-planning - 84
Traffic unexpectedly jumps tenfold and autoscaling cannot keep up. What do you do first?
learningscalingautoscaling - 85
A Kubernetes Horizontal Pod Autoscaler reacts too late to short traffic spikes. How would you improve it?
scalingkubernetesreact - 86
A service is overloaded but some requests are much more important than others. How do you implement graceful load shedding?
resilienceload-management - 87
Database writes are nearing the primary node's capacity. What scaling options do you evaluate?
scalingcapacitydatabase - 88
A recommendation service is unavailable, but the main product can still function. How would you design the degraded mode?
design - 89
How would you facilitate a blameless postmortem after a serious outage?
incidentspostmortems - 90
A postmortem produces twenty action items. How do you make sure the important improvements happen?
incidentspostmortemstracking - 91
You are first on call for a high-severity incident with several teams joining. How do you organize the response?
incidentson-callincident-management - 92
An incident continues through an on-call shift change. How do you hand it over safely?
incidentson-callincident-management - 93
Two dashboards disagree about whether the service is healthy during an incident. What do you do?
conflictincidentsincident-management - 94
How do you communicate technical uncertainty during an ongoing customer-impacting incident?
communicationincidentsincident-management - 95
The same class of incident has happened three times despite previous fixes. How do you change the approach?
incidentsincident-management - 96
A service has exhausted its monthly error budget halfway through the period. What do you recommend?
error-budgetreliability - 97
How would you run a production chaos experiment on a critical service safely?
experimentschaos-engineering - 98
Bad application writes have corrupted production data. How do you approach restoration?
- 99
A regional disaster requires database failover. What checks do you make before and after promoting a replica?
databasereplicationfailover - 100
Your on-call team is showing signs of fatigue after several difficult weeks. What practical changes do you propose?
on-call