AZ-400 · Question #481
AZ-400 Question #481: Real Exam Question with Answer & Explanation
The correct answer is D: #AB456, #AB457, #AB458. When using Azure Boards with GitHub, work items can be linked by specifying the Azure Boards work item ID in the format AB#ID in the commit message. So, #AB456, #AB457, and #AB458 will link the pull request to these work items. To set the state of work item 456 to done, you inclu
Question
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?
Options
- ADone #456, #457, #458
- B#AB456, #AB457, #AB458
- C#456, #457, #458
- D#AB456, #AB457, #AB458
Explanation
When using Azure Boards with GitHub, work items can be linked by specifying the Azure Boards work item ID in the format AB#ID in the commit message. So, #AB456, #AB457, and #AB458 will link the pull request to these work items. To set the state of work item 456 to done, you include 'Completed' before the identifier. So, "Completed #AB456" would set the state of work item 456 to done.
Community Discussion
No community discussion yet for this question.