Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
Location Chicago IL, USA

Exam AZ-400 topic 2 question 16 discussion

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

You use Azure Pipelines to manage build pipelines, GitHub to store source code, and Dependabot to manage dependencies.
You have an app named App1.
Dependabot detects a dependency in App1 that requires an update.
What should you do first to apply the update?

  • A. Create a pull request.
  • B. Approve the pull request.
  • C. Create a branch.
  • D. Perform a commit.
Show Suggested Answer Hide Answer

Suggested Answer: B
DependaBot is a useful tool to regularly check for dependency updates. By helping to keep your project up to date, DependaBot can reduce technical debt and immediately apply security vulnerabilities when patches are released. How does DependaBot work?
1. DependaBot regularly checks dependencies for updates
2. If an update is found, DependaBot creates a new branch with this upgrade and Pull Request for approval
3. You review the new Pull Request, ensure the tests passed, review the code, and decide if you can merge the change
Reference:
https://samlearnsazure.blog/2019/12/20/github-using-dependabot/

Comments

kumardeb
Highly Voted 10 months, 1 week ago
B. Approve the pull request.
upvoted 21 times
...
kumardeb
Highly Voted 10 months, 3 weeks ago
If a dependency update is found, a new Pull Request is created with the upgraded dependency and an email notification is sent. All we need to do is review the Pull Request, ensure all of the tests passed successfully, and we can confidently approve and merge this update.
upvoted 10 times
...
nvnrao57
Most Recent 5 months ago
A. Create a pull request. - is correct
upvoted 2 times
dba7x
4 months ago
Wrong, read the doc and you will see that Dependabot will create that PR.
upvoted 4 times
...
...
nvnrao57
5 months ago
Correct Answer is > A. Pull Request
upvoted 2 times
...
idr1s
8 months, 1 week ago
Correct Answer to Review and Approve Pull Request 1) Dependabot checks for updates 2) Dependabot opens pull requests 3) You review and merge https://dependabot.com/
upvoted 4 times
...
MohamedBMW
9 months, 1 week ago
A. Create Pull Request
upvoted 3 times
tom999
8 months, 1 week ago
No. Dependabot will create the pull request. We only have to approve it.
upvoted 6 times
...
...
27close
10 months, 3 weeks ago
agree with the solution
upvoted 3 times
...

SaveCancel