Courseiva

AZ-400 Configure processes and communications Practice Question

You are an Azure DevOps administrator for a team that wants to automatically link work items to pull requests in Azure Repos. The team uses a single Git repository and requires that every pull request has at least one linked work item before it can be completed. You need to configure the repository settings to enforce this requirement. What should you do?

⚠ Common exam trap

Watch out — candidates often confuse code review policies with work item linking policies, assuming that any branch policy can enforce work item association.

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

✓

Enable the 'Check for linked work items' setting in the repository's policies.

Enabling the 'Check for linked work items' policy in Azure Repos ensures that every pull request must have at least one linked work item before completion. This directly enforces the team's requirement, unlike reviewer policies, queries, or templates, which do not prevent completion without a link. The policy is configured per repository and is the standard method for this enforcement.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Add a required template to the pull request description that includes a work item ID field.

    Why it's wrong here

    A required template can prompt users to include a work item ID, but it does not enforce linking. Users could still complete the pull request without a valid link. Templates are for guidance, not enforcement. This does not meet the requirement to automatically link and enforce work item association in Azure Repos.

  • ✗

    Configure a branch policy that requires a minimum number of reviewers.

    Why it's wrong here

    A minimum reviewer policy ensures that a certain number of reviewers approve the pull request, but it does not enforce linking work items. It addresses code review requirements, not work item association. This policy would not prevent a pull request from being completed if no work item is linked, so it fails to meet the stated requirement.

  • ✓

    Enable the 'Check for linked work items' setting in the repository's policies.

    Why this is correct

    This setting, found under Repos > Policies, enforces that every pull request must have at least one linked work item before it can be completed. It directly satisfies the requirement to automatically link work items and prevent completion without them. Enabling this policy ensures compliance with the team's process without manual intervention.

  • ✗

    Create a work item query that lists all pull requests without linked work items.

    Why it's wrong here

    A work item query can help identify pull requests missing links, but it does not enforce the linking requirement. It is a reporting tool, not a policy. The team would still be able to complete pull requests without linked work items, so this approach does not automate or enforce the process as required.

About these practice questions

This AZ-400 question is part of Courseiva's 696-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

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.