Microsoft AZ-400 Answers

Page:    1 / 139   
Total 694 questions | Updated On: Aug 02, 2026
Question 1

You have an Azure subscription named Subscription1 that contains a custom Azure policy named Policy1. Policy1 is an audit policy that monitors naming convention compliance for the resources deployed to Subscription1.

You have a pipeline named Pipeline1 in Azure Pipelines. Pipeline1 deploys Azure Resource Manager (ARM) resources to Subscription1.

You need to ensure that the resources deployed by Pipeline1 comply with Policy1.

What should you add to Pipeline1?


Answer: A
Question 2

You manage a project by using Azure Boards. You manage the project code by using GitHub. You have three work items that have IDs of 456. 457. and 458. You need to create a pull request that will be linked to all the work items. The solution must set the state of work item 456 to done. What should you add to the commit message?


Answer: D
Question 3

Your team needs to deploy several Azure Resource Manager templates. These templates will reference secrets stored in the Azure Key vault service. You have to recommend the right solution for accessing the secrets in the key vault during the deployment of the Azure Resource Manager templates. You have to ensure the solution uses the principle of least privilege.

Which of the following would you use to restrict access to delete the key vault?


Answer: C
Question 4

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 organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for autoscaling.
You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1.
You need to ensure that an email alert is generated whenever VMSS1 scales in or out.
Solution: From Azure Monitor, create an action group.
Does this meet the goal?


Answer: A
Question 5

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?


Answer: B
Page:    1 / 139   
Total 694 questions | Updated On: Aug 02, 2026

Quickly grab our AZ-400 product now and kickstart your exam preparation today!

Name: Designing and Implementing Microsoft DevOps Solutions
Exam Code: AZ-400
Certification: Microsoft Azure
Vendor: Microsoft
Total Questions: 694
Last Updated: Aug 02, 2026