Microsoft DevOps Engineer Expert AZ-400 Practice Question

Your team maintains a GitHub repository containing a Node.js project. You have enabled Dependabot, but the volume of pull requests for version updates, especially for development dependencies, is creating too much noise. You need to configure Dependabot to stop creating pull requests for version updates, but continue to automatically create pull requests for security updates that fix vulnerable dependencies.

Which dependabot.yml configuration should you use?

  • A dependabot.yml file that sets package-ecosystem: "npm", directory: "/", schedule: interval: "weekly", and open-pull-requests-limit: 0.

  • Disable Dependabot version updates in the repository settings and configure a CI job to run npm audit fix on a nightly basis.

  • A dependabot.yml file that sets package-ecosystem: "npm", directory: "/", schedule: interval: "weekly", and update-types: ["security"].

  • A dependabot.yml file that sets package-ecosystem: "npm", directory: "/", schedule: interval: "weekly", and includes an ignore rule with update-types: ["version-update:semver-patch"].

Microsoft DevOps Engineer Expert AZ-400
Develop a security and compliance plan
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot