GitHub Advanced Security — Question 12

How does GitHub Copilot identify matching code and ensure that public code is appropriately handled or blocked? Each correct answer presents part of the solution. (Choose two.)

Answer options

Correct answer: A, B

Explanation

The correct answers, A and B, describe how GitHub Copilot implements measures to avoid suggesting exact matches from public code and filters out such suggestions. Options C and D are incorrect because they refer to the use of private repositories, which does not align with the public code handling aspect of GitHub Copilot's functionality.