nerdexam
MicrosoftMicrosoft

GH-500 · Question #90

GH-500 Question #90: Real Exam Question with Answer & Explanation

The correct answer is A: Dependabot alerts are enabled by default for public repositories and disabled by default for. Dependabot alerts are enabled by default for public repositories but must be manually enabled by an administrator for private repositories.

Implement and manage Dependabot

Question

What are the default settings for Dependabot alerts in public and private repositories on GitHub?

Options

  • ADependabot alerts are enabled by default for public repositories and disabled by default for
  • BDependabot alerts are disabled by default for both public and private repositories.
  • CDependabot alerts are enabled by default for both public and private repositories.
  • DDependabot alerts are disabled by default for public repositories and enabled by default for

Explanation

Dependabot alerts are enabled by default for public repositories but must be manually enabled by an administrator for private repositories.

Common mistakes.

  • B. Dependabot alerts are not disabled by default for both repository types; public repositories have them enabled automatically without any administrator action required.
  • C. Dependabot alerts are not enabled by default for both repository types; private repositories require manual enablement by an admin before alerts are generated.
  • D. This answer reverses the actual defaults; it is public repositories - not private - that have Dependabot alerts enabled by default on GitHub.

Concept tested. Default Dependabot alert enablement for public versus private repositories

Reference. https://docs.github.com/en/code-security/dependabot/dependabot-alerts/configuring-dependabot-alerts

Topics

#Dependabot alerts#Default settings#Public vs Private repos

Community Discussion

No community discussion yet for this question.

Full GH-500 PracticeBrowse All GH-500 Questions