nerdexam
Microsoft

AZ-400 · Question #396

Drag and Drop Question You have a project in Azure DevOps named Project that has a release pipeline in Azure Pipeline named ReleaseP1. You need to ensure that when a new release is generated for Relea

The correct answer is Create a query that retrieves the feature and bug fix information.; Create a personal access token (PAT).; Create a PowerShell task in ReleaseP1 that writes the retrieved data to a Markdown file.. To automatically generate release notes containing features and bug fixes, you must first create a Work Item query that filters for the relevant work item types (features and bugs). Then, a Personal Access Token (PAT) is needed to authenticate API calls to Azure DevOps so the Pow

Submitted by chiamaka_o· Mar 6, 2026Design and Implement a Release Strategy - Automating release documentation and integrating work item data into pipeline tasks using Azure DevOps REST APIs

Question

Drag and Drop Question You have a project in Azure DevOps named Project that has a release pipeline in Azure Pipeline named ReleaseP1. You need to ensure that when a new release is generated for ReleaseP1, a new release note document is created. The release notes must contain new features and bug fixes. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select. Answer:

Exhibits

AZ-400 question #396 exhibit 1
AZ-400 question #396 exhibit 2

Answer Area

Drag items

Create a personal access token (PAT).Create a service principal.Create a PowerShell task in ReleaseP1 that writes the retrieved data to a Markdown file.Create a query that retrieves the feature and bug fix information.Add a dashboard widget that retrieves the feature and bug fix information.

Correct arrangement

  • Create a query that retrieves the feature and bug fix information.
  • Create a personal access token (PAT).
  • Create a PowerShell task in ReleaseP1 that writes the retrieved data to a Markdown file.

Explanation

To automatically generate release notes containing features and bug fixes, you must first create a Work Item query that filters for the relevant work item types (features and bugs). Then, a Personal Access Token (PAT) is needed to authenticate API calls to Azure DevOps so the PowerShell script can securely retrieve query results. Finally, a PowerShell task within the ReleaseP1 pipeline calls the Azure DevOps REST API using the PAT, retrieves the query data, and writes the output to a Markdown file - producing the release notes document automatically on each release.

Topics

#Azure DevOps#Release Pipelines#PowerShell Tasks#Personal Access Tokens

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice