Microsoft DevOps Engineer Expert AZ-400 Practice Question
Your team uses Azure Repos Git and Azure Boards. You need every build produced by an Azure Pipelines CI job to automatically list the user stories and bugs it implements, and you want the same work items to appear in the Associated work items section of any release that consumes that build's artifact. You do not want to add manual links in Azure Boards or adjust pipeline YAML. Which practice should you enforce for developers to meet the traceability requirement?
Require developers to include the work-item ID prefixed with a hash sign (for example, "#5321") in every commit message.
Require developers to include the work-item ID prefixed with "AB#" (for example, "AB#5321") in every commit message.
Enable the Work item linking setting on the release pipeline stages.
Publish test results from the build pipeline to Azure Boards so the work items appear automatically.
Azure DevOps automatically links work items to commits when the commit message contains the work-item ID preceded by a hash symbol (for example, "Fixed login issue #5321"). When a build is triggered by such a commit, the service includes those work items in the build summary, and any release that deploys artifacts produced by that build will inherit the same associations. Simply enabling a pipeline option or publishing test results does not retroactively create traceability, and including the ID with the "AB#" prefix is required only for GitHub repositories, not Azure Repos Git.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why does Azure DevOps require the work-item ID prefixed with a hash sign?
Open an interactive chat with Bash
How does work-item linking benefit the development process?
Open an interactive chat with Bash
What happens if the hash sign is not used in commit messages?
Open an interactive chat with Bash
Microsoft DevOps Engineer Expert AZ-400
Design and implement processes and communications
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .