Use GitHub Copilot effectively and responsibly across the IDE, CLI, and chat, with a worked explanation on every practice question.
Free sample questions
No account needed. Every question has a worked explanation, just like the full bank.
lock_openFree 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.check_circle 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.
lock_openFree 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.check_circle 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.
lock_openFree sampleUse GitHub Copilot featuresmedium
A developer wants Copilot to implement a small new endpoint end to end, including writing the handler, wiring the route, running the test suite and fixing failures it finds, with minimal step-by-step intervention. Which surface best matches this?
- AUse "Copilot Chat" to discuss the endpoint design and then carry out each implementation and test step manually based on the advice given.
- BUse "Edit Mode" to apply the handler and route changes, then switch tools separately to run the tests and address any failures.
- CUse "Agent Mode" so Copilot autonomously edits the files, runs the test suite and iterates on failures with minimal step-by-step direction.check_circle Correct
- DUse inline ghost-text completions, accepting suggestions line by line until the handler, route and tests are complete.
Select Agent Mode when a task needs autonomous, multi-step execution including running tools and iterating on results. Agent Mode is designed to carry a task end to end by editing files, running tools such as test suites and iterating on the results with minimal prompting, a level of autonomy that Chat, Edit Mode and inline completions do not offer.
Why A is wrong: Copilot Chat advises conversationally but executes nothing itself, so the developer would still perform every implementation and test step by hand.
Why B is wrong: Edit Mode applies code edits for review but does not run the test suite or iterate on failures, so it covers only part of the autonomous workflow described.
Why C is correct: Agent Mode can act autonomously across files, invoke tools such as the test runner and iterate on failures, matching an end-to-end task needing little intervention.
Why D is wrong: Inline completions speed up typing within a file but cannot run tools, execute tests or coordinate a multi-step build on their own.
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.
- 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.
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.