GitHub Copilot certification · GH-300 · Skills outline of August 7, 2026 · Official skills outline · Original practice content

Free GH-300 practice questions: Use GitHub Copilot features

Reviewed by the FlashGenius certification content team · Last updated: December 5, 2026 · Aligned to the published GH-300 skills outline and weights

The Use GitHub Copilot features domain is 25-30% of the GH-300 exam and covers Copilot in the IDE, Copilot CLI, agent mode, MCP, agent sessions, code review, Spaces, pull request summaries, instructions and prompt files, Chat commands, and organization policies. Review each answer and explanation as you practice.

GH-300 has 60 scored multiple-choice questions (plus about 10-15 unscored ones) in 100 minutes, costs $99 USD and needs a scaled 700 to pass.

Take the 10-question GH-300 quick-start test · Create a free account

What Use GitHub Copilot features covers on the GH-300 exam

This domain is 25-30% of the GH-300 exam (about 15 questions in a 60-question mock). The official skills outline includes:

How to study Use GitHub Copilot features

GH-300 Use GitHub Copilot features sample questions with answers

Use GitHub Copilot features

Sample question 1

A developer who has a Copilot Business seat starts using IntelliJ IDEA and wants inline suggestions there. What should she do first?

  1. Install the GitHub Copilot plugin from the JetBrains Marketplace, restart, and sign in to GitHub
  2. Add a .github/copilot-instructions.md file to the repository and restart the IDE
  3. Install GitHub Copilot CLI and run the login command so the IDE can reuse its token
  4. Turn on Copilot in the repository settings on GitHub.com, then reopen the project in the IDE
Show correct answer and explanation

Correct answer: A. Install the GitHub Copilot plugin from the JetBrains Marketplace, restart, and sign in to GitHub

A is correct because JetBrains IDEs get Copilot through the GitHub Copilot plugin; after installing it and restarting, you log in to GitHub from Tools > GitHub Copilot and authorize the plugin. B is incorrect because an instructions file only customizes responses once Copilot is running; it does not install or enable Copilot in the IDE. C is incorrect because Copilot CLI is a separate terminal tool; JetBrains IDEs authenticate through their own plugin, not through a CLI login. D is incorrect because repository settings do not install anything in the IDE; the editor still needs the Copilot plugin and a GitHub sign-in before suggestions appear. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Use GitHub Copilot features

Sample question 2

A developer runs Visual Studio 2022 version 17.12 on Windows and has a Copilot Pro plan. What does he need to do to start using Copilot in Visual Studio?

  1. Install the copilot.vim plugin and point Visual Studio to its Node.js runtime
  2. Install Copilot CLI with WinGet, then enable the CLI integration in Visual Studio
  3. Download the Copilot extension from the Visual Studio Marketplace and install it by hand
  4. Add his GitHub account to the Visual Studio keychain, because Copilot is built in
Show correct answer and explanation

Correct answer: D. Add his GitHub account to the Visual Studio keychain, because Copilot is built in

D is correct because from version 17.10, the unified Copilot and Copilot Chat extension is a built-in component of Visual Studio, so signing in with the GitHub account that holds the plan enables it. A is incorrect because copilot.vim is the plugin for Vim and Neovim; it has no role in Visual Studio. B is incorrect because Copilot CLI is a separate terminal tool and is not how Visual Studio gets Copilot; the IDE uses its built-in component and a GitHub sign-in. C is incorrect because a manual extension install was only needed for versions 17.8 and 17.9; later versions already include Copilot as a built-in component. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Use GitHub Copilot features

Sample question 3

A backend engineer edits code in Neovim on Linux and wants Copilot inline suggestions in that editor. Which setup matches GitHub's instructions?

  1. Install the github/copilot.vim plugin, then run :Copilot setup inside Neovim
  2. Install the Copilot Chat plugin for Neovim, then switch it into agent mode
  3. Install Copilot CLI, then run its login command from inside a Neovim terminal buffer
  4. Turn on the Neovim option in personal Copilot settings on GitHub.com, then restart
