nerdexam
MicrosoftMicrosoft

GH-500 · Question #36

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

The correct answer is B: package-ecosystem. {"question_number": 9, "correct_answer": "B", "explanation": "In the dependabot.yml configuration file, each entry under the 'updates' key requires two mandatory fields: 'package-ecosystem' and 'directory'. The 'package-ecosystem' key (B) specifies which package manager Dependabo

Configure and use Dependabot and Dependency Review

Question

Which key is required in the update settings of the Dependabot configuration file?

Options

  • Acommit-message
  • Bpackage-ecosystem
  • Cassignees
  • Drebase-strategy

Explanation

{"question_number": 9, "correct_answer": "B", "explanation": "In the dependabot.yml configuration file, each entry under the 'updates' key requires two mandatory fields: 'package-ecosystem' and 'directory'. The 'package-ecosystem' key (B) specifies which package manager Dependabot should monitor (e.g., npm, pip, maven, docker). Without it, Dependabot cannot know which manifest files to scan. 'commit-message' (A), 'assignees' (C), and 'rebase-strategy' (D) are all optional configuration keys that customize Dependabot's behavior but are not required.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#Dependabot configuration#`dependabot.yml`#Required fields#Package ecosystems

Community Discussion

No community discussion yet for this question.

Full GH-500 PracticeBrowse All GH-500 Questions