8 real GH-300 flashcards, sampled across every domain the exam tests. Each concept card is paired with the misconception card built from the tempting wrong answer - the trap most decks skip. No account, no card.
The full deck has 1084 flashcards. For a domain-by-domain breakdown and a study plan, read the GH-300 study guide.
schoolConceptUse GitHub Copilot features
Which GitHub Copilot surface explains existing code in prose without changing any files?
arrow_downward
Copilot Chat. It handles conversational question-and-answer about code, describing existing behaviour and design rationale in natural language without applying edits, which fits a read-only explanation need where you do not want files touched.
errorMisconceptionUse GitHub Copilot features
Agent Mode is the right choice when you only want existing code explained in words.
arrow_downward
Wrong. Agent Mode is built to take autonomous action and edit files, tracing call graphs and applying refactors it judges necessary. That exceeds and contradicts a read-only request. For a prose explanation with no edits, Copilot Chat is the fit.
schoolConceptUse GitHub Copilot responsibly
What generative-AI risk does GitHub Copilot show when it suggests a convincing function or API that does not actually exist?
arrow_downward
Hallucination: the model generates fluent, confident output that is not grounded in fact, so it can invent a plausible-looking helper, API, or behaviour that is not real. A convincing name or signature is not evidence the thing exists, so suggestions must be validated rather than trusted on appearance.
errorMisconceptionUse GitHub Copilot responsibly
A plausibly named Copilot helper that may not exist is an example of bias in the output.
arrow_downward
Bias concerns unfair treatment learned from skewed training data, where one group of inputs is handled less fairly than another. A fabricated helper that may not exist is about invented output, which is hallucination, not unfairness.
schoolConceptImprove developer productivity with GitHub Copilot
What prompting practice gives GitHub Copilot the best chance of generating an accurate first draft of a function body?
arrow_downward
Provide a descriptive function signature plus a short comment naming the inputs, expected output, and an example. Copilot predicts completions from the context it is given, so this narrows the prediction toward the intended behaviour and produces a far more accurate draft than an empty or contextless prompt.
errorMisconceptionImprove developer productivity with GitHub Copilot
Typing only the keyword def on a blank line lets Copilot invent the best function unconstrained.
arrow_downward
With no name, parameters, or stated intent, Copilot lacks the context it needs and is far more likely to produce an irrelevant or generic body. A descriptive signature and a comment describing inputs and output guide it toward the intended behaviour.
schoolConceptConfigure privacy, content exclusions, and safeguards
How do you stop GitHub Copilot from using a named file, such as a secrets file, as context for completions and IDE chat across a whole repository?
arrow_downward
Add the file path to the repository's Copilot content exclusions. Available on Copilot Business and Enterprise, content exclusions match files by path and prevent the matched files being sent to Copilot as context for code completions and IDE chat. This is a Copilot context control, separate from Git tracking, duplication detection, or Model Context Protocol.
errorMisconceptionConfigure privacy, content exclusions, and safeguards
Adding a file to .gitignore withholds it from Copilot context because untracked files are never sent as context.
arrow_downward
.gitignore only controls what Git tracks; it has no effect on what Copilot reads as context. To stop a file being used by Copilot you must add its path to repository content exclusions, not to .gitignore.
Examworthy is not affiliated with or endorsed by GitHub. All flashcards are original, drawn from our own blueprint-aligned practice questions. We never reproduce live exam items. GH-300 and related marks belong to their respective owners.