nerdexam
Microsoft

GH-300 · Question #6

GitHub Copilot in the Command Line Interface (CLI) can be used to configure the following settings: (Each correct answer presents part of the solution. Choose two.)

The correct answer is A. The default execution confirmation B. Usage analytics. GitHub Copilot in the CLI supports configuring: (A) Default execution confirmation - controls whether Copilot CLI asks for confirmation before running suggested commands, and (B) Usage analytics - controls whether anonymized usage data is sent to GitHub for product improvement…

Configure privacy, content exclusions, and safeguards

Question

GitHub Copilot in the Command Line Interface (CLI) can be used to configure the following settings: (Each correct answer presents part of the solution. Choose two.)

Options

  • AThe default execution confirmation
  • BUsage analytics
  • CThe default editor
  • DGitHub CLI subcommands

How the community answered

(26 responses)
  • A
    88% (23)
  • C
    4% (1)
  • D
    8% (2)

Explanation

GitHub Copilot in the CLI supports configuring: (A) Default execution confirmation - controls whether Copilot CLI asks for confirmation before running suggested commands, and (B) Usage analytics - controls whether anonymized usage data is sent to GitHub for product improvement. These are the two user-configurable settings exposed by the gh copilot config command. Option C (default editor) is a general GitHub CLI setting, not specific to the Copilot extension. Option D (GitHub CLI subcommands) are fixed CLI commands, not user-configurable settings.

Topics

#GitHub Copilot CLI#CLI configuration#Usage analytics#Execution confirmation

Community Discussion

No community discussion yet for this question.

Full GH-300 Practice