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
SIMULATION
You have a web app that connects to an Azure SQL Database named db1.
You need to configure db1 to send Query Store runtime statistics to Azure Log Analytics.
To complete this task, sign in to the Microsoft Azure portal.
You plan to create an image that will contain a .NET Core application.
You have a Dockerfile file that contains the following code. (Line numbers are included for reference only.)

You need to ensure that the image is as small as possible when the image is built.
Which line should you modify in the le?
- A . 1
- B . 3
- C . 4
- D . 7
DRAG DROP
You are implementing an Azure DevOps strategy for mobile devices using App Center.
You plan to use distribution groups to control access to releases.
You need to create the distribution groups shown in the following table.

Which type of distribution group should you use for each group? To answer, drag the appropriate group types to the correct locations. Each group type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

You have a private project in Azure DevOps.
You need to ensure that a project manager can create custom work item queries to report on the project’s progress. The solution must use the principle of least privilege.
To which security group should you add the project manager?
- A . Reader
- B . Project Collection Administrators
- C . Project Administrators
- D . Contributor
You use GitHub for source control of .NET applications.
You need to deploy a documentation solution that meets the following requirements:
✑ Documents will be written in Markdown as developers make code changes.
✑ Changes to the documents will trigger the recompilation of a static website.
✑ Users will access the documents from the static website.
✑ Documents will be stored in a GitHub repository.
Which two tools can you use to compile the website? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . Word Press
- B . Jekyll
- C . DocFX
- D . caret
- E . Medium
You have an Azure DevOps organization named Contoso.
You need to receive Microsoft Teams notifications when work items are updated.
What should you do?
- A . From Azure DevOps, configure a service hook subscription
- B . From Microsoft Teams, configure a connector
- C . From the Microsoft Teams admin center, configure external access
- D . From Microsoft Teams, add a channel
- E . From Azure DevOps, install an extension
You use Azure SQL Database Intelligent Insights and Azure Application Insights for monitoring.
You need to write ad-hoc queries against the monitoring data.
Which query language should you use?
- A . Kusto Query Language (KQL)
- B . PL/pgSQL
- C . PL/SQL
- D . Transact-SQL
You are in the process of building a mobile app aimed at Android and iOS devices.
All work items and release cycles are managed via Azure DevOps.
You want to make sure that crash reports for issue analysis is collected, and that beta releases are distributed to your testers. Also, you want to ensure that user feedback on the functionality of new apps is received.
Which of the following must be part of your solution?
- A . The Microsoft Test & Feedback extension.
- B . OWASP ZAP
- C . TFS Integration Platform
- D . Code Style
You manage a project by using Azure Boards, and you manage the project code by using GitHub repositories.
You have a work item that has an ID of 123.
You need to link a commit message in GitHub to work item 123 on the board.
What are two ways to achieve the goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . From the Development settings of work item 123, select Add link, and then enter the URL of the commit.
- B . Add AB#123 to the text of the commit message.
- C . Add GH-123 to the text of the commit message.
- D . From the Links settings of work item 123, select Add link, select Existing item, and then enter the URL of the commit.
- E . To work item 123, add a comment that includes the URL of the commit.
SIMULATION
You need to ensure that Microsoft Visual Studio 2017 can remotely attach to an Azure Function named fa-11566895.
To complete this task, sign in to the Microsoft Azure portal.