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 1–5 of 5 questions
Learn DevSecOps →1.What does shift left mean?Beginner
Moving security checks earlier in the development process, close to the developer, where problems are cheap to fix. It adds checks earlier and does not remove later ones.
2.What is the difference between a threat, a vulnerability and a risk?Beginner
A threat is something that can cause harm, like an attacker. A vulnerability is a weakness it can use. Risk is how likely harm is, multiplied by how bad it would be.
3.Name three items on the OWASP Top 10 and a fix for one.Beginner
Broken access control, injection and security misconfiguration are examples. For injection, use parameterized queries so input is always treated as data.
4.A developer committed an API key and deleted it in the next commit. Is it safe now?Beginner
No. The key is still in Git history and must be treated as stolen. Revoke it, create a new one, check logs for misuse, and add scanning to prevent a repeat.
5.What is the difference between SAST and DAST?Beginner
SAST reads source code without running it and finds code patterns early. DAST attacks a running application from outside and finds runtime issues such as missing headers. They find different things, so use both.