nerdexam
Microsoft

AZ-400 · Question #298

Case Study 2 - Contoso, Ltd Background Contoso, Ltd. is a manufacturing company that has a main office in Chicago. Contoso plans to improve its IT development and operations processes by implementing

The correct answer is Create a repository; Create a fork; Add a build policy for the fork. The correct sequence is: Create a repository (to house Project2's code), Create a fork (to give Team2 an independent copy they can work on and submit pull requests from, satisfying both the pull request and independent work requirements), and Add a build policy for the fork (to e

Submitted by viktor_hu· Mar 6, 2026Design and implement source control strategies - specifically implementing a forking workflow with build validation policies in Azure Repos

Question

Case Study 2 - Contoso, Ltd Background Contoso, Ltd. is a manufacturing company that has a main office in Chicago. Contoso plans to improve its IT development and operations processes by implementing Azure DevOps principles. Contoso has an Azure subscription and creates an Azure DevOps organization. The Azure DevOps organization includes: The Docker extension A deployment pool named Pool7 that contains 10 Azure virtual machines that run Windows Server 2016 The Azure subscription contains an Azure Automation account. Contoso plans to create projects in Azure DevOps as shown in the following table. Technical requirements Contoso identifies the following technical requirements: Implement build agents for Project1. Whenever possible, use Azure resources. Avoid using deprecated technologies. Implement a code flow strategy for Project2 that will: - Enable Team2 to submit pull requests for Project2. - Enable Team2 to work independently on changes to a copy of Project2. - Ensure that any intermediary changes performed by Team2 on a copy of Project2 will be subject to the same restrictions as the ones defined in the build policy of Project2. Whenever possible implement automation and minimize administrative effort. Implement Project3, Project5, Project6, and Project7 based on the planned changes Implement Project4 and configure the project to push Docker images to Azure Container Registry. Drag and Drop Question You need to implement the code flow strategy for Project2 in Azure DevOps. 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. Answer:

Exhibit

AZ-400 question #298 exhibit

Answer Area

Drag items

Create a forkCreate a branchAdd a build policy for the forkAdd a build policy for the master branchCreate a repositoryAdd an application access policy.

Correct arrangement

  • Create a repository
  • Create a fork
  • Add a build policy for the fork

Explanation

The correct sequence is: Create a repository (to house Project2's code), Create a fork (to give Team2 an independent copy they can work on and submit pull requests from, satisfying both the pull request and independent work requirements), and Add a build policy for the fork (to ensure that any changes in the fork are validated by a build before being merged, satisfying the 'ensure that any inter-' requirement which likely refers to ensuring integration/build validation). Forking is the correct Azure DevOps strategy when an external or semi-independent team needs to work on their own copy of a repository and submit pull requests back to the main repo.

Topics

#Azure DevOps#Git Branching Strategy#Fork Policy#Code Flow

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice