
GitHubCopilot Certification
Domain 4Objective 2
Engineer Prompts for Performance GH-300 Practice Questions (Page 2)
Part of the Apply prompt engineering and context crafting domain, which accounts for 10-15% of the GH-300 exam.
19questions here
4free pages
3concepts
10-15%of the exam
Questions 6–10
- 6
A developer writes a prompt that produces an incorrect result from GitHub Copilot. According to prompt engineering principles, what is the most appropriate next step?
Select an answer first - 7
A developer wants GitHub Copilot to generate a JavaScript function that converts a string to title case (e.g., "hello world" → "Hello World"). The developer is in a file that already contains several utility functions. Which prompt is the most effective?
Select an answer first - 8
A developer asks Copilot to 'refactor the function we just discussed.' What enables Copilot to understand which function the developer means?
Select an answer first - 9
In the prompt process flow, what is the primary purpose of the 'testing' step?
Select an answer first - 10
A developer is using GitHub Copilot Chat to work on a Java class. In the first turn, they ask, "What does this class do?" Copilot explains that it manages a list of employees. In the next turn, the developer wants to add a method to find an employee by ID. What is the best follow-up prompt?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GitHub. “GH-300” is a trademark of its owner, used for identification only.