1. Use GitHub Copilot responsibly (15-20%)
Covers risks and limitations of generative AI, ethical use, harms and mitigations, validating AI output and operating Copilot responsibly.
GitHub Copilot certification · GH-300 · Skills outline of August 7, 2026 · Official skills outline · Original practice content
GH-300 is the GitHub Copilot certification exam: 60 scored multiple-choice questions in 100 minutes, $99, with a passing score of 700. It covers using Copilot responsibly, Copilot features in the IDE, CLI and github.com, how Copilot handles data, prompt engineering, developer productivity and testing, and privacy settings and content exclusions. Practice with 300 original questions written to the six domains of the August 7, 2026 outline, each with the correct answer and an explanation.
GH-300 has 60 scored multiple-choice questions (plus about 10-15 unscored ones) in 100 minutes, costs $99 USD and needs a scaled 700 to pass.
Take the 10-question GH-300 quick-start test · Create a free account
Six domains from the August 7, 2026 outline. Using Copilot features is the largest (25-30%): the IDE, Copilot CLI, agent mode, MCP, code review, instructions and prompt files, and organization policies. Using Copilot responsibly is 15-20%. Data and architecture, prompt engineering and context, developer productivity, and privacy, content exclusions and safeguards are 10-15% each.
Sources: Microsoft Learn: GH-300 study guide; GitHub Learn: certifications and FAQ.
A 60-question FlashGenius mock exam samples each domain at its official weight.
| Domain | Weight | Questions in a 60-question mock |
|---|---|---|
| Use GitHub Copilot responsibly | 15-20% | 9 |
| Use GitHub Copilot features | 25-30% | 15 |
| Understand GitHub Copilot data and architecture | 10-15% | 9 |
| Apply prompt engineering and context crafting | 10-15% | 9 |
| Improve developer productivity with GitHub Copilot | 10-15% | 9 |
| Configure privacy, content exclusions, and safeguards | 10-15% | 9 |
Covers risks and limitations of generative AI, ethical use, harms and mitigations, validating AI output and operating Copilot responsibly.
Covers Copilot in the IDE, Copilot CLI, agent mode, MCP, agent sessions, code review, Spaces, pull request summaries, instructions and prompt files, Chat commands, and organization policies.
Covers data usage and flow, input processing and prompt building, filtering and post-processing, the suggestion lifecycle, and LLM limitations.
Practice Understand GitHub Copilot data and architecture questions
Covers prompt structure and context, how context is determined, zero-shot and few-shot prompting, best practices, and chat history.
Practice Apply prompt engineering and context crafting questions
Covers code generation, refactoring and documentation, learning and context switching, sample data and legacy code, unit and integration tests, edge cases, and security and performance suggestions.
Practice Improve developer productivity with GitHub Copilot questions
Covers content exclusions and editor settings, ownership and limits of output, the public code filter, and fixing problems with suggestions and exclusions.
Practice Configure privacy, content exclusions, and safeguards questions
GitHub's outline is written for developers, administrators and project managers who use Copilot. Candidates should know GitHub fundamentals and at least one programming language.
| Who | What the exam asks you to know |
|---|---|
| Developers using Copilot daily | inline suggestions, chat, agent mode, Copilot CLI, and how to give Copilot the right context |
| Team leads and reviewers | Copilot code review, pull request summaries and custom instructions that set review standards |
| Organization and enterprise admins | policies, feature availability, content exclusions, audit log events and managing seats with the REST API |
| Security and compliance staff | how prompts and suggestions flow, the public code filter, ownership of output and what exclusions can and cannot do |
| Engineering managers | where Copilot speeds up work (tests, documentation, legacy code) and how to use it responsibly |
| GH-900 holders going further | the step from GitHub basics to one product in depth |
Use GitHub Copilot responsibly
A developer maintaining a system written in a rarely used legacy language finds that Copilot's suggestions are much weaker than the ones she gets in JavaScript. What best explains the difference?
Correct answer: C. Suggestion quality depends on how much training data exists for a language
C is correct because GitHub notes that Copilot performs best in languages that are well represented in its training data, and JavaScript is one of the best supported. A is incorrect because Copilot can still suggest code in less common languages; the issue is lower quality, not an absence of support. B is incorrect because the public code filter blocks suggestions that match public code, which has nothing to do with how rare the language is. D is incorrect because content exclusion is configured by administrators for chosen paths or repositories and is never applied by language. Skills measured: Use GitHub Copilot responsibly > Understand responsible AI principles.
Use GitHub Copilot responsibly
GitHub describes hallucination, output that sounds plausible but is incorrect or fabricated, as a key reason that ___.
Correct answer: C. human review of AI-generated output is important
C is correct because GitHub's responsible use documentation says hallucination is a key reason that people must review what Copilot generates before relying on it. A is incorrect because the public code filter deals with matches to public code, not with fabricated or incorrect content. B is incorrect because content exclusion controls which files Copilot can use as context; it does not stop the model from inventing details. D is incorrect because Copilot does not reliably refuse; it can produce a confident but invented answer, which is exactly why review matters. Skills measured: Use GitHub Copilot responsibly > Understand responsible AI principles.
Use GitHub Copilot features
A developer who has a Copilot Business seat starts using IntelliJ IDEA and wants inline suggestions there. What should she do first?
Correct answer: A. Install the GitHub Copilot plugin from the JetBrains Marketplace, restart, and sign in to GitHub
A is correct because JetBrains IDEs get Copilot through the GitHub Copilot plugin; after installing it and restarting, you log in to GitHub from Tools > GitHub Copilot and authorize the plugin. B is incorrect because an instructions file only customizes responses once Copilot is running; it does not install or enable Copilot in the IDE. C is incorrect because Copilot CLI is a separate terminal tool; JetBrains IDEs authenticate through their own plugin, not through a CLI login. D is incorrect because repository settings do not install anything in the IDE; the editor still needs the Copilot plugin and a GitHub sign-in before suggestions appear. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.
Use GitHub Copilot features
A developer runs Visual Studio 2022 version 17.12 on Windows and has a Copilot Pro plan. What does he need to do to start using Copilot in Visual Studio?
Correct answer: D. Add his GitHub account to the Visual Studio keychain, because Copilot is built in
D is correct because from version 17.10, the unified Copilot and Copilot Chat extension is a built-in component of Visual Studio, so signing in with the GitHub account that holds the plan enables it. A is incorrect because copilot.vim is the plugin for Vim and Neovim; it has no role in Visual Studio. B is incorrect because Copilot CLI is a separate terminal tool and is not how Visual Studio gets Copilot; the IDE uses its built-in component and a GitHub sign-in. C is incorrect because a manual extension install was only needed for versions 17.8 and 17.9; later versions already include Copilot as a built-in component. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.
Understand GitHub Copilot data and architecture
A developer at a company on Copilot Business asks Copilot Chat in VS Code to explain a function. According to GitHub's Trust Center, what happens to that prompt and the response by default?
Correct answer: B. They are not retained by default
B is correct because the trust center states that for Business and Enterprise, inputs and outputs from IDE chat, code completions, the Copilot app and the CLI are not retained by default. A is incorrect because for Business and Enterprise, IDE chat inputs and outputs are not retained by default, so no fixed retention period applies. C is incorrect because two years is the retention for user engagement data, not for the prompts and responses themselves. D is incorrect because life-of-account retention applies to other access such as Copilot on the GitHub website, not to IDE chat. Skills measured: Understand GitHub Copilot data and architecture > Describe data handling and flow.
Understand GitHub Copilot data and architecture
A compliance team at a Copilot Enterprise customer reviews data retention in GitHub's Trust Center. Which statement is true?
Correct answer: B. Prompts and suggestions from IDE code completions are not retained by default for Enterprise.
B is correct because the trust center states that for Business and Enterprise, inputs and outputs from code completions in the IDE are not retained by default, while user engagement data is kept separately. A is incorrect because user engagement data is kept for two years, even when prompts and suggestions themselves are not retained. C is incorrect because code completion inputs and outputs are not retained by default for Business and Enterprise, so there is no 28-day abuse-monitoring copy. D is incorrect because GitHub does not use Business or Enterprise customers' prompts and suggestions to train its models; no per-user opt-out is needed. Skills measured: Understand GitHub Copilot data and architecture > Describe data handling and flow.
Apply prompt engineering and context crafting
A developer wants Copilot Chat to write a function that validates postal codes for three countries. Which prompt structure follows GitHub's prompt engineering guidance?
Correct answer: C. State the overall goal, then list the specific requirements
C is correct because GitHub's guide says to start general, then get specific: describe the broad goal first and follow it with the detailed requirements. A is incorrect because a bare name leaves the requirements ambiguous, so the result is unlikely to match what is needed. B is incorrect because without the goal stated up front Copilot has to guess what the edge cases are for. D is incorrect because a single run-on sentence hides the requirements instead of listing them clearly after the goal. Skills measured: Apply prompt engineering and context crafting > Craft effective prompts.
Apply prompt engineering and context crafting
A developer writes a long chat prompt. The most important requirement, that no external libraries be used, sits in the middle of a list and Copilot ignores it. What change is most likely to help?
Correct answer: C. Move it to the start or end of the prompt
C is correct because GitHub's guide notes that Copilot gives extra weight to instructions at the start and end of a prompt, so the most important requirements belong there. A is incorrect because spreading it out in the middle keeps it in the least weighted part of the prompt. B is incorrect because an unrelated file is unlikely to be part of the context at all. D is incorrect because the position, not the formatting, is what the guidance says gives a requirement extra weight. Skills measured: Apply prompt engineering and context crafting > Craft effective prompts.
Improve developer productivity with GitHub Copilot
A developer in VS Code has just joined a team and opens an unfamiliar parsing module. Before changing anything, she wants Copilot Chat to describe how the code in her active editor works. Which slash command fits this request?
Correct answer: C. /explain
C is correct because /explain asks Copilot Chat to explain how the code in the active editor works, which is what she needs before making changes. A is incorrect because /tests generates unit tests for the selected code rather than describing what it does. B is incorrect because /fix proposes a fix for problems in the selected code; she wants an explanation, not changes. D is incorrect because /new creates a new project; it does not explain existing code in the editor. Skills measured: Improve developer productivity with GitHub Copilot > Enhance productivity and code quality.
Improve developer productivity with GitHub Copilot
A data engineer types a comment above an empty function: "Return the median of a list of numbers; use sorting, not a library call." What is Copilot most likely to do with this comment as she starts typing below it?
Correct answer: B. Offer an inline suggestion for a body that follows the comment
B is correct because comments are part of the context Copilot reads, so a clear comment such as this steers the inline suggestion toward a sorting-based median. A is incorrect because an inline suggestion in the editor does not create branches or pull requests; it only proposes code to accept or dismiss. C is incorrect because suggestions are only applied when the developer accepts them, which keeps a human in control of the code. D is incorrect because Copilot uses comments as context; comment-driven generation is a documented way to steer suggestions. Skills measured: Improve developer productivity with GitHub Copilot > Enhance productivity and code quality.
Configure privacy, content exclusions, and safeguards
A freelance developer on a Copilot Pro plan wants to stop Copilot from using a folder of client credentials in her personal repository. She looks for the content exclusion setting. What will she find?
Correct answer: D. Content exclusion is not available on Copilot Pro
D is correct because content exclusion is a Copilot Business and Copilot Enterprise feature, and repository-level exclusion works only for repositories owned by an organization. A is incorrect because the public code filter controls suggestions that match public code; it does not exclude files from Copilot. B is incorrect because there is no personal content exclusion setting; exclusions are set by repository admins, organization owners or enterprise owners. C is incorrect because exclusions are configured in repository, organization or enterprise settings on GitHub, not with a file in the repository. Skills measured: Configure privacy, content exclusions, and safeguards > Manage privacy settings and exclusions.
Configure privacy, content exclusions, and safeguards
A repository administrator in an organization with Copilot Business wants to exclude a folder of generated keys. In the repository, she should go to Settings, then ___.
Correct answer: C. Copilot, then Content exclusion, and add the paths to exclude
C is correct because repository-level exclusions are entered under Settings > Copilot > Content exclusion in the box for paths to exclude in the repository. A is incorrect because Copilot is not a collaborator, and repository access settings do not exclude individual paths from Copilot. B is incorrect because branch protection controls merges and pushes; it has no effect on what Copilot can read. D is incorrect because secret scanning finds committed secrets; its settings do not stop Copilot from using files. Skills measured: Configure privacy, content exclusions, and safeguards > Manage privacy settings and exclusions.
Use GitHub's GH-300 study guide and the Copilot Fundamentals learning paths. The outline was revised on August 7, 2026, and now covers Copilot CLI, agent mode and MCP.
Take the 10-question quick start to see where you stand across all six domains.
Using Copilot features is 25-30% of the exam and responsible use is 15-20%. Try each feature in an editor, then practice the remaining four domains.
Take timed 60-question mocks in 100 minutes and review every explanation, including for questions you got right.
GitHub Foundations covers the whole platform at a beginner level. The GitHub Copilot exam goes deep on Copilot.
| GH-300 GitHub Copilot | GH-900 GitHub Foundations | |
|---|---|---|
| Level | Intermediate | Beginner |
| Who it is for | Developers, admins and managers who use or roll out Copilot | Developers, non-developers and anyone who uses GitHub |
| Focus | Copilot features, responsible AI, data handling, prompting, productivity and privacy settings | Git, repositories, collaboration, Actions, Copilot basics, Projects, security and community |
| Format | 60 scored questions, 100 minutes, $99 | 60 scored questions, 100 minutes, $99 |
| Validity | Expires and must be renewed | Does not expire |
These terms come up across the six domains. Each is defined from GitHub Docs.
| Term | What it means |
|---|---|
| Inline suggestions | Code Copilot proposes as you type in the editor; you accept, reject or cycle through them. |
| Copilot Chat | A chat interface in the IDE, on github.com and in other tools where you ask questions and request changes. |
| Agent mode | Copilot plans and makes multi-file changes, runs commands and iterates on errors in the IDE, with you approving steps. |
| Copilot CLI | Copilot in the terminal: ask questions, generate and run commands and scripts, and work in sessions. |
| Custom instructions | A repository file that gives Copilot standing guidance, such as coding standards or review rules. |
| Prompt file | A reusable prompt saved in the repository so the team gets consistent responses for a common task. |
| Cloud agent | Copilot working on its own in the cloud on an assigned task: it can research, plan and make changes on a branch or open a pull request. GitHub renamed it from coding agent in April 2026. |
| MCP | Model Context Protocol: a standard way to give Copilot tools and data from other systems. |
| Content exclusion | A setting that stops Copilot using specified files or repositories as context; it has documented limits. |
| Public code filter | A setting that blocks suggestions matching public code, or shows a reference to where the match came from. |
Last reviewed December 5, 2026 against: Microsoft Learn: GH-300 study guide; GitHub Learn: certifications and FAQ.
GH-300 is GitHub's certification exam for GitHub Copilot. It tests how to use Copilot features responsibly and effectively, how Copilot handles data, prompt engineering, productivity and testing, and privacy and organization settings.
GitHub says its certification exams have 60 scored multiple-choice questions plus about 10-15 unscored pretest items, and you get 100 minutes.
700 or higher on a scale of 1-1000. That is a scaled score, not 70% correct. FlashGenius mocks use 70% as a practice target.
$99 USD, with regional pricing in some countries. Verified students in the GitHub Student Developer Pack can earn one free voucher usable for GH-300, while supplies last.
Microsoft published a revised outline on August 7, 2026, with minor updates to the IDE, features and safeguards sections. The current outline covers Copilot CLI, agent mode, MCP, agent sessions and sub-agents, Spaces, instructions and prompt files, and organization policies, so study from it rather than older guides.
It is an intermediate exam. Developers who use Copilot daily know the features, but many miss questions on organization policies, content exclusion limits, data flow and responsible AI, which they rarely touch.
No. There is no required prerequisite. The GH-300 outline assumes you know GitHub fundamentals and at least one programming language, which GH-900 covers on the GitHub side.
Yes. Unlike GitHub Foundations, the GitHub Copilot certification has to be renewed. You renew on Microsoft Learn with a free, online, open-book assessment during the six months before it expires, and your Microsoft Learn profile shows your exact expiration date.
Yes. Pearson VUE proctors it online or at a test center, in English, Spanish, Portuguese (Brazil), Korean or Japanese. It is closed book.
Wait 24 hours before your first retake and 14 days before each retake after that, with up to 5 attempts in a year.
No. These are original practice questions written for FlashGenius against the published GH-300 skills outline. They are not copied from the exam, and FlashGenius is not affiliated with GitHub.
Yes. You can review the sample questions on this page, take the 10-question quick start and practice each domain without paying. The full 300-question bank and timed mock exams are part of FlashGenius Premium.
GH-300 practice test hub · Mixed quick start · GH-900 GitHub Foundations practice test · AI-901 Azure AI Fundamentals practice test · AI-103 Azure AI Apps and Agents Developer practice test
FlashGenius is an independent study resource and is not affiliated with or endorsed by GitHub or Microsoft. GitHub and GitHub Copilot are trademarks of GitHub, Inc. 300 original practice questions.