Skip to content
$ lynuxpro

INTERVIEW PREP

Interview questions

570 questions from real DevOps, SRE, platform engineering and MLOps interviews, with the answer an interviewer wants to hear. Try answering out loud first, then open the model answer.

Showing 16–30 of 37 questions

Learn SRE Practices →
16.What makes a good runbook?Mid

It is short and linked from the alert: what the alert means, how to check impact, the most likely causes, exact commands or dashboards to use, how to mitigate, and who to escalate to. Keep it up to date after every incident.

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

Toil is manual, repetitive, automatable work that grows with the service and has no lasting value, like restarting stuck jobs by hand. Measure it, cap it (Google suggests under 50% of time), and automate or eliminate the biggest sources.

18.Why should the SLO be stricter than the SLA?Mid

The gap is a safety margin. If you miss your internal SLO (say 99.9%), you get warned and can fix things before you break the 99.5% you promised customers, which would cost credits and trust.

19.What are TTD, TTM and MTTR?Mid

Time to detect is from the problem starting to the alert firing. Time to mitigate is from the start until users stop being hurt. MTTR is the average time to recover across many incidents; track it over months and work to shrink it.

20.What do severity levels like SEV-1, SEV-2 and SEV-3 mean?Mid

They size the response to the impact. SEV-1 is a major outage or data at risk: page immediately, all hands, frequent updates. SEV-2 is a partial outage or serious slowness handled by on-call within hours. SEV-3 is minor with a workaround, handled as a ticket. Names vary by company; the idea is the same.

21.How do you stop on-call from burning people out?Senior

Keep a rotation of enough people, limit pages per shift, delete or fix noisy alerts, write runbooks, protect sleep, give time off after hard nights, and review the pages weekly.

22.How do you plan capacity?Senior

Measure demand, forecast growth and launches, find the safe load per unit by load testing, calculate units for peak, add headroom, and make sure you survive the loss of a zone. Use autoscaling with limits and recheck regularly.

23.How do you make a deploy safe?Senior

Keep changes small, automate the pipeline, roll out gradually with a canary or flags, watch metrics, have a fast rollback, and change databases in expand, migrate and contract steps.

24.What is chaos engineering?Senior

Running controlled experiments that cause failures on purpose to learn how the system behaves. You define a steady state, form a hypothesis, limit the blast radius, keep an abort button, and fix what you learn.

25.Why add jitter to retry backoff?Senior

So many clients do not retry at the same instant. Without jitter, synchronized retries can create a retry storm that keeps a struggling service down.

26.What is the difference between a backup and replication?Senior

Replication keeps a live copy and protects against hardware or zone failure, but it also copies mistakes at once. A backup is a point-in-time copy that protects against deletes, corruption and ransomware. You need both, and you must test restores.

27.How do you run a blameless postmortem?Senior

Write a timeline from facts, find contributing causes in systems and processes rather than blaming people, list what went well and what was lucky, and agree on a few action items with owners and dates. Share it widely and track the actions to completion.

28.How do you decide if a feature launch should wait because of reliability?Senior

Use the error budget: if the service has burned its budget, the agreed policy says to pause risky launches and spend effort on reliability. This turns a debate into a data-based decision agreed in advance with product owners.

29.How would you reduce alert fatigue for an on-call team?Senior

Review every alert: delete ones nobody acts on, alert on user-facing symptoms and SLO burn rates instead of causes, add good thresholds and durations, group related alerts, route by severity, and send non-urgent issues to tickets instead of pages.

30.A bad deploy made 50% of requests fail for 20 minutes at 1,000 requests per second. With 3 billion requests a month and a 99.9% SLO, how much error budget did it use?Senior

The budget is 0.1% of 3 billion, so 3 million failed requests. The incident saw 20 × 60 × 1,000 = 1.2 million requests, half failed: 600,000. That is 600,000 ÷ 3,000,000 = 20% of the month's budget, leaving 80%.