nerdexam
Microsoft

AZ-400 · Question #612

Hotspot Question You have a project in Azure DevOps named Project1 and an Azure Repos repository named Repo1. Project1 contains a team named Team1. You need to ensure that all pull requests to the mai

The correct answer is Require a minimum number of reviewers = Yes; Check for linked work items = No; Check for comment resolution = No; Limit merge types = No; Build Validation = No; Status Checks = No; Automatically included reviewers = Yes. This question tests knowledge of Azure DevOps branch policies and reviewer configurations to enforce mandatory team reviews before pull requests can be merged into protected branches.

Submitted by krish.m· Mar 6, 2026Design and implement source control

Question

Hotspot Question You have a project in Azure DevOps named Project1 and an Azure Repos repository named Repo1. Project1 contains a team named Team1. You need to ensure that all pull requests to the main branch from the feature/* branches are reviewed by the members of Team1 before the pull requests can be merged. Which two settings should you configure in the Azure DevOps portal? To answer, select the appropriate settings in the answer area. NOTE: Each correct answer is worth one point. Answer:

Exhibit

AZ-400 question #612 exhibit

Answer Area

  • Require a minimum number of reviewersYes
  • Check for linked work itemsNo
  • Check for comment resolutionNo
  • Limit merge typesNo
  • Build ValidationNo
  • Status ChecksNo
  • Automatically included reviewersYes

Explanation

This question tests knowledge of Azure DevOps branch policies and reviewer configurations to enforce mandatory team reviews before pull requests can be merged into protected branches.

Approach. You need to configure two settings: (1) A Branch Policy on the main branch - specifically 'Require a minimum number of reviewers' combined with adding Team1 as a 'Required Reviewer' under the 'Automatically include reviewers' policy. This ensures Team1 members are automatically added and must approve any pull request targeting main. (2) A Branch Policy scoped to the feature/* pattern - you can set the 'Automatically include reviewers' policy with Team1 specified and the branch filter set to 'feature/*' so that PRs originating from feature branches automatically require Team1 approval before merging is allowed. Together these enforce that Team1 reviews are mandatory gating criteria for all feature-to-main pull requests.

Concept tested. Azure DevOps Branch Policies - specifically configuring 'Automatically include reviewers' (Required Reviewers policy) on a target branch (main) with a source branch filter (feature/*), and setting the reviewer requirement to enforce that Team1 must approve before a pull request can be completed/merged.

Reference. https://learn.microsoft.com/en-us/azure/devops/repos/git/branch-policies?view=azure-devops#automatically-include-code-reviewers

Topics

#branch policies#pull requests#required reviewers#Azure Repos

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice