10 exam-style questions with answers and explanations, straight from our 1,030-question bank. Tap an answer to check yourself. When you're ready, take the scored version in the free practice test.
These 10 free GH-300 questions are organized by exam domain, so you can see how each part of the GitHub Copilot Certification (GH-300) blueprint is tested. Reveal the answer and explanation under each question.
Domain 1: Use GitHub Copilot responsibly (15-20%)
Question 1
A developer on Copilot Enterprise accepts a suggestion, then substantially rewrites it before committing. Under the GitHub Copilot Copyright Commitment, the committed code is:
Show answer & explanation
Correct answer: A - Not covered, because the suggestion was modified
Domain 2: Use GitHub Copilot features (25-30%)
Question 2
A team lead wants Copilot to pick up an open backlog issue, implement the change, and leave something the team can review the next morning, with no developer at the keyboard while the work happens. Which capability is designed for this?
Show answer & explanation
Correct answer: B - Copilot coding agent
Question 3
A platform team wants every contributor to a repository to receive Copilot suggestions that follow the team's error-handling and logging conventions, without each developer configuring anything individually. What should they add?
Show answer & explanation
Correct answer: A - A .github/copilot-instructions.md file in the repository
Question 4
Which capability requires Copilot Enterprise rather than Copilot Business?
Show answer & explanation
Correct answer: D - Copilot knowledge bases
Domain 3: Understand GitHub Copilot data and architecture (10-15%)
Question 5
A developer on a personal Copilot Pro subscription asks whether their prompts and code context are used to train GitHub's models. Under current policy, what is the correct answer?
Show answer & explanation
Correct answer: D - Yes by default, and the developer can disable it in their Copilot settings
Question 6
In the GitHub Copilot request lifecycle, which of the following happens AFTER the model generates a response rather than before?
Show answer & explanation
Correct answer: D - Checking the output against public code for duplication
Domain 4: Apply prompt engineering and context crafting (10-15%)
Question 7
GitHub's guidance for crafting effective Copilot prompts is built on which set of principles?
Show answer & explanation
Correct answer: B - Single, Specific, Short, Surround
Domain 5: Improve developer productivity with GitHub Copilot (10-15%)
Question 8
A developer uses Copilot to generate a date-parsing function, then uses Copilot to generate unit tests for that function. Every test passes. What is the MOST significant limitation of this as evidence of correctness?
Show answer & explanation
Correct answer: C - The tests may encode the same misunderstanding as the code
Domain 6: Configure privacy, content exclusions, and safeguards (10-15%)
Question 9
An organization on Copilot Business configures content exclusions for a directory holding deployment credentials. All of the following surfaces respect that exclusion EXCEPT:
Show answer & explanation
Correct answer: C - Copilot CLI
Question 10
An administrator saves a new content exclusion rule and immediately asks a developer to test it. The developer, whose IDE has been open all morning, still receives suggestions inside the excluded file. What is the MOST likely explanation?
Show answer & explanation
Correct answer: B - Exclusion changes can take up to about 30 minutes to reach an active session
That's 10 of 1,030
The full bank has 1,020 more GH-300 questions with explanations.