Microsoft Certified: DevOps Engineer Expert - (AZ-400) Logo
Microsoft Logo

Microsoft Certified: DevOps Engineer Expert - (AZ-400) Exam Questions

549

Total Questions

SEP
2025

Last Updated

1st

1st Try Guaranteed

Expert Verified

Experts Verified

Question 1 Single Choice

You have an Azure subscription that contains an Azure key vault named Vault1, an Azure pipeline named Pipeline1, and an Azure SQL database named DB1.

Pipeline1 is used to deploy an app that will authenticate to DB1 by using a password.

You need to store the password in Vault1. The solution must ensure that the password can be accessed by Pipeline1.

How should you store the password as?

Question 2 Single Choice

You have an Azure subscription that contains an Azure key vault named Vault1, an Azure pipeline named Pipeline1, and an Azure SQL database named DB1.

Pipeline1 is used to deploy an app that will authenticate to DB1 by using a password.

You need to store the password in Vault1. The solution must ensure that the password can be accessed by Pipeline1.

What would you modify to grant Pipeline1 access to Vault1?

Question 3 Single Choice

You use Azure Repos to manage source code and Azure Pipelines to implement continuous integration and continuous deployment (CI/CD).

You need to ensure that all comments on pull requests are resolved before the pull requests are included in a build. The solution must minimize administrative effort.

What should you include in the solution?

Question 4 Single Choice

You use GitHub to host container packages that use Semantic Versioning (SemVer).

You have an app named App1. The current version of App1 is 11.2.0.

You change the code of App1 to fix a bug that was introduced in version 10.5.1.

Which version number should you assign to the release?

Question 5 Single Choice

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?

Question 6 Single Choice

You have an Azure web app that is deployed by using Azure Pipelines.

You need to ensure that when a new version of the app is deployed to production, you can roll back to the previous version. The solution must meet the following requirements:

  • Minimize downtime during the deployment.

  • Minimize the time it takes for the rollback.

What should you use?

Question 7 Single Choice

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 file?

Question 8 Single Choice

You create a Git repository named Repo1 in Azure Repos.

You need to configure Repo1 to meet the following requirement:

  • Work items must be linked to a pull request.

The solution must minimize administrative effort.

Which type of policy should you use for this requirement?

Question 9 Single Choice

You create a Git repository named Repo1 in Azure Repos.

You need to configure Repo1 to meet the following requirement:

  • Pull requests must have a minimum of two reviewers.

The solution must minimize administrative effort.

Which type of policy should you use for this requirement?

Question 10 Single Choice

You create a Git repository named Repo1 in Azure Repos.

You need to configure Repo1 to meet the following requirement:

  • Pull requests must complete a code review by using a third-party tool.

The solution must minimize administrative effort.

Which type of policy should you use for this requirement?

Page: 1 / 55