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?
- A. Replacing the need for any code review entirely
- 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
- C. Slowing down releases deliberately as a matter of policy
- 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.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A base class defers the decision of exactly which concrete subclass to instantiate to its subclasses, by exposing a creation method that…
- What is the difference between 'verification' performed via a static code review (e.g. a peer reading the diff) and verification performed…
- Using Basic COCOMO for a embedded mode project (Effort = 3.6 × (KLOC)^1.2 person-months), what is the estimated effort for a 40 KLOC…
- A UI toolkit must produce whole FAMILIES of related objects (e.g. matching Button, Checkbox and Scrollbar for either a 'dark theme' or…
- A UML activity diagram is best suited for modelling:
- A system accepts a value from 18 to 98 inclusive. Using equivalence partitioning, what is the minimum number of test cases needed to cover…