Microsoft AZ-400 Practice Exams
Last updated on Nov 16,2026- Exam Code: AZ-400
- Exam Name: Designing and Implementing Microsoft DevOps Solutions
- Certification Provider: Microsoft
- Latest update: Nov 16,2026
You have an Azure DevOps organization that contains a project named Project1. You need to create a published wiki in Project1.
What should you do first?
- A . Modify the Storage settings of Project1.
- B . In Project1, create an Azure DevOps pipeline.
- C . In Project1, create an Azure DevOps repository.
- D . Modify the Team configuration settings of Project1.
You have an Azure DevOps organization that contains a project named Project1. You need to create a published wiki in Project1.
What should you do first?
- A . Modify the Storage settings of Project1.
- B . In Project1, create an Azure DevOps pipeline.
- C . In Project1, create an Azure DevOps repository.
- D . Modify the Team configuration settings of Project1.
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure DevOps project.
Your build process creates several artifacts.
You need to deploy the artifacts to on-premises servers.
Solution: You deploy a Kubernetes cluster on-premises. You deploy a Helm agent to the cluster. You add a Download Build Artifacts task to the deployment pipeline.
Does this meet the goal?
- A . Yes
- B . No
Introductory Info
Case Study
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.
To start the case study
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.
Overview
Contoso, Ltd. is a manufacturing company that has a main office in Chicago.
Existing Environment
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 2019 The Azure subscription contains an Azure Automation account.
Requirements
Planned changes
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 ow 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.
You need to implement Project4.
What should you do first?
- A . Add the FROM instruction in the Docker le le.
- B . Add a Copy and Publish Build Artifacts task to the build pipeline.
- C . Add a Docker task to the build pipeline.
- D . Add the MAINTAINER instruction in the Docker le le.
You administer an Azure DevOps project that includes package feeds.
You need to ensure that developers can unlist and deprecate packages. The solution must use the principle of least privilege.
Which access level should you grant to the developers?
- A . Collaborator
- B . Contributor
- C . Owner
HOTSPOT
Your company has an Azure subscription.
The company requires that all resource groups in the subscription have a tag named organization set to a value of Contoso.
You need to implement a policy to meet the tagging requirement.
How should you complete the policy? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 and an Azure Standard Load Balancer named LB1. LB1 distributes incoming requests across VMSS1 instances.
You use Azure DevOps to build a web app named App1 and deploy App1 to VMSS1. App1 is accessible via HTTPS only and configured to require mutual authentication by using a client certificate.
You need to recommend a solution for implementing a health check of App1.
The solution must meet the following requirements:
✑ Identify whether individual instances of VMSS1 are eligible for an upgrade operation.
✑ Minimize administrative effort.
What should you include in the recommendation?
- A . an Azure Load Balancer health probe
- B . Azure Monitor autoscale
- C . the Custom Script Extension
- D . the Application Health extension
You have a 1-TB Azure Repos repository named repo1.
You need to clone repo1.
The solution must meet the following requirements:
• You must be able to search the commit history of the /src directory
• The amount of time it takes to clone the repository must be minimized
Which command should you run?
- A . git clone C-depth-1 [email protected]: v3/org/Project1/repo1
- B . git clone C- filter=blob: none [email protected]: v3/org/Project1/repo1
- C . git clone [email protected]: v3/org/Project1/repo1
- D . git clone C- filter=true: 0 [email protected]: v3/org/Project1/repo1
You have a 1-TB Azure Repos repository named repo1.
You need to clone repo1.
The solution must meet the following requirements:
• You must be able to search the commit history of the /src directory
• The amount of time it takes to clone the repository must be minimized
Which command should you run?
- A . git clone C-depth-1 [email protected]: v3/org/Project1/repo1
- B . git clone C- filter=blob: none [email protected]: v3/org/Project1/repo1
- C . git clone [email protected]: v3/org/Project1/repo1
- D . git clone C- filter=true: 0 [email protected]: v3/org/Project1/repo1
You have a 1-TB Azure Repos repository named repo1.
You need to clone repo1.
The solution must meet the following requirements:
• You must be able to search the commit history of the /src directory
• The amount of time it takes to clone the repository must be minimized
Which command should you run?
- A . git clone C-depth-1 [email protected]: v3/org/Project1/repo1
- B . git clone C- filter=blob: none [email protected]: v3/org/Project1/repo1
- C . git clone [email protected]: v3/org/Project1/repo1
- D . git clone C- filter=true: 0 [email protected]: v3/org/Project1/repo1