Show correct answer and explanation

Correct answer: A. Install the github/copilot.vim plugin, then run :Copilot setup inside Neovim

A is correct because GitHub's plugin for Vim and Neovim is github/copilot.vim, installed through the editor's plugin manager; running :Copilot setup signs in and :Copilot enable turns it on. B is incorrect because Neovim supports code completion only; chat and agent mode are not available in Neovim. C is incorrect because Copilot CLI is a terminal agent, not an editor plugin; it does not provide inline suggestions in Neovim buffers. D is incorrect because there is no per-editor switch on GitHub.com that installs Copilot; Neovim needs the copilot.vim plugin and a sign-in. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Use GitHub Copilot features

Sample question 4

A new hire installs Copilot in VS Code and signs in with the GitHub account that belongs to her company's organization, which has Copilot Business. Copilot reports that she has no access. What is the most likely cause?

  1. VS Code needs Copilot CLI installed before the editor can confirm a seat
  2. An organization admin has not yet assigned her a Copilot seat
  3. The repository she opened has no .github/copilot-instructions.md file yet
  4. She also needs a personal Copilot Pro plan before a Business seat can work
Show correct answer and explanation

Correct answer: B. An organization admin has not yet assigned her a Copilot seat

B is correct because organization members can use Copilot at the organization's expense only after an admin assigns them a seat, even when Copilot is part of the organization's plan. A is incorrect because the IDE checks access through its own GitHub sign-in; Copilot CLI is a separate tool and is not a prerequisite. C is incorrect because custom instructions only shape responses; their absence never blocks access to Copilot. D is incorrect because a Business seat works on its own; in fact a personal paid plan is cancelled with a prorated refund when a Business seat is assigned. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Use GitHub Copilot features

Sample question 5

In VS Code, when Copilot shows an inline suggestion as gray ghost text, pressing ___ accepts the whole suggestion.

  1. Tab
  2. Esc
  3. Shift+Tab
  4. Ctrl+I
Show correct answer and explanation

Correct answer: A. Tab

A is correct because Tab accepts the full inline suggestion shown as ghost text, while you can also keep typing to ignore it. B is incorrect because Esc dismisses the suggestion rather than accepting it. C is incorrect because Shift+Tab is not the accept key for inline suggestions in VS Code; it removes indentation in the editor. D is incorrect because Ctrl+I opens inline chat in the editor; it does not accept the ghost text. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Use GitHub Copilot features

Sample question 6

A developer in VS Code selects a function and wants Copilot to rewrite it, with the proposed change shown as a diff right at that spot in the editor rather than in a separate panel. Which way of triggering Copilot fits?

  1. Ask in the Copilot Chat view and copy the answer back
  2. Open inline chat on the selection and describe the change
  3. Start a Copilot CLI session in the built-in terminal
  4. Request a Copilot code review of the selection
Show correct answer and explanation

Correct answer: B. Open inline chat on the selection and describe the change

B is correct because inline chat works directly in the editor on the selected code and shows the proposed change in place, where you can accept or discard it. A is incorrect because the Chat view is a separate side panel; the developer wants the change shown in place at the selection. C is incorrect because Copilot CLI runs in a terminal and works on files through tools; it does not show an in-editor diff at the cursor. D is incorrect because a code review returns comments and suggestions about the code; it is not the way to ask for a specific rewrite in place. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Use GitHub Copilot features

Sample question 7

A developer wants Copilot to add input validation across several files, run the project's test command, read the failures, and keep fixing the code until the tests pass. Which mode in VS Code Copilot Chat fits this task?

  1. Edit mode
  2. Inline suggestions
  3. Agent mode
  4. Ask mode
Show correct answer and explanation

Correct answer: C. Agent mode

C is correct because agent mode finds the relevant code, edits files, runs commands such as tests and checks its own work in a loop while the developer reviews and redirects it. A is incorrect because Edit mode applies edits to files you choose and lets you review them, but it does not run terminal commands and iterate on test results. B is incorrect because inline suggestions complete code as you type in one place; they do not plan multi-file work or run tests. D is incorrect because Ask mode answers questions and suggests code in the chat; it does not edit files or run the test command. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Use GitHub Copilot features

