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 151–165 of 190 questions
151.How do you prioritize vulnerabilities beyond CVSS?SeniorDevSecOps
Consider known exploitation (CISA KEV), EPSS, internet exposure, whether the vulnerable code is reachable, what data or access is at stake, and whether a fix exists.
152.How should accepted risks be handled?SeniorDevSecOps
Each needs an owner, a written reason and an expiry date, so it is reviewed again and does not live forever.
153.A scanner reports 300 vulnerabilities in an old image. How do you handle it?SeniorDevSecOps
Don't block everything at once. Fix by risk: critical and high with a fix available first, especially if reachable or internet-facing. Rebuild on a fresh, smaller base image (which often removes most findings), baseline the rest with owners and due dates, and block only new critical/high findings in CI.
154.What is SLSA?SeniorDevSecOps
Supply-chain Levels for Software Artifacts. It defines levels of build trust, from having provenance (L1), to a hosted build service signing it (L2), to a hardened, isolated build that is hard to forge (L3).
155.What is the difference between compliance and security?SeniorDevSecOps
Compliance proves you meet a set of rules and is a minimum bar. Security is the real protection. You can pass an audit and still have weaknesses, so automate checks and aim beyond the framework.
156.Walk through responding to a leaked cloud access key.SeniorDevSecOps
Disable the key at once (do not delete it yet), review audit logs for what it did, contain affected resources, snapshot evidence, rebuild affected systems clean, rotate other exposed secrets, find the root cause, and hold a blameless review.
157.Why store audit logs in a separate account?SeniorDevSecOps
An attacker who controls the main account can erase local logs. A separate, write-protected account keeps trustworthy evidence.
158.How do you stop on-call from burning people out?SeniorSRE Practices
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.
159.How do you plan capacity?SeniorSRE Practices
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.
160.How do you make a deploy safe?SeniorSRE Practices
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.
161.What is chaos engineering?SeniorSRE Practices
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.
162.Why add jitter to retry backoff?SeniorSRE Practices
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.
163.What is the difference between a backup and replication?SeniorSRE Practices
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.
164.How do you run a blameless postmortem?SeniorSRE Practices
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.
165.How do you decide if a feature launch should wait because of reliability?SeniorSRE Practices
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.