AMAADOR ACADEMYCertificatesVerify a certificate

GH300

Final check — GitHub Copilot (GH-300) Exam Prep

Answer the 44 questions. You need 80% or more to pass. You can retry as many times as you like.

Study the course →

Question 1What score is required to pass Exam GH-300?
Question 2Which GH-300 domain carries the highest weight in the skills measured as of 7 August 2026?
Question 3A junior developer accepts a 60-line function from Copilot, sees that it compiles and opens a pull request without running tests, saying “Copilot is trained on millions of repositories”. What is the main responsible AI concern?
Question 4Copilot generates sample customer records for a demo. All names are typical of one country and all job titles for women are assistants. Which responsible AI principle is most at stake?
Question 5Your team lead wants to drop human code review for pull requests written mostly by Copilot to ship faster. What is the responsible response?
Question 6Which statement best describes a limitation of generative AI tools such as Copilot?
Question 7A developer wants Copilot to rename a function and update every call site across six files, then show each change as a diff to approve, without running any commands. Which mode fits best?
Question 8In VS Code, which key accepts the whole inline suggestion shown as ghost text?
Question 9You select a confusing regular expression in your editor and want a plain-language breakdown without leaving the file. What is the quickest option?
Question 10In Copilot Chat, what does the “@” prefix (for example @terminal or @workspace) select?
Question 11After a long chat about database indexes, a developer asks about CSS layout and gets answers mentioning indexes. What should they do?
Question 12What do next edit suggestions add compared with classic inline suggestions?
Question 13Which command installs GitHub Copilot CLI with npm?
Question 14A DevOps engineer wants a pipeline step that asks Copilot CLI one question about a log file and then exits. Which approach is correct?
Question 15A developer starts Copilot CLI with --allow-tool 'shell' and --deny-tool 'shell(rm)'. The agent tries to run rm on a temp folder. What happens?
Question 16What is the Model Context Protocol (MCP) used for with Copilot?
Question 17A team assigns a well-scoped bug issue to Copilot. An hour later there is a draft pull request from Copilot. The repository requires one approval. What is the correct next step?
Question 18During a large refactor in agent mode, the main conversation keeps running out of context because the agent reads many files to research logging. What feature addresses this?
Question 19What kind of review does Copilot code review submit on a pull request?
Question 20A repository has front-end and back-end code. The team wants special review rules only for TypeScript files under /web. What should they create?
Question 21A team lead wants new hires to ask questions that are answered from the payment service repository, its design document and two key issues, all in one shareable place. Which feature fits?
Question 22What is GitHub Spark designed for?
Question 23Developers repeatedly ask Copilot Chat to “create a React component with a test and a story” and get inconsistent layouts. What gives consistent results with the least effort?
Question 24In the Copilot suggestion lifecycle, what happens in the proxy before the prompt reaches the model?
Question 25Copilot keeps suggesting a deprecated method from version 2 of a library, but the project uses version 5. What explains this and what helps most?
Question 26Which data does Copilot typically gather as context for an inline suggestion in the IDE?
Question 27A security officer asks whether code from your Copilot Business organization is used to train GitHub’s models. What is the accurate answer?
Question 28The same chat prompt gives two different but valid implementations on two attempts. A colleague says Copilot is broken. What is the best explanation?
Question 29Which prompt is an example of few-shot prompting?
Question 30A developer writes one prompt: “Build the login page, add rate limiting, write the tests and update the docs.” The answer is shallow on every point. Which prompt principle was broken?
Question 31Copilot’s inline suggestions in a new file data.py are generic. The file is empty and named data.py. Which change will most improve suggestions under the “Surround” principle?
Question 32How does chat history affect Copilot Chat responses?
Question 33You want Copilot to focus a review on security only. Which prompt follows good prompt engineering practice?
Question 34A team must migrate a COBOL batch program to Java. Which sequence uses Copilot most safely?
Question 35Which slash command generates documentation comments for selected code in VS Code?
Question 36Copilot generated unit tests for a date-range function, and they cover only typical dates. What should you ask for next?
Question 37Copilot suggests building a SQL query with string concatenation from user input. What should the developer do?
Question 38Which is the main productivity benefit described as “reducing context switching”?
Question 39An enterprise owner sets the Copilot CLI policy to Disabled at enterprise level. An organization owner wants to enable it for one organization. What happens?
Question 40Which audit log search shows Copilot plan and seat events in an organization?
Question 41An admin removes a user’s Copilot seat with DELETE /orgs/{org}/copilot/billing/selected_users. The user still has Copilot the next day. Why?
Question 42A repository admin wants Copilot to ignore every file named .env anywhere in the repository. Which content exclusion path does that?
Question 43A security team says: “We excluded /secrets/** from Copilot, so those credentials are now protected.” What is the best reply?
Question 44With the public code policy set to Allowed, a developer sees a chat answer with a reference to a public repository under the MIT licence. What should they do?