Sample question 8

A team lead is explaining how developers can trigger Copilot in their IDEs. Which statement is true?

  1. Agent mode is available only on paid plans, so developers on Copilot Free can use inline suggestions and chat only.
  2. Inline chat sends the selected code to Copilot cloud agent, which returns the change as a pull request.
  3. Next edit suggestions work in every IDE that supports Copilot code completion, including Neovim.
  4. Writing a descriptive comment above an empty function body can prompt an inline suggestion that implements it.
Show correct answer and explanation

Correct answer: D. Writing a descriptive comment above an empty function body can prompt an inline suggestion that implements it.

D is correct because comments describing what you want steer code completion, so a clear comment often produces a suggestion that implements the described behavior. A is incorrect because agent mode is included in every Copilot plan, including Copilot Free. B is incorrect because inline chat works locally in the editor and shows the change in place; it does not hand work to cloud agent or open a pull request. C is incorrect because Neovim supports code completion only; next edit suggestions are not available there. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Use GitHub Copilot features

Sample question 9

A developer uses Visual Studio 2022. A tutorial tells him to switch Copilot Chat to Edit mode to make a coordinated change across four files, but he cannot find Edit mode. What should he do?

  1. Update to the latest Visual Studio release, which adds Edit mode to Copilot Chat
  2. Use agent mode, because Edit mode is offered only in VS Code and JetBrains IDEs
  3. Ask an organization owner to enable the Edit mode policy for Visual Studio users
  4. Install the Copilot Edits extension, which provides the multi-file panel in Visual Studio
Show correct answer and explanation

Correct answer: B. Use agent mode, because Edit mode is offered only in VS Code and JetBrains IDEs

B is correct because the feature matrix lists Edit mode, the descendant of Copilot Edits, for VS Code and JetBrains only, while agent mode is available in Visual Studio and can make multi-file changes. A is incorrect because Edit mode is not part of Copilot in Visual Studio; the multi-file option there is agent mode. C is incorrect because the missing mode is an IDE support gap, not a policy that an organization owner can switch on. D is incorrect because Copilot Edits is not a separate extension; it survives only as Edit mode in VS Code and JetBrains. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Use GitHub Copilot features

Sample question 10

Match each need to the way of triggering Copilot in the IDE. 1. Finish the line of code you are typing. 2. Ask a question about the codebase in a side panel. 3. Have Copilot plan a change, edit files and run commands on its own.

  1. 1 Copilot Chat, 2 inline suggestions, 3 agent mode
  2. 1 inline suggestions, 2 agent mode, 3 Copilot Chat
  3. 1 inline suggestions, 2 Copilot Chat, 3 agent mode
  4. 1 agent mode, 2 Copilot Chat, 3 inline suggestions
Show correct answer and explanation

Correct answer: C. 1 inline suggestions, 2 Copilot Chat, 3 agent mode

C is correct because inline suggestions complete code as you type, Copilot Chat answers questions in a chat panel, and agent mode works through a multi-step task by editing files and running commands. A is incorrect because finishing a line as you type is what inline suggestions do, while questions in a side panel belong to Copilot Chat. B is incorrect because a question in a side panel is a chat interaction, and editing files and running commands autonomously is agent mode. D is incorrect because inline suggestions cannot plan work or run commands, and agent mode is not needed to finish a single line. Skills measured: Use GitHub Copilot features > Use GitHub Copilot in the IDE.

Keep practicing

GH-300 practice test hub · Mixed quick start · GH-900 GitHub Foundations practice test · AI-901 Azure AI Fundamentals practice test · AI-103 Azure AI Apps and Agents Developer practice test

FlashGenius is an independent study resource and is not affiliated with or endorsed by GitHub or Microsoft. GitHub and GitHub Copilot are trademarks of GitHub, Inc. 300 original practice questions.