Configuring GitHub Copilot Duplicate Detection via Admin Settings

GH-300 By islever Editorial Last updated

Manage privacy settings and exclusions Apply safeguards and troubleshoot

Short answer

AB Navigate to Organization settings → Copilot → Policies and Enterprise settings → Copilot → Policies to configure duplicate detection.

Question

What two options navigate to configure duplicate detection? Each correct answer presents part of the solution. (Choose two.)
  1. Organization settings → Copilot → Policies Correct Answer
  2. Enterprise settings → Copilot → Policies Correct Answer
  3. Repository settings → Copilot → Policies
  4. User settings → Copilot → Policies

Key Takeaways

Duplicate detection is a policy control managed at the administrative level; it is not available in repository or user-specific settings.

Learn where to configure duplicate detection in GitHub Copilot. The correct settings are found under Organization settings → Copilot → Policies and Enterprise settings → Copilot → Policies.

Common mistake: Candidates often mistake Repository settings (C) as the place for configuration because they associate 'settings' with individual repos. However, duplicate detection is an organizational security feature, requiring Admin access at the Org or Enterprise level.

Expert Analysis

To determine the correct navigation paths for configuring duplicate detection in GitHub Copilot, we must look at how GitHub structures its administrative controls. Duplicate detection, often referred to as blocking suggestions that match public code, is a policy-level setting designed to protect intellectual property and manage data privacy.

Organization-Level Configuration At the organization level, administrators have the authority to define policies that apply to all members within that specific organization. By navigating to Organization settings → Copilot → Policies, admins can configure whether Copilot suggestions are compared against public code repositories and whether matches should be blocked or allowed. This ensures consistent security and compliance standards across the entire team or department. Commenters consistently highlight this path as a primary location for such controls, noting that org admins can enforce these rules centrally.

Enterprise-Level Configuration For larger entities with multiple organizations, GitHub provides an Enterprise-level management plane. Administrators at the enterprise level can set overarching policies that trickle down to member organizations. The path Enterprise settings → Copilot → Policies allows enterprise admins to configure duplicate detection settings globally for the enterprise. This is critical for large enterprises that need uniform policy enforcement across various business units. The official Microsoft Learn documentation referenced by users confirms that both organization and enterprise admins can manage these specific Copilot policies.

Why Other Options Are Incorrect Repository settings (Option C) and User settings (Option D) do not provide access to global duplicate detection policies. Repository settings are too granular, focusing on individual repo permissions rather than AI behavior policies. User settings allow individuals to toggle their personal experience preferences but cannot enforce organizational or enterprise-wide security policies like duplicate detection. Therefore, only the Organization and Enterprise settings levels offer the necessary administrative scope to configure this feature.

The key insight here is understanding the hierarchy of GitHub's admin console: broad policy management for AI features resides at the Organization and Enterprise levels, not at the repository or individual user level.

Official Reference

Exam Strategy

When answering questions about GitHub Copilot administration, always identify the scope of the setting. If the feature involves security, compliance, or broad policy enforcement (like duplicate detection), look for Organization or Enterprise level options. Individual user or repository-level options are typically distractors for high-level policy questions.

Frequently Asked Questions

Can I disable duplicate detection for a single repository?

No, duplicate detection is managed at the Organization or Enterprise policy level. You cannot configure it per-repository.

Who can configure Copilot policies?

Only Organization admins and Enterprise admins can configure Copilot policies, including duplicate detection settings.

More GH-300 FAQ →

Community Votes

A
43%
B
36%
D
14%
C
7%

43% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 8 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 8

  1. ruedii 👍 4
    https://learn.microsoft.com/en-us/training/modules/github-copilot-management-and-customizations/3-github-copilot-contractual-protections-disabling-matching-public-code
  2. omath 👍 3
    A. Organization settings → Copilot → Policies ✅ B. Enterprise settings → Copilot → Policies ✅ Explanation: Organization settings → Copilot → Policies → Admins at the organization level can configure Copilot policies, including duplicate detection, to control how Copilot operates across repositories. Enterprise settings → Copilot → Policies → At the enterprise level, administrators can enforce policies across all organizations under the enterprise umbrella, ensuring consistent governance.
  3. Seunmot 👍 3
    Duplicate detection and blocking of public code matches can be configured by enterprise administrators in enterprise or organization-level Copilot policies.
  4. TFOTHYL 👍 3
    Sorry it was. A. Organization settings → Copilot → Policies and B. Enterprise settings → Copilot → Policies
  5. currotron 👍 2
    There is an important nuance: GitHub also supports enterprise-level Copilot policies in general, but for Microsoft Learn question and its expected two answers, the material is testing Organization + Use. If cert is about Microsoft environment, A y D
Show 3 more comments
  1. majora15 👍 2
    So the key idea is: duplicate detection is controlled through Copilot policies at the organization or enterprise administration level.
  2. TFOTHYL 👍 1
    B. Enterprise settings → Copilot → Policies C. Organization settings → Copilot → Policies Why: The "Suggestions matching public code" setting is part of GitHub Copilot policy management and can be configured centrally by administrators at either the Enterprise level or the Organization level. This allows organizations to control how Copilot handles suggestions that may closely match publicly available code.
  3. sks 👍 1
    : Duplicate detection is controlled through GitHub Copilot policies at the organization or enterprise level.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to GH-300 Study Guide