exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 6 question 38 discussion

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

You manage a project by using Azure Boards. You manage the project code by using GitHub.

You have three work items that have IDs of 456, 457, and 458.

You need to create a pull request that will be linked to all the work items. The solution must set the state of work item 456 to done.

What should you add to the commit message?

  • A. #AB456, #AB457, #AB458
    Completed #AB456
  • B. #456, #457, #458
    Completed #456
  • C. Done #AB456, #AB457, #AB458
  • D. #AB456, #AB457, #AB458
    Verifies #AB456
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
ozbonny
Highly Voted 1 year, 2 months ago
A. #AB456, #AB457, #AB458 Completed #AB456 should be Fixes now but well I think this is out of the date
upvoted 7 times
...
Younglad
Highly Voted 10 months, 2 weeks ago
There is no answer. The correct answer is Fixes AB#456, AB#457, AB#458
upvoted 6 times
...
SunnyIOM
Most Recent 1 month ago
Selected Answer: A
By including the text Fixes AB#456 in the commit message, you ensure that work item 456 is set to "Done." Additionally, by including AB#457, AB#458, you link the pull request to work items 457 and 458.
upvoted 2 times
...
Dankho
4 months, 2 weeks ago
Selected Answer: A
We've had this question mentioned about 3X now and each time the answer is different. I'm going with Fixes AB#456, AB#457, AB#458. If I see completed on the test but not Fixes, I guess I'll go with that.
upvoted 1 times
...
lambdaCreator_111
1 year, 3 months ago
Selected Answer: C
Has to be Fixes AB#456 , ...
upvoted 2 times
...
vsvaid
1 year, 4 months ago
Closest answer is C if Done is replaced with Fixed and #AB456 is written as AB#456
upvoted 2 times
...
DH333
1 year, 5 months ago
The correct answer isn't present, it should have fix, fixes, or fixed. So the answers that come closest are A and D...... A questions without a right answer should be discarded in my opinion. https://github.com/Gimly/vsts-docs/blob/master/docs/boards/github/link-to-from-github.md
upvoted 5 times
...
pal40sg
1 year, 7 months ago
Selected Answer: D
In GitHub, you can link a pull request to work items in Azure Boards by using the keywords in the commit message. The "Verifies" keyword is used to link a pull request to work items and automatically set their state when the pull request is merged. In this case, you want to set the state of work item 456 to done, so you use "Verifies #AB456" in the commit message. Additionally, you can include the other work items (#AB457, #AB458) to link them to the pull request.
upvoted 5 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago