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 166–180 of 190 questions
166.How would you reduce alert fatigue for an on-call team?SeniorSRE Practices
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.
167.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?SeniorSRE Practices
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%.
168.Why page on a burn rate of 14.4 over one hour?SeniorSRE Practices
A month has 720 hours, so burning at 14.4× for one hour uses 14.4 ÷ 720 = 2% of the 30-day budget, and at that speed the whole budget is gone in about two days. That is worth waking someone; slow burns like 1× over days become tickets instead.
169.What causes cascading failures and how do you stop them?SeniorSRE Practices
One failed node pushes its load on the others, which then overload and fail. Keep headroom, shed load, use circuit breakers and timeouts, limit retries, and scale carefully.
170.What is a gray failure?SeniorSRE Practices
A component that is partly broken or very slow but still passes simple health checks. It hurts users while dashboards look healthy. Measure latency, use timeouts and remove slow nodes.
171.How do you run a production readiness review?SeniorSRE Practices
Before launch, check ownership, SLOs, monitoring and alerts, runbooks, deploy and rollback, capacity, resilience, data protection and security, with proof. End with a decision and dated conditions, and repeat with regular service reviews.
172.How would you start an SRE practice in a company?SeniorSRE Practices
Pick a few critical services and define SLOs, add an incident process and postmortems, make deploys and capacity safer, then add readiness reviews and game days. Agree on an engagement model, get leadership to back the error budget policy, and measure the system rather than people.
173.Design the reliability approach for a new global payments API.SeniorSRE Practices
Define SLIs and SLOs with the business (availability and latency per region), design for redundancy across zones and regions with clear failover, make requests idempotent, add timeouts, retries with backoff and circuit breakers, load test and chaos test, set up SLO-based alerting and runbooks, and plan safe rollouts with canaries.
174.How do you handle a cascading failure?SeniorSRE Practices
Stop the spread first: shed load, turn off non-critical features, rate-limit, break circuits to failing dependencies, and scale carefully because retries can make it worse. Then recover in stages and fix the causes: unbounded retries, missing timeouts, lack of backpressure and shared single points of failure.
175.Explain data-parallel training and the role of NCCL.SeniorAI Infrastructure & GPUs
Each GPU holds a full copy of the model and trains on a different slice of data. They then average their gradients with an all-reduce, which NCCL performs, so every copy stays identical. Network speed decides how well it scales.
176.Training on 16 GPUs is only 4x faster than on one. What do you check?SeniorAI Infrastructure & GPUs
Look at communication and data loading. Check NCCL uses InfiniBand or RDMA (NET/IB, not NET/Socket), run nccl-tests, check GPU topology and slow nodes, and make sure data loaders keep up.
177.Why do multi-GPU jobs need gang scheduling?SeniorAI Infrastructure & GPUs
If only some pods start, they hold GPUs while waiting for the rest, wasting capacity and possibly deadlocking. Gang scheduling starts all pods together or none. Kueue, Volcano and Slurm provide it.
178.How do you autoscale an LLM service?SeniorAI Infrastructure & GPUs
Scale on queue length or latency, not CPU. Scale up quickly and down slowly, keep a warm minimum, pre-pull images and cache the model on fast storage. Remember that node start plus model load can take many minutes, and plan GPU quota.
179.What is the KV cache and why does it matter?SeniorAI Infrastructure & GPUs
The model keeps notes about earlier tokens to avoid recomputing them. This cache grows with prompt length, answer length and user count and sits in GPU memory, so it limits concurrency. Paged caches, cache quantization, prefix caching and a lower max length help.
180.What does an LLM gateway give you?SeniorAI Infrastructure & GPUs
One stable API in front of many models, with per-team keys and token budgets, rate limits, routing, fallbacks, caching and cost tracking. It also gives a place to add guardrails and logging.