CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE

What problem does a pipeline stage that runs automated security/dependency vulnerability scanning on every build ('shifting security left') aim to solve?

  1. A. Replacing the need for any code review entirely
  2. B. Catching known-vulnerable dependencies or insecure code patterns early in development, when they are cheaper and easier to fix, rather than discovering them after release
  3. C. Slowing down releases deliberately as a matter of policy
  4. D. Guaranteeing that software can never be hacked

Correct answer: B. Catching known-vulnerable dependencies or insecure code patterns early in development, when they are cheaper and easier to fix, rather than discovering them after release

'Shifting left' means moving a check (here, security scanning) earlier in the pipeline, so vulnerabilities are caught and fixed while the code is still fresh and cheap to change, instead of after deployment.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic