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 / 5
Total 628 questions

You are finalizing a release in GitHub.

You need to apply the following labels to the release:

    Name

    Email

    Release v3.0

    Release date

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

NOTE: Each correct selection is worth one point.

You use Azure Artifacts to host NuGet packages that you create.

You need to make one of the packages available to anonymous users outside your organization. The solution must minimize the number of publication points.

What should you do?

A.

Create a new feed for the package

B.

Publish the package to a public NuGet repository.

C.

Promote the package to a release view.

D.

Change the feed URL of the package.

You are deploying a server application that will run on a Server Core installation of Windows Server 2019.

You create an Azure key vault and a secret.

You need to use the key vault to secure API secrets for third-party integrations.

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

NOTE: Each correct selection is worth one point.

D18912E1457D5D1DDCBD40AB3BF70D5D

A.

Configure RBAC for the key vault.

B.

Modify the application to access the key vault.

C.

Configure a Key Vault access policy.

D.

Deploy an Azure Desired State Configuration (DSC) extension.

E.

Deploy a virtual machine that uses a system-assigned managed identity.

You have the following Azure policy.

A.

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

B.

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

C.

prevents all HTTP traffic to wasting Azure Storage accounts

D.

ensures that all traffic to new Azure Storage accounts is encrypted

Your development team is building a new web solution by using the Microsoft Visual Studio integrated

development environment (IDE).

You need to make a custom package available to all the developers. The package must be managed centrally,

and the latest version must be available for consumption in Visual Studio automatically.

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

NOTE: Each correct selection is worth one point.

A.

Publish the package to a feed.

B.

Create a new feed in Azure Artifacts.

C.

Upload a package to a Git repository.

D.

Add the package URL to the Environment settings in Visual Studio.

E.

Add the package URL to the NuGet Package Manager settings in Visual Studio.

F.

Create a Git repository in Azure Repos.

You build a Node.js app named App1 by using GitHub.

You need to test App1. The solution must ensure that App1 meets the following requirements.

• Works correctly with versions 10,12, and 14 of Node.js

• Works correctly with Ubuntu versions 22.04and 20-04

• Minimizes the runtime of the test stage

What should you use?

A.

jobs

B.

matrices

C.

environments

D.

concurrency

You are designing an Azure DevOps strategy for your company’s development team.

You suspect that the team’s productivity is low due to accumulate technical debt.

You need to recommend a metric to assess the amount of the team’s technical debt.

What should you recommend?

A.

the number of code modules in an application

B.

the number of unit test failures

C.

the percentage of unit test failures

D.

the percentage of overall time spent on rework

You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. Sub1 contains an Azure virtual machine scale set named VMSS1. VMSS1 hosts a web application named WebApp1.

WebApp1 uses stateful sessions.

The WebApp1 installation is managed by using the Custom Script extension. The script resides in an Azure Storage account named sa1.

You plan to make a minor change to a UI element of WebApp1 and to gather user feedback about the change.

You need to implement limited user testing for the new version of WebApp1 on VMSS1.

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

NOTE: Each correct selection is worth one point.

A.

Modify the load balancer settings of VMSS1.

B.

Redeploy VMSS1.

C.

Upload a custom script file to sa1.

D.

Modify the Custom Script extension settings of VMSS1.

E.

Update the configuration of a virtual machine in VMSS1.

You create a Git repository named Repo1 in Azure Repos.

You need to configure Repo1 to meet the following requirements:

• Work items must be linked to a pull request.

• Pull requests must have a minimum of two reviewers.

* Pull requests must complete a code review by using a thirty-party tool.

The solution must minimize administrative effort.

Which type of policy should you use for each requirement? To answer, drag the appropriate policy types to the correct requirements. Each policy 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.

You have a public GitHub repository named Public1.

A commit is made to Public1. The commit contains a pattern that matches a regular expression.

Who is notified first when the commit is made?

A.

the owner of Public1

B.

the secret scanning partner

C.

the committer

D.

the administrator of the GitHub organization

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 m Azure DevOps.

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

Solution: Configure the build pipeline to use a Microsoft-hosted agent pool running the Windows Server 2022 with Visual Studio 2022 image, include the Java Tool installer task in the build pipeline.

Does this meet the goal?

A.

Yes

B.

No

You have an Azure function hosted in an App Service plan named az400-9940427-func1.

You need to configure az400-9940427-func1 to upgrade the functions automatically whenever new code is committed to the master branch of https://github.com/Azure-Samples/functions-quickstart.

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

Your company uses Azure DevOps for the build pipelines and deployment pipelines of Java based projects. You need to recommend a strategy for managing technical debt.

Which two actions should you include in the recommendation? Each correct answer presents part of the solution

NOTE: Each correct selection is worth one point.

A.

Integrate Azure DevOps and SonarQube.

B.

Integrates Azure DevelOPs and Azure DevTest Labs.

C.

Configure post-deployment approvals in the deployment pipeline.

D.

Configure pre-deployment approvals in the deployment pipeline.

: 144 HOTSPOT

You need to create deployment files for an Azure Kubernetes Service (AKS) cluster. The deployments must meet the provisioning storage requirements shown in the following table.

Which resource type should you use for each deployment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

You have several Azure virtual machines that run Windows Server 2019.

You need to identify the distinct event IDs of each virtual machine as shown in the following table.

How should you complete the Azure Monitor query? To answer, drag the appropriate values to the correct locations. Each value 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.

You need to deploy Azure Kubernetes Service (AKS) to host an application. The solution must meet the following requirements:

    Containers must only be published internally.

    AKS clusters must be able to create and manage containers in Azure.

What should you use for each requirement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

You plan to publish build artifacts by using an Azure pipeline.

You need to create an. artifactignore file that meets the following requirements:

• Includes all files in the build output folder and all subfolders

• Excludes files that have the .dll extension

What should you include in the file?

A.

Option A

B.

Option B

C.

Option C

D.

Option D

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 use an Azure Pipelines pipeline to build and test an app and test the database of the app. The solution must meet the following requirements.

• The test stages must be run in parallel.

• The Publish_Test_Results stage must always be run.

• The test stages mustbe run after successful completion of the build stage.

• The PubHsh_Test_ftesuHs stage must be run after completion of all the test stages.

Solution: You include the following elements in the YAML definition of the pipeline.

Does this meet the goal?

A.

Yes

B.

No

You are designing a YAML template for use with Azure Pipelines. The template Will include the Outputfile parameter.

Which two methods can you use to reference the parameter? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

You store source code in a Git repository in Azure repos. You use a third-party continuous integration (CI) tool to control builds.

What will Azure DevOps use to authenticate with the tool?

A.

certificate authentication

B.

a personal access token (PAT)

C.

a Shared Access Signature (SAS) token

D.

NTLM authentication

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