Microsoft

GH-500 practice question 15

GitHub Advanced Security · free question 15 of 20

Question

Assuming security and analysis features are not configured at the repository, organization, or enterprise level, secret scanning is enabled on:
  • A. private repositories.
  • B. all new repositories within your organization.
  • C. public repositories. Correct
  • D. user-owned private repositories.

Explanation

Secret scanning is enabled by default on public repositories, with no configuration needed. On private repositories it must be enabled manually and requires GitHub Advanced Security, which rules out private and user-owned private repositories. New repositories in an organization only get it automatically if someone has configured that at the organization level, which the question excludes.

Practice the whole free set

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