GitHub Advanced Security — Question 15
How does GitHub Copilot Chat help to fix security issues in your codebase?
Answer options
- A. By automatically refactoring the entire codebase to remove vulnerabilities.
- B. By annotating the given suggestions with known vulnerability patterns.
- C. By enforcing strict coding standards that prevent the introduction of vulnerabilities.
- D. By providing detailed reports on the security vulnerabilities present in the codebase.
Correct answer: B
Explanation
The correct answer is B, as GitHub Copilot Chat highlights suggestions that include known patterns of vulnerabilities, enabling developers to be aware of potential security issues in their code. Options A, C, and D are incorrect because they suggest actions or features that GitHub Copilot Chat does not provide, such as automatic refactoring or strict enforcement of coding standards.