GitHub

GitHub Copilot (GH-300) practice questions

Use GitHub Copilot effectively and responsibly across the IDE, CLI, and chat.

New to GH-300? Read the how to pass GitHub Copilot study guide for a domain breakdown, a study plan, and exam-day tips.

Revising? The GH-300 cheat sheet puts the domain weightings, key facts, and easy-to-confuse traps on one printable page.

Prefer flashcards? See a free sample of the GH-300 flashcard deck, concept and misconception cards side by side.

60
Questions
90 min
Time allowed
700 / 1000
Pass mark
$99
Exam cost (USD)
273
Practice questions

Exam domains and weighting

The GH-300 blueprint is split across 6 domains. See the official exam guide for the authoritative breakdown.

GH-300 exam domain weighting - each domain's share of the exam. Full breakdown with links below.
GH-300 domains by share of the exam
DomainWeight
Use GitHub Copilot responsibly18%
Use GitHub Copilot features28%
Understand GitHub Copilot data and architecture13%
Apply prompt engineering and context crafting13%
Improve developer productivity with GitHub Copilot14%
Configure privacy, content exclusions, and safeguards14%

Free sample questions

No account needed. Every question has a worked explanation, just like the full bank.

Free sampleUse GitHub Copilot featuresmedium

A developer opens an unfamiliar service file and wants Copilot to explain in prose how the retry logic works and why the team chose exponential backoff, without changing any code. Which Copilot surface best fits this need?

  • AUse "Copilot Chat" to ask a natural-language question about the retry logic and receive a conversational explanation of the existing behaviour. Correct
  • BUse "Agent Mode" so Copilot can autonomously run tools, trace the call graph and apply any refactors it judges necessary across the project.
  • CUse "Edit Mode" to request a scoped multi-file rewrite of the retry logic that the developer can then review inline before accepting.
  • DUse "Plan Mode" to have Copilot break the explanation task into ordered steps before it begins implementing the requested changes.
Recognise that Copilot Chat is the surface for conversational explanations of existing code when no edits are required. Copilot Chat handles question-and-answer interactions and explains existing code in natural language without applying edits, so it serves a pure explanation need where the other modes would alter files or scope a build that the developer did not request.

Why A is correct: Copilot Chat answers conversational questions and explains existing code in prose without modifying files, which matches a read-only explanation request exactly.

Why B is wrong: Agent Mode is built to take autonomous action and edit files, which exceeds and contradicts a read-only request to merely have the existing logic explained.

Why C is wrong: Edit Mode is designed to propose and apply code changes for review, but the developer wants an explanation and explicitly does not want any code changed.

Why D is wrong: Plan Mode scopes implementation work into steps, but no change is wanted here, so producing a build plan answers a question that was never asked.

Free sampleUse GitHub Copilot featuresmedium

A developer needs to rename a function and update every one of its call sites across four related files, and wants to inspect each proposed change before it lands rather than letting Copilot act on its own. Which surface is the best fit?

  • AUse "Agent Mode" so Copilot autonomously decides which files to touch, runs commands and commits the rename without interrupting the developer.
  • BUse "Edit Mode" to request the rename across the relevant files and review the proposed multi-file changes inline before accepting or discarding them. Correct
  • CUse "Copilot Chat" to ask how to rename the function and then paste each suggested change into the affected files by hand.
  • DUse inline ghost-text completions and accept the suggestion that appears as the developer types in each file in turn.
Choose Edit Mode for scoped multi-file edits that the developer wants to review before applying. Edit Mode is purpose-built for applying a defined change across a set of files while presenting every edit inline for acceptance or rejection, giving the developer review control that Agent Mode's autonomy and Chat's prose answers do not provide.

Why A is wrong: Agent Mode acts autonomously and is tempting for a cross-file edit, but the developer explicitly wants to review each change rather than let Copilot proceed unsupervised.

