Question 880
During an operational security assessment at a public-sector technology agency, the team documents this issue: An automated dependency update merges directly without the project's required test checks. The affected delivery process supports citizen applications and reusable infrastructure; accountability and service availability depend on controlled delivery. Select TWO: one corrective action and one test that confirms its effectiveness. (Select TWO.)
Explanation
Correct Answers
Correct corrective action. Enable Dependabot alerts and appropriate dependency updates with reviewed lockfile changes and a policy for vulnerable packages. The action targets the recorded failure (An automated dependency update merges directly without the project's required test checks), and is intended to reduce the corresponding risk: Transitive vulnerable dependencies remain unnoticed when projects only scan their own application source.
Correct verification. A known vulnerable dependency produces an attributable alert and an approved update restores the tested safe dependency graph. The measurement or controlled test provides evidence for the issue (An automated dependency update merges directly without the project's required test checks) and complements the selected corrective action rather than simply repeating a recommendation.
Incorrect Answers
Scan container images at build and registry stages, enforce severity policy on deployable digests and distinguish confirmed risks from false positives. The paired controls concern GitHub dependabot vulnerability and version alerts, not that measure.
A seeded insecure code pattern generates a CodeQL finding and a protected PR cannot dismiss it without the approved review process. This does not supply the required GitHub dependabot vulnerability and version alerts action-and-control pair.
Use GitHub secret scanning and push protection with controlled bypass review, plus revoke and rotate any credential that has already leaked. The two-part GitHub dependabot vulnerability and version alerts control remains unsatisfied.