GH-300 study notes · 10–15% of the exam
Configure privacy, content exclusions, and safeguards
First draft for review. Check details against Microsoft Learn before relying on them.
What this area covers
Privacy settings, content exclusions, the public code filter, and fixing problems when suggestions or exclusions don't behave as expected.
Key concepts
- Content exclusions are configured at repository, organisation or enterprise level using path patterns. Excluded files aren't used as context and get no inline suggestions. Changes can take time to reach IDEs, and reloading the editor picks them up.
- Editor settings can turn Copilot on or off per language.
- Ownership of outputs: you own the suggestions you accept, subject to the terms, and you're responsible for checking licences.
- Public code filter: when it's set to block, suggestions that match public code (about 150 characters) are suppressed. When it's allowed, code referencing shows matching public code and its licences.
- Troubleshooting: check sign-in and subscription, network or proxy settings (certificates), whether the file is excluded, whether the language is disabled, and the extension logs.
Exam tips
- If a question needs to avoid suggestions that match public code, set the public code filter to Block in the policy.
- If an excluded file still gets suggestions, wait for the exclusion to propagate or reload the IDE, and check that the path pattern matches.