GitHub Copilot (GH-300) · 27% practice allocation

GitHub GH-300: Use GitHub Copilot Features Practice Questions

5 free sample questions from the Use GitHub Copilot Features domain, with answers and explanations. The full GH-300 bank has 115 questions across 6 domains. Questions are scenario-based and written from the official GitHub exam guide.

1.

A developer uses gh copilot explain in their terminal. They paste in a complex awk command. What will GitHub Copilot CLI do?

  • A. Suggest safer alternatives to the awk command from a security perspective
  • B. Provide a natural language explanation of what the awk command does✓ Correct
  • C. Execute the awk command and display its output
  • D. Rewrite the awk command in Python for easier readability
Explanation

The gh copilot explain subcommand is specifically designed to take a shell command and provide a plain-language explanation of what it does — ideal for understanding unfamiliar or complex commands like awk pipelines. It does not execute the command, rewrite it in another language, or perform security analysis. That distinguishes explain from suggest, which is used to generate new commands from a natural language description.

2.

An organization administrator for a Copilot Business account notices that one of their developers has been inactive for two months. The administrator removes the developer's Copilot seat. During the grace period that follows, what is true about that developer's access to Copilot?

  • A. The developer retains access for 7 days after seat removal regardless of the billing cycle
  • B. The developer retains access to Copilot until the end of the current billing cycle✓ Correct
  • C. The developer immediately loses all access to Copilot features upon seat removal
  • D. The developer's access is suspended but their seat is held open for 30 days in case of reassignment
Explanation

When a seat is removed from a Copilot Business organization, the developer retains access until the end of the current billing cycle — this is the grace period. They do not lose access immediately, nor is it a fixed 7-day window independent of billing. The seat is not 'held open' for 30 days for reassignment; it is freed up for reassignment to another user right away. The billing cycle boundary is the defining factor for when access ends.

3.

A Copilot Business organization has 50 assigned seats. An employee leaves the company, and the administrator removes that employee's Copilot seat. According to GitHub's seat management policy, which statement BEST describes what happens to the seat?

  • A. The seat is immediately available to assign to another user, and the billing is prorated from the removal date
  • B. GitHub automatically reassigns the seat to the next person on a waiting list configured by the admin
  • C. The removed user retains Copilot access until the end of the current billing cycle, and the seat can be reassigned immediately✓ Correct
  • D. The seat enters a grace period and the removed user cannot use Copilot, but the organization is still billed for the seat until the next billing cycle
Explanation

When an administrator removes a user's Copilot Business seat, the removed user retains access until the end of the current billing cycle (GitHub does not prorate mid-cycle removals for Business seats). Critically, the seat can be immediately reassigned to another user — the organization is not blocked from reusing it. There is no formal 'grace period' that prevents the removed user from accessing Copilot before the cycle ends; they keep access. There is no automated waiting list feature in Copilot Business seat management.

4.

A developer is working in VS Code with GitHub Copilot Chat and wants to ask Copilot a question about all the files in their currently open project folder, not just the active file. Which Copilot Chat participant should they use to provide that broader project context?

  • A. @workspace, to let Copilot index and reason about the entire open workspace✓ Correct
  • B. @vscode, to query VS Code's internal file explorer for project context
  • C. @github, to search the repository on GitHub.com for relevant files
  • D. @terminal, to give Copilot access to the project's file tree via the terminal
Explanation

@workspace is the Copilot Chat participant that allows the model to reason about all files in the currently open VS Code workspace, enabling questions like 'where is the authentication logic in this project?' @terminal provides context about the integrated terminal environment and is used for shell-related questions. @github is used to query GitHub.com data such as issues and pull requests. @vscode is used to ask questions about VS Code itself, like settings or commands — not project source files.

5.

A company is evaluating whether to purchase Copilot Enterprise instead of Copilot Business. Which of the following capabilities is available ONLY in Copilot Enterprise and not in Copilot Business? (Select TWO)

  • A. Audit log for Copilot seat assignment and policy changes
  • B. Creating knowledge bases by indexing internal organization repositories for Copilot Chat context✓ Correct
  • C. Organization-level policy management for Copilot features
  • D. Copilot Chat on GitHub.com with context customized using the organization's own codebase✓ Correct
  • E. Inline code completions in JetBrains IDEs
  • F. Blocking suggestions matching publicly available code
Explanation

Knowledge bases (indexing org repos for Copilot Chat context) and Copilot Chat on GitHub.com with org-customized context are both Copilot Enterprise-exclusive features. Organization-level policy management and the audit log are available in Copilot Business as well. Blocking suggestions matching public code is a Copilot Business (and Enterprise) feature. Inline code completions in JetBrains IDEs are available across all plans.

Test yourself across every GH-300 domain

The free GH-300 practice test mixes about 20 questions weighted like the exam. The full 115-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Use GitHub Copilot Features study guide (GH-300) →

Other GH-300 domains

← All GitHub Copilot study resources