Which description best defines GitHub Copilot CLI and its benefit?
- Exam domain
- Use GitHub Copilot features25–30% of the exam
- Difficulty
- Easy
- In this mock
- 20 questions on this domainPractise this domain
Why the exam asks this
Use GitHub Copilot features: Use GitHub Copilot CLI.
Objective in the exam guide: Define GitHub Copilot CLI and how it benefits developers.
Many developers live in the terminal. The exam checks what the CLI offers them.
Why B is the answer
Copilot's agent in the terminal, which can plan, edit files and run commands from the command line
Copilot CLI brings Copilot's agentic capabilities to the terminal, so developers can work on code and tasks without leaving the command line.
How it works
GitHub Copilot CLI is Copilot in the terminal.
It can understand requests, plan, edit files and run commands, with your approval.
It reduces context switching for terminal-based work, such as scripts and builds.
Clues in the question
The words that point to the answer, and what each one tells you.
- Defines GitHub Copilot CLI
- Its purpose and benefit.
In detail
- It can work interactively or from scripts.
- Organization policy controls whether members can use it.
Side by side with look-alikes
| Description | Correct? |
|---|---|
| Copilot's agent in the terminal | Yes |
| Prints the version only | No |
| Installs GitHub Desktop | No |
| Billing page | No |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A web page for managing billingWrong
Billing is managed on GitHub.com.
B. Copilot's agent in the terminal, which can plan, edit files and run commands from the command lineRight
Copilot CLI brings Copilot's agentic capabilities to the terminal, so developers can work on code and tasks without leaving the command line.
C. A command that only prints the Copilot versionWrongMost tempting
Printing a version is not its purpose.
Why it tempts: Many CLIs have a version command. But that is a detail, not what the CLI is.
D. A tool that installs GitHub DesktopWrong
GitHub Desktop is a separate app.
In practice
- Start with read-only tasks, such as explaining a script, before letting it change files.