Why B is correct: Edit Mode applies scoped changes across multiple files and surfaces each edit for the developer to review, which matches a multi-file rename that must be inspected before landing.

Why C is wrong: Copilot Chat can describe the rename but does not apply scoped edits across files, so it leaves tedious manual copying that Edit Mode performs directly.

Why D is wrong: Inline completions assist single-line typing in the active file and cannot coordinate a deliberate rename across four files for structured review.

Free sampleUnderstand GitHub Copilot data and architecturemedium

A compliance lead at a company on Copilot Business is briefing legal on how developer data is handled by GitHub Copilot during everyday coding. They want only statements that are accurate for the Copilot Business and Copilot Enterprise arrangement. Which two statements should they include? Select TWO.

  • ABecause the business tiers are used, the proxy guarantees every returned suggestion is correct, secure, and free of any licensing concern before it reaches the editor.
  • BOn the business tiers, developer prompts are always stored indefinitely on the local workstation so the same suggestion can be replayed offline at any later time.
  • CPrompts and suggestions generated by their developers are not retained to train the underlying foundation models under the Copilot Business and Enterprise arrangement. Correct
  • DChoosing Copilot Business automatically removes the developer's duty to review generated code, since the organisation contract transfers that responsibility to GitHub.
  • EThe Copilot proxy can filter and post-process a candidate suggestion before it is shown, so toxic content and certain public-code matches may be screened out. Correct
For Copilot Business and Enterprise, prompts and suggestions are not used for model training and the proxy filters candidates, yet no guarantees of correctness arise. Under the Copilot Business and Copilot Enterprise arrangement, developer prompts and suggestions are not used to train the foundation models, and the proxy filters and post-processes candidates to screen toxic content and public-code matches; however, post-processing never certifies correctness, security, or licence, retention is not indefinite local storage, and the developer keeps accountability for reviewing output.

Why A is wrong: Tempting because the proxy does post-process, but it never guarantees correctness, security, or licence cleanliness, and the developer remains accountable for the output.

Why B is wrong: Tempting given retention questions arise, but this invents indefinite local storage and offline replay, which is not how the data flow or retention works.

Why C is correct: It is accurate that prompts and suggestions for Copilot Business and Copilot Enterprise are not used to train the underlying foundation models, which is the assurance legal needs.

Why D is wrong: Tempting because the tier adds controls, but accountability for reviewing output stays with the developer on every plan and is not transferred by the contract.

Why E is correct: The proxy does filter and post-process candidates, screening for toxic content and, when enabled, suggestions matching public code, which is an accurate part of the data flow.

More free GH-300 practice questions with worked answers

Frequently asked questions

How many questions are on the GH-300 exam?
The GitHub Copilot (GH-300) exam has 60 questions and runs for 90 minutes. The format is multiple choice and multiple response.
What score do I need to pass GH-300?
The pass mark is 700 / 1000. Examworthy gives you a per-domain readiness score so you can see which domains are holding you back before you book.
How much does the GH-300 exam cost?
The exam costs 99 USD to sit. Practising on Examworthy is free to start, with a worked explanation on every question.
Is there a GH-300 practice exam?
Yes. Examworthy's exam mode runs a timed GH-300 practice exam (mock) paced to match the real exam, scored per domain so you can see exactly where you stand against the blueprint. Timed mocks are free with an account.
How does Examworthy help me prepare for GH-300?
Every practice question carries a worked explanation and a per-distractor rationale, mapped to the official blueprint domains. You learn why each answer is right or wrong, not just the letter.
Is Examworthy affiliated with GitHub?
No. Examworthy is not affiliated with or endorsed by GitHub. Our questions are original, blueprint-aligned practice material; we never reproduce live exam items.

Related certifications

More certifications you can practise on Examworthy, related to GitHub Copilot.

Browse all certifications

Examworthy is not affiliated with or endorsed by GitHub. All questions are original, blueprint-aligned practice material. We never reproduce live exam items. GH-300 and related marks belong to their respective owners.