exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 6 question 33 discussion

Actual exam question from Microsoft's AZ-400
Question #: 33
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. Fixes #456, #457, #458
  • B. Fixes #AB456, #AB457, #AB458
  • C. #456, #457, #458
    Completed #456
  • D. #AB456, #AB457, #AB458
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, 11 months ago
Correct answer should be using AB#ID instead. https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops#use-ab-mention-to-link-from-github-to-azure-boards-work-items From a GitHub commit, pull request or issue, use the following syntax to create a link to your Azure Boards work item. Enter the AB#ID within the text of a commit message. Or, for a pull request or issue, enter the AB#ID within the title or description (not a comment).
upvoted 21 times
KumaTed
1 year, 10 months ago
yeah, should be Fixes AB#456, AB#457, AB#458
upvoted 12 times
...
...
SunnyIOM
Most Recent 1 month ago
Selected Answer: D
To create a pull request that will be linked to multiple Azure Boards work items and set the state of one of the work items to "Done," you should use the correct syntax in the commit message. The syntax should include the "AB#" prefix for Azure Boards work items and the "Fixes" keyword to automatically update the state of the work item.
upvoted 1 times
...
Gooldmember
6 months, 1 week ago
Selected Answer: B
Can anyone update the bad B option to the correct option text?
upvoted 3 times
...
ozbonny
1 year, 2 months ago
Selected Answer: B
B. Fixes #AB456, #AB457, #AB458 you need: Fixes + AB# in Github
upvoted 2 times
...
vsvaid
1 year, 4 months ago
Selected Answer: B
Ignore my earlier comment, answer is correct Fixes AB#123, AB#124, AB#125 will complete first item and will create link for all three. https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops
upvoted 1 times
...
vsvaid
1 year, 4 months ago
It should be like like Fixes AB#123, Fixes AB#124, Fixes AB#125. Need to have Fixes before all items to complete. Otherwise it will create only links. Fixes AB#123, AB#124, AB#125 will only complete only first item and will create link for all three. https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops
upvoted 1 times
...
HgstExam
1 year, 5 months ago
Selected Answer: B
Voted B: https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops Fixes AB#123, AB#124, and AB#126 Links to Azure Boards work items 123, 124, and 126. Transitions only the first item, 123 to the Resolved workflow state category or, if none is defined, then the Completed workflow state category.
upvoted 2 times
...
mfawew223
1 year, 5 months ago
Selected Answer: B
Definitely B. We are accessing Azure Boards work items from Github. You must affix "AB" before the # when referencing Azure Boards from Github
upvoted 2 times
...
gabo
1 year, 7 months ago
Selected Answer: A
For Issue, use #<Number> For Work Item, use AB#<Number> https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops Maybe there's a typo in the question so I would choose option A
upvoted 2 times
mfawew223
1 year, 5 months ago
The AB designation is not a Issue vs Work Item thing. Using AB is how you denote Azure Board work items from within Github. Since the problem presents us having a GitHub project, so we use #AB123 to denote a Azure Boards work item. Its B
upvoted 4 times
...
...
AymanAkk
1 year, 7 months ago
Selected Answer: B
Solution is B
upvoted 1 times
...
74gjd_37
1 year, 7 months ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops#:~:text=within%20the%20title%20or%20description From a GitHub commit, pull request or issue, use the following syntax to create a link to your Azure Boards work item. Enter the AB#ID within the text of a commit message. Or, for a pull request or issue, enter the AB#ID within the title or description (not a comment). Therefore, the solution is "B"
upvoted 2 times
...
Swarnendu
1 year, 8 months ago
Selected Answer: A
AB#no should be correct, in case of comminting to Azure Repos, AB# is not needed, but since the question asks about GitHub, so AB# is required to link
upvoted 1 times
Swarnendu
1 year, 8 months ago
Selected anwer will be B, selected A by mistake
upvoted 1 times
...
...
KakashiCopyNinja
1 year, 9 months ago
Selected Answer: B
It need to be B because look at this guide --> https://azuredevopslabs.com/labs/vstsextend/github-azureboards/
upvoted 1 times
...
LindyLou
1 year, 9 months ago
Answer here is 'B'. See ref: https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops
upvoted 2 times
michalib
1 year, 9 months ago
Also think, that the "AB" in front of the #ID is needed. Would be in line with the documentation and the previouse questions. To those who voted for A: What would be the reason to leave it out here? Thx!
upvoted 1 times
...
LindyLou
1 year, 9 months ago
ReThink! I would now go with 'A'. Look at question 31 in light of this ref: https://learn.microsoft.com/en-us/azure/devops/boards/github/link-to-from-github?view=azure-devops#use-ab-to-link-from-github-to-azure-boards-work-items Then review questions 33 and 36 with this ref: https://learn.microsoft.com/en-us/azure/devops/boards/work-items/auto-complete-work-items-pull-requests?view=azure-devops#specify-the-workflow-state-of-linked-work-items
upvoted 1 times
...
...
kevin9988
1 year, 9 months ago
gpt said: To create a pull request that will be linked to all the work items and set the state of work item 456 to "done," you should use the commit message option: A. Fixes #456, #457, #458 This format with the "Fixes" keyword and the work item IDs referenced will automatically link the pull request to the associated work items in Azure Boards. Additionally, it will set the state of work item 456 to "done" when the pull request is completed. So the correct commit message would be: "Fixes #456, #457, #458"
upvoted 1 times
...
d33ma
1 year, 11 months ago
Selected Answer: A
I go with A
upvoted 1 times
...
kay000001
1 year, 11 months ago
Selected Answer: A
Similar to a previous question, just re-worded.
upvoted 1 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