Microsoft DevOps Engineer Expert AZ-400 Practice Question

Your organization stores its code in GitHub and tracks work items in Azure Boards. A multi-stage YAML pipeline in Azure DevOps already builds the application and uses the GitHubRelease@1 task to create a GitHub release whenever a semantic version tag (v*) is pushed. You must ensure that every release automatically includes a ReleaseNotes.md file that lists all commits and Azure Boards work items completed since the previous tag, but you want to avoid writing custom PowerShell or REST scripts. Which additional Azure Pipelines task should you add to the pipeline to meet the requirement?

  • Add a GitVersion@5 task to calculate the version number and output a ReleaseNotes.md file.

  • Configure a PublishTestResults@2 task with the releaseNotesFile input set to ReleaseNotes.md.

  • Run a DotNetCoreCLI@2 task with the command "swagger tofile" to export ReleaseNotes.md.

  • Add the "Generate Release Notes (Cross-platform)" task from the Azure DevOps Marketplace and point it at the current and previous tags.

Microsoft DevOps Engineer Expert AZ-400
Design and implement processes and communications
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot