nerdexam
MicrosoftMicrosoft

GH-500 · Question #110

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

The correct answer is A: package-ecosystem. When configuring Dependabot via the dependabot.yml file, the following fields are mandatory for each update configuration: [D] directory: Specifies the location of the package manifest within the repository. This tellsDependabot where to look for dependency files. [A] package-eco

Configure and use Dependabot and Dependency Review

Question

Which Dependabot configuration fields are required? Each answer presents part of the solution. (Choose three.)

Options

  • Apackage-ecosystem
  • Ballow
  • Cschedule.interval
  • Ddirectory
  • Emilestone

Explanation

When configuring Dependabot via the dependabot.yml file, the following fields are mandatory for each update configuration: [D] directory: Specifies the location of the package manifest within the repository. This tellsDependabot where to look for dependency files. [A] package-ecosystem: Indicates the type of package manager (e.g., npm, pip, maven) used in the specified directory. [C] schedule.interval: Defines how frequently Dependabot checks for updates (e.g., daily, weekly). This ensures regular scanning for outdated or vulnerable dependencies. [Not E] The milestone field is optional and used for associating pull requests with milestones. The allow field is also optional and used to specify which dependencies to update.

Topics

#Dependabot configuration#Required fields#Dependency updates

Community Discussion

No community discussion yet for this question.

Full GH-500 PracticeBrowse All GH-500 Questions