exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 5 question 40 discussion

Actual exam question from Microsoft's AZ-400
Question #: 40
Topic #: 5
[All AZ-400 Questions]

You manage code by using GitHub.

You need to ensure that repository owners are notified if a new vulnerable dependency or malware is found in their repository.

What should you do?

  • A. Configure CodeQL scanning actions.
  • B. Configure Dependabot alerts.
  • C. Configure branch protection rules for each repository.
  • D. Subscribe all the repository owners to the GitHub Advisory Database.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
zellck
Highly Voted 1 year, 6 months ago
Selected Answer: B
B is the answer. https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts Dependabot alerts tell you that your code depends on a package that is insecure. If your code depends on a package with a security vulnerability, this can cause a range of problems for your project or the people who use it. You should upgrade to a secure version of the package as soon as possible. If your code uses malware, you need to replace the package with a secure alternative.
upvoted 7 times
...
hardinxcore
Most Recent 11 months, 1 week ago
Selected Answer: B
GitHub sends Dependabot alerts when we detect that your repository uses a vulnerable dependency or malware. Source: https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts option a, CodeQL, doesn't seem to support dependency scanning.
upvoted 2 times
...
vsvaid
11 months, 3 weeks ago
Selected Answer: B
Agree with Dependabot
upvoted 2 times
...
xRiot007
1 year, 4 months ago
B - configure Dependabot. This bot will also be able to do automatic PRs to remediate such problems. Those PRs will require human approval. Here is some info on that: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/managing-pull-requests-for-dependency-updates
upvoted 2 times
...
[Removed]
1 year, 6 months ago
Selected Answer: B
Answer is correct. https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts#configuration-of-dependabot-alerts
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...