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
HOTSPOT
You have a GitHub organization.
You configure the personal access token (PAT) policy shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. NOTE: Each correct selection is worth one point.

DRAG DROP
You have recently created a web application for your company.
You have been tasked with making sure that a summary of the exceptions that transpire in the application is automatically sent to Microsoft Teams on a daily basis.
Which of the following Azure services should you use? Answer by dragging the correct options from the list to the answer area.

SIMULATION
You need to create a virtual machine template in an Azure DevTest Labs environment named az400-123456789-dtl1. The template must be based on Windows Server 2019 Datacenter. Virtual machines created from the template must include the selenium tool and the Google Chrome browser.
To complete this task, sign in to the Microsoft Azure portal.
SIMULATION
You need to create a virtual machine template in an Azure DevTest Labs environment named az400-123456789-dtl1. The template must be based on Windows Server 2019 Datacenter. Virtual machines created from the template must include the selenium tool and the Google Chrome browser.
To complete this task, sign in to the Microsoft Azure portal.
You use GitHub for source control and Microsoft Teams for collaboration.
You need to send a notification to a Teams channel for each commit. The solution must minimize development effort.
What should you do?
- A . Use Azure Automation to connect to the GitHub Actions API and send a message to the Teams channel.
- B . Use the Microsoft Teams for GitHub app and configure a subscription to receive notifications in the Teams channel. Most Voted
- C . Use GitHub Actions with a dispatch to send a message to the Teams channel by using the Teams API.
- D . Use Azure Functions to connect to the GitHub REST API and send a message to the Teams channel.
You plan to create in Azure DevOps. Multiple developers will work on the project. The developers will work offline frequently and will require access to the full project history while they are offline.
Which version control solution should you use?
- A . Team Foundation Version Control
- B . Git
- C . TortoiseSVN
- D . Subversion
You have an Azure DevOps organization named Contoso, an Azure DevOps project named Project1, an Azure subscription named Sub1, and an Azure key vault named vault1.
You need to ensure that you can reference the values of the secrets stored in vault1 in all the pipelines of Project1. The solution must prevent the values from being stored in the pipelines.
What should you do?
- A . Create a variable group in Project1.
- B . Add a secure le to Project1.
- C . Modify the security settings of the pipelines.
- D . Configure the security policy of Contoso.
You are integrating Azure Pipelines and Microsoft Teams.
You install the Azure Pipelines app in Microsoft Teams.
You have an Azure DevOps organization named Contoso that contains a project name Project1.
You subscribe to Project1 in Microsoft Teams.
You need to ensure that you only receive events about failed builds in Microsoft Teams.
What should you do first?
- A . From Microsoft Teams, run @azure pipelines subscribe https: //dev.azure.com/Contoso/Project1.
- B . From Azure Pipelines, add a Publish Build Artifacts task to Project1.
- C . From Microsoft Teams, run @azure pipelines subscriptions. Most Voted
- D . From Azure Pipelines, enable continuous integration for Project1.
HOTSPOT
You have a project in Azure DevOps.
You plan to create a build pipeline that will deploy resources by using Azure Resource Manager templates. The templates will reference secrets stored in Azure Key Vault.
You need to ensure that you can dynamically generate the resource ID of the key vault during template deployment.
What should you include in the template? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

You have an Azure App Service app named App1.
You need to identify when App1 was offline. The solution must minimize administrative effort.
Which troubleshooting category in App Service diagnostics should you use?
- A . Navigator
- B . Configuration and Management
- C . Diagnostic Tools
- D . Availability and Performance

