exam questions

Exam GitHub Copilot All Questions

View all questions & answers for the GitHub Copilot exam

Exam GitHub Copilot topic 1 question 111 discussion

Actual exam question from GitHub's GitHub Copilot
Question #: 111
Topic #: 1
[All GitHub Copilot Questions]

What is the main purpose of the duplication detection filter in GitHub Copilot?

  • A. To encourage the user to follow coding best practices preventing code duplication.
  • B. To compare user-generated code against a private repository for potential matches.
  • C. To allow administrators to control which suggestions are visible to developers based on custom criteria.
  • D. To detect and block suggestions that match public code snippets on GitHub if they contain about 150 characters.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jv1
2 days ago
Selected Answer: D
The duplication detection filter (also known as public code filtering) is designed to: D. Detect and block suggestions that match public code snippets on GitHub if they contain about 150 characters. This helps protect against: Accidental inclusion of copyrighted code License violations Inadvertently copying long segments of public code
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...