AZ-400 · Question #537
AZ-400 Question #537: Real Exam Question with Answer & Explanation
The correct answer is A: From the Development settings of work item 123, select Add link, and then enter the URL of the. Explanation Option A is correct because Azure Boards allows you to directly link a GitHub commit to a work item through the Development panel (not the Links panel) of a work item - you select "Add link," choose "GitHub Commit," and paste the commit URL, creating a tracked associa
Question
You manage a project by using Azure Boards, and you manage the project code by using GitHub repositories. You have a work item that has an ID of 123. You need to link a commit message in GitHub to work item 123 on the board. What are two ways to achieve the goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
Options
- AFrom the Development settings of work item 123, select Add link, and then enter the URL of the
- BAdd AB#123 to the text of the commit message.
- CAdd GH-123 to the text of the commit message.
- DFrom the Links settings of work item 123, select Add link, select Existing item, and then enter the
- ETo work item 123, add a comment that includes the URL of the commit.
Explanation
Explanation
Option A is correct because Azure Boards allows you to directly link a GitHub commit to a work item through the Development panel (not the Links panel) of a work item - you select "Add link," choose "GitHub Commit," and paste the commit URL, creating a tracked association. Option B is correct because adding AB#123 (Azure Boards + work item ID) in a GitHub commit message is the official syntax that automatically links the commit to work item 123 in Azure Boards when the GitHub-Azure Boards integration is configured.
Option C is wrong because GH-123 is GitHub's own syntax for referencing GitHub Issues, not Azure Boards work items - it won't create a cross-platform link. Option D is wrong because the standard Links tab is used for linking work items to other work items or external items, not GitHub commits - the correct place is the Development panel. Option E is wrong because adding a comment with a URL is informal documentation only and does not create an actual tracked/linked relationship between the commit and the work item.
🧠 Memory Tip: Think "AB# = Azure Boards" - the prefix mirrors the product name. For the UI method, remember "Dev panel for dev artifacts" - GitHub commits are development artifacts, so they belong in the Development settings, not the general Links settings.
Topics
Community Discussion
No community discussion yet for this question.