Microsoft

GH-300 practice question 15

GitHub Copilot · free question 15 of 20

Question

Which of the following steps correctly demonstrates how to establish an organization-wide policy for GitHub Copilot Business to restrict its use to certain repositories?
  • A. Create a copilot.policy file in each repository
  • B. Create a copilot.policy in the .github repository
  • C. Configure the policies in the organization settings Correct
  • D. Apply policies through the GitHub Actions configuration

Explanation

Copilot Business policies are managed by organization owners in the organization's Settings, under Copilot, then Policies (and related settings such as content exclusion). There is no copilot.policy file, in individual repositories or in the .github repository, and Copilot policies are not applied through GitHub Actions workflows.

Practice the whole free set

Answer all 20 free GH-300 questions with instant feedback, or unlock all 116 questions with Learn and Exam modes.