When does Dependabot alert you of a vulnerability in your software development process?
Correct Answer: B
Dependabot alerts are generated as soon as GitHub detects a known vulnerability in one of your dependencies. GitHub does this by analyzing your repository's dependency graph and matching it against vulnerabilities listed in the GitHub Advisory Database. Once a match is found, the system raises an alert automatically without waiting for a PR or manual action. This allows organizations to proactively mitigate vulnerabilities as early as possible, based on real-time detection.
Question 27
Who can fix a code scanning alert on a private repository?
Correct Answer: C
Comprehensive and Detailed Explanation: In private repositories, users with write access can fix code scanning alerts. They can do this by committing changes that address the issues identified by the code scanning tools. This level of access ensures that only trusted contributors can modify the code to resolve potential security vulnerabilities. GitHub Docs Users with read or triage roles do not have the necessary permissions to make code changes, and the security manager role is primarily focused on managing security settings rather than directly modifying code.