Pre-Summer Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmaspas7

Easiest Solution 2 Pass Your Certification Exams

AZ-400 Microsoft Azure DevOps Solutions Free Practice Exam Questions (2026 Updated)

Prepare effectively for your Microsoft AZ-400 Microsoft Azure DevOps Solutions certification with our extensive collection of free, high-quality practice questions. Each question is designed to mirror the actual exam format and objectives, complete with comprehensive answers and detailed explanations. Our materials are regularly updated for 2026, ensuring you have the most current resources to build confidence and succeed on your first attempt.

Page: 3 / 4
Total 609 questions

You have a project in Azure DevOps named Project1. Project1 contains a build pipeline named Pipe1 that builds an application named Appl.

You have an agent pool named Pool1 that contains a Windows Server 2019-based self-hosted agent. Pipe1 uses Pool1.

You plan to implement another project named Project2. Project2 will have a build pipeline named Pipe2 that builds an application named App2.

App1 and App2 have conflicting dependencies.

You need to minimize the possibility that the two build pipelines will conflict with each other. The solution must minimize infrastructure costs.

What should you do?

A.

Create two container jobs.

B.

Change the self-hosted agent to use Red Hat Enterprise Linux (RHEL) 9.

C.

Add another self-hosted agent

D.

Add a Docker Compose task to the build pipelines.

You have an Azure pipeline that is used to deploy an app named App1.

You need to ensure that new versions of App1 are released only if they exceed performance baselines. The solution must minimize administrative effort.

What should you configure?

A.

an Azure Repos branch policy

B.

an Azure Pipelines release artifact

C.

an Azure Pipelines deployment gate

D.

an Azure Monitor alert

You create an alert rule in Azure Monitor as shown in the following exhibit.

Which action will trigger an alert?

A.

a failed attempt to delete the ASP-9bb7 resource

B.

a change to a role assignment for the ASP-9bb7 resource

C.

a successful attempt to delete the ASP-9bb7 resource

D.

a failed attempt to scale up the ASP-9bb7 resource

You are using an Azure Pipelines pipeline to build and deploy a web app.

You need to implement a testing strategy that meets the following requirements:

• Validates thescalability of the app

• Tests a code module without testing the module ' s dependencies

• Validates the interactions and dependencies between the app and its dependent services

Which type of test should you implement for each requirement? To answer,select the appropriate options in the answer area.

You need to recommend project metrics for dashboards in Azure DevOps.

Which chart widgets should you recommend for each metric? To answer, drag the appropriate chart widgets to the correct metrics. Each chart widget 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 are automating the testing process for your company.

You need to automate UI testing of a web application.

Which framework should you use?

A.

JaCoco

B.

Playwright

C.

Xamarin.UITest

D.

Microsoft.CodeAnalysis

HOTSPOT

You have an Azure virtual machine named VM1 that runs Linux.

You plan to deploy the Desired State Configuration (DSC) extension to VM1.

You need to grant the Log Analytics agent the appropriate directory permissions.

How should you complete the command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

You have an Azure solution that contains a build pipeline in Azure Pipelines. You experience intermittent delays before the build pipeline starts. You need to reduce the time it takes to start the build pipeline. What should you do?

A.

Split the build pipeline into multiple stages.

B.

Purchase an additional parallel job.

C.

Create a new agent pool.

D.

Enable self-hosted build agents.

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.

Your company has a project in Azure DevOps for a new web application.

You need to ensure that when code is checked in, a build runs automatically.

Solution: From the Pre-deployment conditions settings of the release pipeline, you select Batch changes while a build is in progress .

Does this meet the goal?

A.

Yes

B.

No

You have an Azure subscription that contains 50 virtual machines

You plan to manage the configuration of the virtual machines by using Azure Automation State Configuration.

