Microsoft DevOps Engineer Expert AZ-400 Practice Question
Your team keeps all source code in an Azure DevOps Git repository. After every successful build on the main branch, you must automatically create a Markdown file named RELEASE-NOTES.md that lists the work items and pull requests linked to the commits in that build. The file has to be committed back to the repository without requiring developers to run any local tooling or scripts. Which Azure Pipelines task should you add to the YAML pipeline to meet these requirements with the least custom code?
GitVersion task
Generate Release Notes (Markdown) task from the Azure DevOps Marketplace
Bash task that runs git log and the Azure DevOps REST API
The 'Generate Release Notes' extension from the Azure DevOps Marketplace, created by Richard Fennell, is designed for this purpose. Its pipeline task, often referenced in YAML as XplatGenerateReleaseNotes, uses Azure DevOps REST APIs to collect work items and pull requests associated with the commits in a build. It renders this information using a template into a Markdown file and can automatically commit the file back to the repository. Because the logic for querying Git history and integrating with Azure DevOps is built into the task, it meets the requirement with the least custom code.
Publish Test Results only uploads test outcome data and does not create documentation files. GitVersion calculates semantic version numbers based on Git history but does not generate release notes content. A generic Bash task would require you to author and maintain your own scripts to query REST APIs and parse commit history, which violates the requirement to avoid custom code.
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.
How does the Generate Release Notes task use Azure DevOps REST APIs?
Open an interactive chat with Bash
What is the purpose of a YAML pipeline in Azure DevOps?
Open an interactive chat with Bash
Can the Generate Release Notes task output formats other than Markdown?
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 .