AZ-400 Configure processes and communications Practice Question
You are setting up a CI/CD pipeline for a microservices application deployed to Azure Kubernetes Service (AKS). Your team wants to automatically generate release notes from commit messages and work items. Which Azure DevOps feature should you use?
⚠ Common exam trap
Many candidates confuse the Generate release notes task with other documentation or file-copy tasks, but only this task is purpose-built to parse commit messages and work items into structured release notes within a YAML pipeline.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Generate release notes task (from YAML pipeline)
The Generate release notes task (from YAML pipeline) is the correct choice because it is specifically designed to automatically generate release notes from commit messages and work items in Azure Pipelines. This task parses the commit history and linked work items between two Git refs (e.g., tags or branches) and outputs a formatted markdown file, which can be published as an artifact or used in a release pipeline. It directly addresses the requirement to derive release notes from commits and work items without manual effort.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Copy Files task
Why it's wrong here
The Copy Files task is a file-level utility that copies source files or artifacts to a staging or output directory using globbing patterns. It performs zero analysis of Git commits, linked work items, or test results, and it has no query capability into build metadata. It can only move a pre-existing release notes file, never generate or enrich one from pipeline data, so it cannot satisfy the scenario.
- ✗
Azure Repos Wiki
Why it's wrong here
Azure Repos Wiki is an in-repo Markdown-based wiki designed for team documentation that is edited manually and versioned like code. It provides no pipeline task or REST integration that enumerates the current build's associated commits or work items, meaning nothing in the wiki can auto-populate at build or release time. While you could paste release notes into it, the wiki itself is a passive storage surface, not a generator, so the automation requirement is unmet.
- ✗
Azure Test Plans
Why it's wrong here
Azure Test Plans is a quality-management module focused on manual testing, exploratory testing, and test-case traceability against requirements and work items. It supports recording test outcomes and scoring tests against build definitions, but it contains no task or mechanism to read commit history or generate a changelog. Even though test results can appear in a release-notes report, Test Plans is a test-management hub, not a release-notes synthesis engine, so it cannot perform the required work.
- ✓
Generate release notes task (from YAML pipeline)
Why this is correct
The Generate release notes task in a YAML pipeline is purpose-built to automatically create a Markdown or HTML changelog from the build's associated commits, work items, and test results. It queries the build's metadata through Azure DevOps APIs and uses Handlebars or custom templates to render a formatted release-notes file, which can then be published as a pipeline artifact or copied to a target. This is the correct answer because it directly transforms source-control and work-item data into release documentation without manual authoring.
Visual reference
Go deeper
Related to this question
Learn chapter
Introduction to DevOps and Azure DevOps
Key term
Task
A Task in Azure DevOps is a predefined, reusable step that performs a specific action during a build or release pipeline, like compiling code or running tests.
Key term
Feature
A feature is a distinct unit of functionality that delivers value to the user, often managed and tracked throughout the software development lifecycle.
About these practice questions
One of 823 original AZ-400 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.