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

You have an Azure subscription.

You need to ensure that users can provision preconfigured cloud-based environments for developing apps. The solution must minimize administrative effort.

What should you include in the solution?

A.

Microsoft Dev Box

B.

Windows 365 Cloud PC

C.

Azure Deployment Environments

D.

Azure Virtual Desktop

You have a widget named Appl and an Azure DevOps YAML pipeline named Pipelinel. App1 is released by using Pipelined Pipeline1 contains a single stage and a single job. You need to ensure that Appl is approved before the app is released. Which two actions should you perform? Each correct answer presents part of the solution. NOTE; Each correct selection is worth one point.

A.

Add a stage named deployment to the YAML pipeline.

B.

Change Pipelinel to a deployment job.

C.

Create a service connection.

D.

Create an environment an tod add a check.

E.

Configure branch control.

Task 7

Initialize the default main branch, if it does not exist already

In the User 1-42147509 organization, you need to install the Microsoft Security DevOps extension.

Next, create a new starter pipeline named starter1 that will use the following starter code.

Ensure that starter! includes a task that executes the extension and uses the following input*:

• Command: run

• Policy aruredevops

• Publish: true

Save the pipeline to anew branch named starter

You need to create an instance of Azure Application Insights named az400-9940427-main and configure the instance to receive telemetry data from an Azure web app named az400-9940427-main.

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

You have an Azure DevOps project that is used to build an app named Appl.

You need to recommend a release strategy for App1. The solution must meet the following requirements:

• Detect if App1 cannot respond to customer requests for more than 30 seconds.

• Ensure that App1 can respond to at least 100 concurrent users while maintaining page load times of less than 10 seconds.

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

NOTE: Each correct selection is worth one point.

You are designing a build and release pipeline.

You need to implement continuous integration and continuous delivery (CI/CD) for the pipeline

Which automated activities should you include in the pipeline?

A.

unit tests, integration tests, and acceptance tests

B.

functional tests, production tests, and production release

C.

functional tests, regression tests, and formal assessments

D.

unit tests, production release, and production deployment

You need to ensure that Microsoft Visual Studio 2017 can remotelyattach to an Azure Function named fa-11566895.

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

You plan to deploy a template named D:\Deploy.json to a resource group named Deploy-lod9940427.

You need to modify the template to meet the following requirements, and then to deploy the template:

The address space must be reduced to support only 256 total IP addresses.

The subnet address space must be reduced to support only 64 total IP addresses.

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

You have a project in Azure DevOps that will use infrastructure as code (laC) to deploy resources to Azure and Amazon Web Services (AWS). You need to recommend a deployment solution for the project. The solution must minimize administrative effort. What should you include in the recommendation?

A.

Bkep

B.

Azure Command-Line Interface (CU)

C.

Terraform

D.

Azure Resource Manager (ARM) templates

You ate using Agile process methodologies in Azure DevOps.

You need to deploy a dashboard that will provide progress reports for the following work items:

• How long it took to close a work item after it was created.

• How long it took to close a work item after the work was started.

Which type of widget should you use for each work item? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

You need to configure a virtual machine named VM1 to securely access stored secrets in an Azure Key Vault named az400-11566895-kv.

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

You have a GitHub repository named repol.

You commit a change to repol.

You need to update the commit message. The solution must ensure that the version number remains the same.

Which command should you run?

A.

git commit --patch

B.

git commit --amend

C.

git status --renames

D.

git restore --patch

You have an app named App1 that will be deployed by using Azure Container Apps. You need to ensure that App1 can be deployed by using the blue-green deployment strategy. Which two actions should you perform in Container Apps? Each correct answer presents part of the solution. NOTE; Each correct selection is worth one point.

A.

From Scale rule setting, set Max replicas to 2.

B.

From Scale rule setting, set Min replicas to 2.

C.

Set Revision Mode to Multiple

D.

Configure continuous deployment.

E.

Enable ingress.

Task 1

Navigate to aex.dev.azure.com and specify the following credentials:

• UserUser1-48901628@cxamUsers.com

• Password: aFpJ2j-6M!

Use the default setting to sign up for Azure DevOps and create an Azure DevOps organization. Once the organization is created. create a private project named Project1.

You need to ensure that the maximum file size for all the Azure DevOps repositories of Project1 is 2 MB.

You have an Azure subscription that contains an Azure Kubernetes Service (AKS) instance named AKS1. You collect and analyze metrics for AKS1 by using the Azure Monitor managed service for Prometheus. You need to analyze the performance of AKS1.

Which query language should you use?

A.

PromQL

B.

KQL

C.

PL/SQL

D.

SparkQL

Task 9

In Project1, you need to create a variable group named varGroup1 that will contain the following variables:

serverNane: server1 dbName: db1

Task 11

You need to write a KQL query that will count the number of inbound requests for each source IP address, for any connection made during the last three months of 2021.

Open Azure Data Explorer by using the following link:

https//dataexploter azure.com/clusters/help/databases/Securiitylogs

The requests are contained in a table named InboundBrowsing in the Securitylogs connection.

The query must return two columns named NumberOfRequests and SourcelP.

Export the query result to C:\Samples

Task 4

Initialize the default main branch, if it does not exist already.

In the Userl-42147509 Azure DevOps project, you need to implement an approval process for the default main branch.

The process must use the four-eyes principle and have at least one approval on every iteration.

You have an Azure DevOps organization.

You are designing an automated security and compliance solution that will use GitHub Advanced Security for Azure DevOps.

You need to ensure that security checks and compliance requirements are enforced automatically throughout the development lifecycle.

Which two features should you include in the solution? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

automated approvals

B.

code linting

C.

secret scanning push protection

D.

dependency scanning

E.

pull request annotation scanning

You have an Azure DevOps project named Project1 that uses an Azure Pipelines pipeline to build, test, and deploy an app named Appl.

You have a credential named credl.

You need to ensure that credl can be used to deploy builds of Appl to production The solution must ensure that credl is available for use only by specific users and pipelines in Project 1.

What should you do?

A.

Create a deployment gate for the pipelines that deploy builds of Appl to production.

B.

Create cred 1 as a secret variable in a variable group.

C.

Add credl to an Azure key vault.

D.

Add credl as a variable to a template pipeline.

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