You need to create the Desired State Configuration (DSO configuration files.

How should structure the code blocks?

A.

Node > Configuration > Resource

B.

Configuration > Node > Resource

C.

Configuration > Resource > Node

D.

Resource > Configuration > Node

You have the following Azure policy.

You assign the policy to the Tenant root group.

What is the effect of the policy?

A.

prevents all http traffic to existing Azure Storage accounts

B.

ensures that all traffic to new Azure Storage accounts is encrypted

C.

prevents HTTPS traffic to new Azure Storage accounts when the accounts are accessed over the Internet

D.

ensures that all data for new Azure Storage accounts is encrypted at rest

You need to ensure that an Azure web app named az400-9940427-main can retrieve secrets from an Azure key vault named az400-9940427-kv1 by using a system managed identity.

The solution must use the principle of least privilege.

To complete this task, sign in to the Microsoft Azure portal.

Your company uses Azure DevOps.

Only users who have accounts in Azure Active Directory can access the Azure DevOps environment.

You need to ensure that only devices that are connected to the on-premises network can access the Azure

DevOps environment.

What should you do?

A.

Assign the Stakeholder access level to all users.

B.

In Azure Active Directory, configure risky sign-ins.

C.

In Azure DevOps, configure Security in Project Settings.

D.

In Azure Active Directory, configure conditional access.

You have a build pipeline in Azure Pipelines that occasionally fails.

You discover that a test measuring the response time of an API endpoint causes the failures.

You need to prevent the build pipeline from failing due to The test.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point

A.

Enable Test Impact Analysis (TIA).

B.

Enable test slicing.

C.

Clear Flaky tests included in test pass percentage

D.

Set Flaky test detection to Off

E.

Manually mark the test as flaky.

Note: This question is part of a series les 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 m this section, you will NOT be able to return to it As a result, these questions will not appear in the review screen

You integrate a cloud-hosted Jenkins server and a new Azure Dev Ops deployment.

You need Azure Dev Ops lo send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.

Solution: You create an email subscription to an Azure DevOps notification.

Does this meet the goal?

A.

Yes

B.

NO

You plan to use Azure Kubernetes Service (AKS) to host containers deployed from images hosted in a Docker Trusted Registry.

You need to recommend a solution for provisioning and connecting to AKS. The solution must ensure that AKS is RBAC-enaWed and uses a custom service principal.

Which three commands should you recommend be run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the coned order.

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 need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:

• The builds must access an on-premises dependency management system.

• The build outputs must be stored as Server artifacts in Azure DevOps.

• The source code must be stored in a Git repository in Azure DevOps.

Solution: Configure the build pipeline to use a Hosted Ubuntu agent pool. Include the Java Tool Installer task in the build pipeline. Does this meet the goal?

A.

Yes

B.

No

You have a GitHub Enterprise account.

You have three projects named Project 1, Project2, and Project3. Project! must meet the following requirements:

• Perform concurrent testing across 700 hosts.

• Support workflow job durations of at least five hours.

Project2 must meet the following requirements:

• Perform concurrent load testing across 35 hosts that run macOS.

• Support workflow job durations of at least one hour.

Project3 must meet the following requirements:

• Perform concurrent load testing across 200 hosts run that Windows.

• Support workflow job durations of at least 24 hours.

You need to recommend an architecture for the GitHub runners of the projects. The solution must minimize costs. What should you recommend for each project? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

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 approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.

You haw a pokey stating that approvals must occur within eight hours.

You discover that deployments only if the approvals take longer than two hours.

You need to ensure that the deployments only fail if the approvals take longer than hours.

Solution From Post -deployment conditions, you modify the Timeout setting for post-deployment approvals.

Does this meet the goal?

A.

Yes

B.

NO

HOTSPOT

You are using PowerShell to administer Azure Log Analytics workspaces.

You need to list the available workspaces and their properties.

How should you complete the command? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Page: 3 / 4
Total 609 questions
Copyright © 2014-2026 Solution2Pass. All Rights Reserved