Interview › Security & DevSecOps
What is the difference between a vulnerability, a threat, and a risk? [Advanced]
Answer
A vulnerability is a weakness, a threat is a potential actor or event that could exploit a weakness, and risk is the combination of likelihood and impact if that exploitation happens. Risk requires business context; vulnerability alone is not the full picture.
Technical explanation
Example vulnerability: outdated library with RCE.
Example threat: internet attackers scanning for that RCE.
Example risk: production customer-data service is compromised, leading to data exposure and downtime.
Hands-on example
Hands-on: document a risk register entry with asset, vulnerability, threat actor, exposure, impact, current controls, likelihood, residual risk, owner, due date, and decision: remediate, mitigate, transfer, or accept.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Security & DevSecOps interview questions
- How do you prevent privilege escalation in a Kubernetes cluster? [Advanced]
- What are Kubernetes Pod Security Standards (privileged, baseline, restricted)? [Advanced]
- What is the difference between encoding, encryption, and hashing? [Advanced]
- What are Linux capabilities, and why drop them in containers? [Advanced]
- Why do you hash and salt passwords rather than encrypt them? [Advanced]
- What is the difference between authentication and authorization? [Advanced]
- What is certificate management, and how do tools like cert-manager help? [Advanced]
- What is the difference between symmetric and asymmetric encryption? [Advanced]