AZ-401 Domain 1: Design and implement processes and communications
15–20% of the exam (AZ-400: 10–15%). 11 skills in 3 tasks, 2 of them new in AZ-401 and 4 reworded for AI tools. Study notes for each task below, then 7 free questions with answers.
47 Domain 1 questions in the bank, 7 free. Answer them one at a time with explanations.
Practice Domain 1Skill wording is quoted from the official study guide. Tags compare each skill with the AZ-400 guide.
1.1 Design traceability and flow of work
Task 1.1 tests how you structure Azure Boards teams, processes and links so work flows from plan to operate and stays traceable to code, builds and tests. Most questions hinge on which setting actually produces the view or link: area paths, link types, transition keywords, or options that exist only in Classic pipelines.
- 1.1.1Design a structure for the flow of work, including plan, build, deploy, and operate phases 4 questions
- 1.1.2Design a strategy for feedback cycles, including notifications 4 questions
- 1.1.3Design a strategy for tracking work using Azure Boards 4 questions
- 1.1.4Design traceability, including repositories, bugs, and quality 4 questions
How do area paths and delivery plans give each team its own board and management a cross-team view?
Source: About teams and Agile tools; Use team delivery plans in Azure Boards
Which process and board settings control how bugs and custom workflow states are tracked?
Source: Process customization and inheritance; Show bugs on backlogs and boards
How do you design notifications so the right people hear about failures and approvals without noise?
Source: Manage notifications for your team, project, or organization; Azure DevOps integration with Microsoft Teams
How do builds and deployments show up on a work item, and which options are Classic-only?
az boards work-item create or the REST API, or install a Marketplace extension. The Query Work Items check creates nothing: it blocks a deployment when the number of items a query returns is outside its thresholds, for example any active Priority 1 bug.Source: Configure pipelines to support work tracking
How do AB# mentions and GitHub closing keywords link and close work?
AB#{ID} in a commit message, pull request description or GitHub issue description to link an Azure Boards work item. AB# in a PR title or in a comment creates no link. A preceding fix, fixes or fixed moves the item to the first state in the Resolved category, or the first Completed state if the process has no Resolved state; a valid state name such as Closed AB#1234 sets that state. The keyword applies only to the AB# reference right after it, so Fixes AB#123, AB#124 links both but transitions only 123. Write Fixes AB#123, Fixes AB#124. Transitions happen only when the PR merges into the default branch. #123 without the AB prefix points to a GitHub issue or PR. GitHub's own closing keywords (closes, fixes, resolves) in a PR description also act only when the PR targets the default branch; for any other base branch, link the issue manually from the Development section of the sidebar.Source: Link GitHub commits, pull requests, branches, and issues to work items in Azure Boards; Linking a pull request to an issue
How do you trace requirements to automated test results without Azure Test Plans?
Source: Requirements traceability
Traps in 1.1 questions
- Iteration paths set sprint timing, not ownership; team backlogs filter on area paths, so an iteration-per-team design doesn't separate the teams' work.
- Related links neither draw dependency lines on a Delivery Plan nor roll up on a portfolio backlog; use Predecessor/Successor for dependencies and parent/child for rollup.
- Automatic linking in YAML pipeline settings gives Integrated in build links, not the Deployment control, which needs a Classic release with Report deployment status to Boards.
- Fixes AB#1, AB#2 transitions only item 1, and nothing transitions until the pull request merges into the default branch.
16 questions in the bank test task 1.1. Practice Domain 1
1.2 Design and implement success metrics for DevOps
Task 1.2 tests whether you pick the metric that matches a business KPI (lead time versus cycle time, remediation time, pipeline pass rate) and whether you can write or validate the query behind it in WIQL, Analytics OData, or an AI assistant connected to the Azure DevOps MCP Server. Questions hinge on exact metric definitions and query rules.
- 1.2.1Translate business KPIs into success metrics and standards for project planning, development, testing, delivery, operations, and security 3 questions
- 1.2.2Implement queries to evaluate success metrics for DevOps by using AI-assisted tools Now with AI tools4 questions
What is the difference between lead time and cycle time in Azure Boards?
Source: Configure lead time and cycle time widgets
Which built-in reports measure security and pipeline reliability KPIs?
Source: Security overview dashboard metrics; Pipeline reports
What WIQL rules do you check when Copilot writes a query for you?
ASOF, link queries and EVER. ASOF '<date>' evaluates the filter against field values as they were at that moment, giving a historical snapshot. WAS EVER matches a value in any past revision, not on a given date. @Today - 30 is relative to the run date and still checks current values. Link queries use FROM WorkItemLinks. MODE (MustContain) is the default and returns one hop. MODE (Recursive) returns a tree and needs a tree link type in the forward direction, such as System.LinkTypes.Hierarchy-Forward; ORDER BY and ASOF aren't allowed in tree queries. A query can't exceed 32K characters, so ask Copilot to return only the fields you need.Source: Work Item Query Language (WIQL) syntax reference
Why do lead and cycle time queries against Analytics filter on completed items?
LeadTimeDays and CycleTimeDays only for completed work items; in-flight items have no value. The documented Power BI sample therefore keeps only completed stories:
.../_odata/v3.0-preview/WorkItems?
$filter=WorkItemType eq 'User Story'
and StateCategory eq 'Completed'
and CompletedDate ge {startdate}
&$select=WorkItemId,CycleTimeDays,LeadTimeDays,CompletedDateSK
A filter such as CycleTimeDays gt 0 would wrongly drop stories that entered In Progress and Completed on the same day, which have a value of 0. Excluding only the Removed state still leaves New and Active items with empty values. When Copilot drafts the OData or Power Query, check this filter first.Source: Lead time and cycle time sample report
How do you give an AI assistant read-only access to Azure DevOps data for metrics?
https://mcp.dev.azure.com/{organization}. The X-MCP-Toolsets header limits tools to the listed toolsets, for example wit (work item tools and search_workitem) and pipelines. X-MCP-Readonly: true removes write tools, and the two headers can be combined; X-MCP-Tools takes single tool names and shouldn't be combined with X-MCP-Toolsets. Headers only filter tools. For a custom Microsoft Entra client, grant only delegated read scopes such as wit.read and pipelines.read; any read scope also allows project discovery. Ado.Mcp.Tools is a legacy scope that grants every tool and overrides granular scopes, so remove it. No scope exceeds the signed-in user's own Azure DevOps permissions. On the remote server, wit_query_by_wiql is currently available only with the X-MCP-Insiders header.Source: Set up the remote Azure DevOps MCP Server
Traps in 1.2 questions
- Cycle time starts at the first In Progress state and leaves out backlog wait; a KPI about how long customers wait needs lead time.
- Age of alerts measures alerts still open; a time-to-fix KPI uses mean time to remediate, which excludes false positives.
- WAS EVER checks every past revision, while ASOF returns field values at one moment; only ASOF answers what was Active on a given date.
- X-MCP-Readonly and X-MCP-Toolsets don't grant or reduce OAuth permissions; a custom client still needs read-only scopes, and Ado.Mcp.Tools overrides them.
7 questions in the bank test task 1.2. Practice Domain 1
1.3 Configure collaboration and communication
Task 1.3 is the most agentic part of Domain 1: documentation that Copilot helps write, instruction files, custom agents, skills and hooks that constrain agents, and MCP servers that connect Copilot to Azure DevOps and GitHub. Most questions hinge on file locations, precedence rules, and which header, scope, secret prefix or hook actually enforces a restriction.
- 1.3.1Document a project, including wikis, readmes, change logs, releases, licenses, code owners, and process diagrams, by using AI-assisted tools Now with AI tools4 questions
- 1.3.2Specify requirements and restrictions for agentic development, including agents, skills, and loops New in AZ-4018 questions
- 1.3.3Configure MCP servers, including Azure DevOps MCP server and GitHub MCP server New in AZ-4016 questions
- 1.3.4Configure integration by using webhooks, MCP servers, and skills Now with AI tools4 questions
- 1.3.5Configure integration between Azure Boards and GitHub repositories by using MCP Now with AI tools2 questions
Which rules decide whether AI-drafted CODEOWNERS files, release notes and wiki diagrams work?
CODEOWNERS is read from .github/, the root or docs/, in that order, from the pull request's base branch, and must be under 3 MB. The last matching pattern wins, so list every owner of a path on one line, and ! negation isn't supported. Owner teams must be visible and have explicit write access. Generated release notes follow .github/release.yml: changelog.categories (each with title and labels, * as catch-all) and changelog.exclude.labels or authors. That gives the same grouping every release, which free-form AI drafting doesn't guarantee. Azure DevOps wikis support Mermaid only partly: declare graph LR, not flowchart, inside ::: mermaid or a mermaid code block. To keep wiki pages under branch policies, use Publish code as wiki, which maps a branch and folder of a Git repo to the wiki.Source: About code owners; Automatically generated release notes
Where do Copilot instructions and custom agent profiles go, and which one wins?
.github/copilot-instructions.md. Path-specific files are NAME.instructions.md in or under .github/instructions, with an applyTo glob in the frontmatter; when one matches, Copilot uses it together with the repository-wide file. excludeAgent set to code-review or cloud-agent hides a file from that agent; without it, both Copilot code review and Copilot cloud agent read it. AGENTS.md files can sit anywhere and the nearest one in the directory tree takes precedence; a single CLAUDE.md or GEMINI.md is accepted only at the root. A custom agent is a NAME.agent.md profile (repository: .github/agents) with a required description. Its tools list is enforced: omit it for all tools, [] for none, or list aliases such as read, search, edit, execute. Same-named profiles are deduplicated and the lowest level wins: repository over organization over enterprise.Source: Adding repository custom instructions for GitHub Copilot; Custom agents configuration
How do skills, hooks and session limits restrict what Copilot cloud agent does?
SKILL.md (name and description required) under .github/skills, .claude/skills or .agents/skills. Copilot loads it only when relevant, and tools not listed in allowed-tools still need confirmation, so never pre-approve shell for untrusted skills. Instructions are only guidance; hooks run code. Cloud agent loads .github/hooks/*.json from the cloned repository. A preToolUse command hook runs before each tool and can return permissionDecision deny; under cloud agent ask counts as deny, and a crash or non-zero exit also denies. postToolUse runs after the tool and can't stop it. Cloud agent honors only the bash field, not powershell. Loop limits: a session on GitHub Actions runs at most 59 minutes and can't be extended, and each task works on one branch and opens one pull request, so split large work into smaller issues.Source: GitHub Copilot hooks reference; GitHub Copilot on GitHub.com and GitHub Mobile
How do you configure the Azure DevOps and GitHub MCP servers, remote or local?
https://mcp.dev.azure.com/{organization}, streamable HTTP) signs in with Microsoft Entra ID and doesn't support standalone Microsoft account (MSA) organizations. Use the local server (npx -y @azure-devops/mcp {org}, stdio, Node.js 20+) for MSA-backed organizations or clients that can't complete the Entra flow; it accepts a PAT or Entra ID. On the local server, -d loads only the listed domains, and the README says always include core so the agent can find projects. The remote GitHub MCP server is https://api.githubcopilot.com/mcp/. A /x/{toolset} path takes one toolset; combine several with X-MCP-Toolsets. /readonly or X-MCP-Readonly keeps read tools only. X-MCP-Lockdown (local: GITHUB_LOCKDOWN_MODE) hides public issue content from users without push access, but it's a best-effort filter, not a security boundary. GitHub Enterprise Server needs the local server with GITHUB_HOST set.Source: Set up the remote Azure DevOps MCP Server; Remote GitHub MCP Server (remote-server.md)
How do you wire MCP servers, secrets and webhooks into Copilot cloud agent and code review?
mcpServers object. Each server needs type (local, stdio, http or sse) and a tools allowlist, because the agent calls tools without asking. Only Agents secrets and variables named COPILOT_MCP_* are available, referenced in env or headers as $COPILOT_MCP_NAME; VS Code inputs don't work. Remote servers that use OAuth aren't supported here, and only tools are used, not resources or prompts. Copilot code review shares this configuration but uses a tool only when its annotations.readOnlyHint is true. For Azure DevOps, add an azure/login OIDC step (id-token: write) to copilot-setup-steps.yml and run the local server with -a azcli. For plain webhooks, recompute the X-Hub-Signature-256 HMAC with your secret and compare in constant time. Azure DevOps service hooks can send Minimal resource details and require HTTPS for basic authentication.Source: Configure MCP servers for your repository; Validating webhook deliveries
How do Azure Boards and GitHub connect through Copilot and MCP?
X-MCP-Readonly set, write tools such as wit_work_item_write aren't exposed, so linking fails until you remove the header. Add the GitHub MCP server when the agent must also read the PR itself.Source: Use GitHub Copilot with Azure Boards; Link GitHub commits, pull requests, branches, and issues to work items in Azure Boards
Traps in 1.3 questions
- Listing the same CODEOWNERS pattern on two lines doesn't add owners; the later line replaces the earlier one.
- postToolUse can record a command but can't block it; only preToolUse (or permissionRequest) can deny a tool call.
- A regular Actions secret isn't visible to repository MCP configuration; only Agents secrets or variables prefixed COPILOT_MCP_ are.
- A PAT-based Boards connection still links AB# mentions but can't start Copilot from a work item; reconnect with the GitHub App.
24 questions in the bank test task 1.3. Practice Domain 1

Free Domain 1 questions
A GitHub monorepo contains services/billing and services/web. A root AGENTS.md describes shared conventions and is owned by the platform team. The billing team requires Copilot cloud agent to run make verify before it finishes work in its service, and the web team requires npm run lint. Each team must manage its own agent guidance without editing a file owned by another team. What should you do?
- Add both commands to the root AGENTS.md under separate headings, one for each team.
- Add a CLAUDE.md file to each service folder and keep the root AGENTS.md file unchanged.
- Add a copilot-instructions.md file under a .github folder inside each service folder.
- Add an AGENTS.md file to services/billing and another AGENTS.md file to services/web.
Show answer and explanation
Answer: D. AGENTS.md files can be placed anywhere in the repository, and when Copilot works, the nearest AGENTS.md in the directory tree takes precedence. Putting one in each service folder lets each team own the guidance for its code while the root file keeps the shared conventions.
Why the other options are wrong:
- A. The root file is owned by the platform team, so both teams would have to edit a file they don't own.
- B. Copilot supports only a single CLAUDE.md in the repository root as an alternative to AGENTS.md, not one per folder.
- C. Repository-wide instructions are read only from .github/copilot-instructions.md at the repository root, not from nested .github folders.
Documentation: Adding repository custom instructions for GitHub Copilot
You have an Azure DevOps organization named Contoso that contains a project named Retail. A management team plans Epics and Features for the whole product. Four feature teams (Checkout, Catalog, Search, and Accounts) plan User Stories in two-week sprints. Each feature team must see only its own User Stories on its backlog and board. The management team must see every Feature together with the progress of the child User Stories from all four teams. You need to design the team structure with the least administrative effort. What should you do?
- Create a separate project for each feature team, and connect the Features across the projects by using Related links.
- Keep a single team, tag every User Story with the owning team name, and filter the shared board by tag.
- Give each feature team its own area path, and have the management team select all four area paths.
- Give each feature team its own iteration path, and have the management team select all iteration paths.
Show answer and explanation
Answer: C. In Azure Boards, a team's selected area paths decide which work items appear on its backlogs and boards. Feature teams each own one area path, and a management team typically selects all of the area paths its feature teams work on and focuses on Features and Epics, so it gets cross-team rollup on the portfolio backlog inside one project with no extra tooling.
Why the other options are wrong:
- A. Separate projects add administration and split the backlog, and Related links don't give parent/child rollup on a portfolio backlog.
- B. Tags don't scope team backlogs or boards, so every team would still see all of the work and rely on manual filtering.
- D. Iteration paths define sprint timing, not ownership; the team backlog is filtered by area path, so this doesn't separate the teams' work.
Documentation: About teams and Agile tools; Manage product and portfolio backlogs
Contoso connected its Azure Boards project to a GitHub repository by using the Azure Boards app. A developer is about to merge a pull request into the repository's default branch. The merge must link Azure Boards work items 312 and 318 to the pull request and move both work items to the first state of the Resolved category. Which text should the developer add to the pull request description?
- Linked to AB#312 and AB#318, both resolved
- Fixes AB#312, AB#318
- Fixes AB#312, Fixes AB#318
- Fixes #312 and fixes #318 in Azure Boards
Show answer and explanation
Answer: C. An AB# mention in a pull request description links the work item, and a preceding fix, fixes, or fixed keyword transitions it to the first Resolved-category state (or Completed if none exists) when the PR merges into the default branch. The keyword applies only to the AB# reference that follows it, so each work item needs its own Fixes keyword.
Why the other options are wrong:
- A. Both items are linked, but no keyword precedes either AB# reference, so no state transition occurs.
- B. Both items are linked, but only the first one, 312, is transitioned.
- D. #312 without the AB prefix references GitHub issues, not Azure Boards work items.
Documentation: Link GitHub commits, pull requests, branches, and issues to work items in Azure Boards
Fabrikam's leadership sets a business KPI: customers must receive the enhancements they request sooner. Each request is logged as a User Story in Azure Boards when the customer asks for it, and stories often wait for weeks in the backlog before a team starts work. You need a success metric that reflects the full wait the customer experiences and that can be displayed on a team dashboard. Which widget should you use?
- Cycle Time
- Lead Time
- Velocity
- Sprint Burndown
Show answer and explanation
Answer: B. Lead time is the elapsed time from when a work item is created until it reaches a Completed state, so it includes the backlog wait that the customer experiences. The Lead Time widget shows it on a dashboard with an average, moving average, and standard deviation band.
Why the other options are wrong:
- A. Cycle time starts when the item first enters an In Progress state, so it excludes the weeks spent waiting in the backlog.
- C. Velocity measures how much work a team completes per sprint, not how long a customer waits.
- D. Sprint Burndown tracks remaining work within one sprint, not end-to-end delivery time.
Documentation: Configure lead time and cycle time widgets
For a quarterly quality review, you use GitHub Copilot connected to the Azure DevOps MCP Server to count the Bugs in the Fabrikam project that were in the Active state on January 15, 2026, regardless of their state today. Before the agent runs it, you review the WIQL that Copilot proposes. Which clause must the query include to return the correct result?
- ASOF '2026-01-15T00:00:00Z'
- AND [System.State] WAS EVER 'Active'
- AND [System.ChangedDate] >= '2026-01-15T00:00:00Z'
- AND [System.CreatedDate] <= @Today - 30
Show answer and explanation
Answer: A. An ASOF clause runs the filter against work items as they were defined at the specified date and time, so State = 'Active' with ASOF returns the Bugs that were Active on January 15, 2026. The WIQL reference lists this as the pattern for historical snapshots.
Why the other options are wrong:
- B. WAS EVER matches any Bug that was Active at any point in its history, not specifically on January 15.
- C. This returns Bugs changed after that date, evaluated against their current state.
- D. @Today - 30 is relative to the day the query runs and still evaluates the current state.
Documentation: Work Item Query Language (WIQL) syntax reference
You manage a GitHub repository named contoso/payments-api. A developer used GitHub Copilot Chat to draft a CODEOWNERS file, which is now in the .github/ folder of the main branch. It contains the line "/infra/ @contoso/platform" followed later by the line "/infra/ @contoso/security". Pull requests that change /infra/ target main and are opened as ready for review. Only @contoso/security is requested as a reviewer, but both teams must be requested automatically. The @contoso/platform team has the Read role on the repository, although each of its members has write access through another team. Which two actions should you perform? Each correct answer presents part of the solution. (Choose TWO.)
Choose TWO.
- Move the CODEOWNERS file into the docs/ folder of each pull request's head branch.
- Prefix the second /infra/ entry with ! so that it no longer overrides the first entry.
- Merge the two entries into one line: /infra/ @contoso/platform @contoso/security.
- Replace each team handle with the work email addresses of the individual team members.
- Give the @contoso/platform team the Write role on the payments-api repository.
Show answer and explanation
Answer: C and E. When the same pattern appears on separate lines, the later line wins, so all owners for a pattern must be listed on one line. A team used as a code owner must itself be visible and have explicit write access to the repository, even if its members already have write access some other way. Fixing both problems causes GitHub to request both teams on pull requests that change /infra/.
Why the other options are wrong:
- A. Review requests use the CODEOWNERS file from the base branch, and .github/ is already a supported location that GitHub checks first.
- B. CODEOWNERS doesn't support the gitignore ! negation syntax, and negation wouldn't add a second owner anyway.
- D. Email addresses don't fix the separate-line problem, and listing individuals instead of the team adds upkeep every time membership changes.
Documentation: About code owners
Contoso's Azure DevOps organization is backed by Microsoft Entra ID. Developers will connect GitHub Copilot in Visual Studio Code to the remote Azure DevOps MCP Server by using the server entry shown. The agent must be able to read work items and wiki pages. It must not be able to change any Azure DevOps resource, and pipeline and repository tools must not be exposed. What should you add to the server entry?
{
"servers": {
"ado-remote-mcp": {
"url": "https://mcp.dev.azure.com/contoso",
"type": "http"
}
}
}
- "headers": { "X-MCP-Toolsets": "wit,wiki" }, and change the url to https://mcp.dev.azure.com/contoso/readonly
- "headers": { "X-MCP-Tools": "wit,wiki", "X-MCP-Toolsets": "readonly" }
- "headers": { "X-MCP-Toolsets": "wit,wiki", "X-MCP-Readonly": "true" }
- "args": ["-y", "@azure-devops/mcp", "contoso", "-d", "work-items", "wiki"]
Show answer and explanation
Answer: C. The remote Azure DevOps MCP Server limits the exposed tools with the X-MCP-Toolsets header (wit includes work item tools and search_workitem, wiki includes the wiki tools). X-MCP-Readonly: true limits the server to read-only operations, and the two headers can be combined. These headers only filter the tools; they don't grant permissions beyond what the signed-in user already has.
Why the other options are wrong:
- A. The remote Azure DevOps server's documented read-only switch is the X-MCP-Readonly header; a /readonly URL path is a GitHub MCP server pattern, not an Azure DevOps one.
- B. X-MCP-Tools takes individual tool names, shouldn't be combined with X-MCP-Toolsets, and readonly isn't a toolset value.
- D. These are arguments for the local stdio server, not the remote HTTP endpoint, and they don't enforce read-only access.
Documentation: Set up the remote Azure DevOps MCP Server
The full bank has 40 more Domain 1 questions and 20-question Domain 1 drills that serve unseen questions first.
Domain 1 drill: $19.99