nerdexam
Microsoft

AZ-400 · Question #548

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 li

The correct answer is C. Fixes #AB456, #A8457, #A8458. Explanation Option C is correct because when linking GitHub commits/pull requests to Azure Boards work items (as opposed to GitHub Issues), you must use the #AB prefix before the work item ID - this prefix specifically tells GitHub to reference an Azure Boards item rather than a

Submitted by packet_pusher· Mar 6, 2026Design and implement source control

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
  • BFixes #456, #457, #458
  • CFixes #AB456, #A8457, #A8458
  • D#AB456, #AB457, #AB458

How the community answered

(30 responses)
  • A
    13% (4)
  • B
    7% (2)
  • C
    77% (23)
  • D
    3% (1)

Explanation

Explanation

Option C is correct because when linking GitHub commits/pull requests to Azure Boards work items (as opposed to GitHub Issues), you must use the #AB prefix before the work item ID - this prefix specifically tells GitHub to reference an Azure Boards item rather than a GitHub Issue. Additionally, using "Fixes" as the keyword automatically transitions the linked work item (456) to a Done state upon merge.

  • Option A is wrong because "Done" is not a valid GitHub keyword that triggers a state transition, and it also lacks the required #AB prefix for Azure Boards items.
  • Option B is wrong because while "Fixes" is the correct keyword, the IDs use plain #456 format, which would reference GitHub Issues - not Azure Boards work items.
  • Option D is wrong because although #AB prefixes are correctly used, there is no action keyword (like "Fixes"), so no state transition to Done would occur for work item 456.

Memory Tip: Think "AB = Azure Boards" - whenever your work items live in Azure Boards (not native GitHub Issues), always add the #AB prefix. Pair it with Fixes to auto-close/complete an item, just like you'd use Fixes #123 for GitHub Issues.

Topics

#Azure Boards#GitHub Integration#Work Item Management#Commit Messages

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice