GH-300 study notes · 10–15% of the exam
Understand GitHub Copilot data and architecture
First draft for review. Check details against Microsoft Learn before relying on them.
What this area covers
What data Copilot uses, how a prompt is built and filtered, and the lifecycle of a suggestion.
Key concepts
- Data flow: the client gathers context (current file, open tabs, related files, chat history and instructions), builds a prompt and sends it over TLS to the Copilot service. Filters run before the model is called, and the response is post-processed before it's returned.
- Data use: Business and Enterprise prompts and suggestions aren't used to train models, and retention is limited. Individual plans have settings for data sharing.
- Proxy filtering and post-processing: checks for toxic or offensive content, blocks secrets from being suggested, applies the public code matching filter when enabled, and attaches code referencing information.
- Suggestion lifecycle: gather context, build the prompt, filter, run the model, post-process, display, then accept or reject. Accept and dismiss signals feed telemetry, governed by your settings.
- LLM limitations: limited context windows, knowledge cutoffs, possible fabrications, and output that's not deterministic. Copilot doesn't "know" your whole codebase unless that context is supplied.
Exam tips
- Open related files to improve suggestions, because they become part of the context.
- If a question asks where secrets are filtered, the answer is the proxy and post-processing layer.