GitHub Copilot — Question 9
What scenario demonstrates the use of Dependabot security updates?
Answer options
- A. An alert is created for a vulnerable dependency.
- B. An alert is created for a secret that’s been exposed in the codebase.
- C. A pull request is opened that fixes a vulnerable dependency.
- D. A pull request is opened that updates a dependency to the most recent version.
Correct answer: D
Explanation
The correct answer is D because Dependabot security updates specifically focus on introducing the most recent versions of dependencies to address vulnerabilities. Option A discusses alerts for vulnerabilities but does not involve updates, while options B and C pertain to different types of issues that Dependabot does not address directly.