nerdexam
Microsoft

GH-300 · Question #41

What is the process behind identifying public code matches when using a public code filter enabled in GitHub Copilot?

The correct answer is A. Running code suggestions through filters designed to detect public code. When the public code filter is enabled, GitHub Copilot runs generated suggestions through a filtering mechanism designed to detect whether the output matches or closely resembles publicly available code (such as code in public GitHub repositories). If a match is found, the…

Privacy Fundamentals and Context Exclusions

Question

What is the process behind identifying public code matches when using a public code filter enabled in GitHub Copilot?

Options

  • ARunning code suggestions through filters designed to detect public code
  • BComparing suggestions against public code using machine learning.
  • CAnalyzing the context and structure of the code being written
  • DReviewing the user's browsing history to identify public repositories

How the community answered

(31 responses)
  • A
    90% (28)
  • C
    6% (2)
  • D
    3% (1)

Explanation

When the public code filter is enabled, GitHub Copilot runs generated suggestions through a filtering mechanism designed to detect whether the output matches or closely resembles publicly available code (such as code in public GitHub repositories). If a match is found, the suggestion may be suppressed or flagged. Option B is inaccurate in saying 'machine learning' performs the comparison - it's a filter mechanism, not an ML comparison step. Option C describes context analysis for generating suggestions, not the filtering process. Option D is incorrect because browsing history is never used.

Topics

#GitHub Copilot#Public code filter#Code suggestion#Privacy safeguards

Community Discussion

No community discussion yet for this question.

Full GH-300 Practice