Interview › Security & DevSecOps
What is DevSecOps, and how does it differ from traditional security gating at the end? [Basic]
Answer
DevSecOps means security is engineered into the full software delivery lifecycle instead of being treated as a final approval gate. The difference is ownership and timing: developers, platform, security, and operations all share controls that run continuously in code, CI/CD, cloud, and production.
Technical explanation
Traditional security gating often creates late rework because vulnerabilities are found after implementation or right before release.
DevSecOps moves guardrails into developer workflows: secure templates, SAST, SCA, image scanning, IaC scanning, secrets checks, admission policy, and runtime detection.
The goal is not to bypass security; it is to make secure behavior the default while keeping high-risk exceptions visible and approved.
Hands-on example
Hands-on: in a Jenkins or GitHub Actions pipeline, run unit tests, SAST, dependency scanning, container image scanning, IaC policy checks, and artifact signing before deployment. Low-risk findings create tickets, critical exploitable findings fail the build, and policy-as-code blocks noncompliant Kubernetes manifests at admission time.
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
- What is software composition analysis (SCA), and why does it matter for dependencies? [Basic]
- Is SonarQube primarily SAST, code quality, or both? [Basic]
- What is a SonarQube quality gate, and how do you use it to fail a build? [Basic]
- What is the difference between a quality gate and a quality profile in SonarQube? [Basic]
- What does 'clean as you code' mean in SonarQube, and why focus on new code? [Basic]
- What metrics does SonarQube track (coverage, duplication, code smells, bugs, vulnerabilities)? [Basic]
- What is technical debt in SonarQube, and how is it estimated? [Basic]
- How does SonarQube measure code coverage, and does it run your tests? [Basic]