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 106–109 of 109 questions

106.What is the difference between a threat, a vulnerability and a risk?BeginnerDevSecOps

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.

107.Name three items on the OWASP Top 10 and a fix for one.BeginnerDevSecOps

Broken access control, injection and security misconfiguration are examples. For injection, use parameterized queries so input is always treated as data.

108.A developer committed an API key and deleted it in the next commit. Is it safe now?BeginnerDevSecOps

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.

109.What is the difference between SAST and DAST?BeginnerDevSecOps

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.