nerdexam
Microsoft

AZ-400 · Question #504

You manage a project by using Azure Board, and you manage the project code by using Azure Repos. You have a bug work item that has an ID of 123. You need to set the work item state to Resolved. What s

The correct answer is D. Fixes #123. Fixes #123 is the correct commit message syntax because Azure DevOps recognizes specific keywords followed by a work item ID (prefixed with #) to automatically transition work item states. The keyword fixes (along with fix and fixed) is a recognized AB# transition keyword that se

Submitted by andreas_gr· Mar 6, 2026Configure processes and communications

Question

You manage a project by using Azure Board, and you manage the project code by using Azure Repos. You have a bug work item that has an ID of 123. You need to set the work item state to Resolved. What should you add to the commit message?

Options

  • A#123 completes
  • BResolves #AB-123
  • CVerifies #123
  • DFixes #123

How the community answered

(40 responses)
  • A
    5% (2)
  • B
    3% (1)
  • C
    3% (1)
  • D
    90% (36)

Explanation

Fixes #123 is the correct commit message syntax because Azure DevOps recognizes specific keywords followed by a work item ID (prefixed with #) to automatically transition work item states. The keyword fixes (along with fix and fixed) is a recognized AB# transition keyword that sets the linked work item to Resolved when the commit is pushed.

Why the distractors are wrong:

  • A (#123 completes)completes is not a valid Azure DevOps transition keyword; it has no effect on work item state.
  • B (Resolves #AB-123) – The AB# prefix format is used specifically for GitHub repositories linked to Azure Boards, not for Azure Repos commits; within Azure Repos, just #123 is the correct format.
  • C (Verifies #123)verifies is not a recognized transition keyword in Azure DevOps and will not change the work item state.

Memory Tip: Think of the "3 F's" - Fix, Fixed, Fixes - as the magic words that resolve bugs in Azure Repos commits. If you see AB# in an answer, that's the GitHub-to-Azure Boards syntax, not the native Azure Repos format - a classic exam trap!

Topics

#Azure DevOps#Commit messages#Work item linking#Azure Repos

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice