New Year Special Sale - 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: spcl70

Practice Free AZ-400 Microsoft Azure DevOps Solutions Exam Questions Answers With Explanation

We at Crack4sure are committed to giving students who are preparing for the Microsoft AZ-400 Exam the most current and reliable questions . To help people study, we've made some of our Microsoft Azure DevOps Solutions exam materials available for free to everyone. You can take the Free AZ-400 Practice Test as many times as you want. The answers to the practice questions are given, and each answer is explained.

Question # 6

Task 10

For Project1, you need to ensure that artifacts, symbols, and attachments are retained for 60 days.

Question # 7

You have a GitHub organization.

You ate creating a GitHub Actions workflow.

You need to perform authenticated AP1 requests by using a GitHub app name App1.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

AZ-400 question answer

Question # 8

Task 2

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

You must create a Log Analytics workspace before this task.

Question # 9

Task 8

In Project1, you need to create a service hook that will integrate with Azure Storage.

Use the queue1 queue from the storage48901628 storage account.

Question # 10

You have an Azure DevOps pipeline named Pipeline1.

You need to track the stability of code changes in Pipeline1.

Which metric should you use?

A.

test pass rate

B.

deployment frequency (DT)

C.

lead time for changes (LT)

D.

time to detect (TTD)

Question # 11

You are designing a build and release pipeline.

You need to implement a shift-left testing strategy for the pipeline.

Which types of tests should you include?

A.

integration, user acceptance, and regression

B.

unit, smoke, and integration

C.

formal acceptance, user acceptance, and smoke

D.

functional, regression, and formal acceptance

Question # 12

Task 5

You plan to stoic signed images in an Azure Container Registry instance named az40038443478act1.

You need to modify the SKU for az40038443478aa1 to support the planned images. The solution must minimize costs.

Question # 13

Task 11

You need to create a new artifact feed named artifact_feed.

Only 10 versions of the packages must be retained, and downloaded packages must be retained for 90 days.

Question # 14

Task 3

You need to ensure that an Azure Web App named az400-38443478-matn supports rolling upgrades The solution must ensure that only 10 percent of users who connect to az400-38443478 main use updated versions of the app. The solution must minimize administrative effort.

Question # 15

Task 1

You need to ensure that an Azure Web App named az400-38443478-main can retrieve secrets from an Azure key vault named az400-3844J478-kv1 byusing a system managed identity The solution must use the principle of least privilege.

Question # 16

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.

Thesolution must use the principle of least privilege.

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

Question # 17

You plane to store signed images in anAzure Container Registry instance named az4009940427acr1.

You need to modify the SKU for az4009940427acr1 to support the planned images. The solution must minimize costs.

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

Question # 18

Task 5

For Project1, you need to create a project wiki named Wiki1 that uses the Mermaid syntax to render a diagram A sample of the desired output is stored in C:\Resources\TCPHandshake.png.

Question # 19

Task 10

You need to create a variable group named varGroup1 that will contain the following variables and default values:

• username: Userl-48901628

• password: aFpJ2j+6M!

The PASSWORD variable must be secret.

Question # 20

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

Question # 21

O: 43SIMULATION

Your company plans to implement a new compliance strategy that will require all Azure web apps to be backed up every five hours.

You need to back up an Azure web app named az400-11566895-main every five hours to an Azure Storage accountin your resource group.

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

Question # 22

You have a Bicep file named Main.bicep.

You run the following command.

AZ-400 question answer

Use the drop-down menus to select the answer choice that completes each statement based on the information presented.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 23

How should you complete the code to initialize App Center in the mobile application? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection a worth one point.

AZ-400 question answer

Question # 24

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 optionsin the answer area.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 25

You have a project in Azure DevOps.

You plan to deploy a self-hosted agent by using an unattended configuration script.

Which two values should you define in the configuration script? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth onepoint.

A.

authorization credentials

B.

the project name

C.

the deployment group name

D.

the organization URL

E.

the agent pool name

Question # 26

Where should the build and release agents for the investment planning application suite run? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 27

To resolve the current technical issue, what should you do to theRegister-AzureRmAutomationDscNodecommand?

A.

Change the value of theConfigurationModeparameter.

B.

Replace theRegister-AzureRmAutomationDscNodecmdlet withRegister-AzureRmAutomationScheduledRunbook

C.

Add theAllowModuleOverwriteparameter.

D.

Add theDefaultProfileparameter.

Question # 28

What should you use to implementthe code quality restriction on the release pipeline for the investment planning applications suite?

A.

a trigger

B.

a pre deployment approval

C.

a post-deployment approval

D.

a deployment gate

Question # 29

How should you confrere the release retention policy for the investment planning depletions suite? To answer, select the appropriate options in the answer area.

NOTE: Eachcorrect selection is worth one point.

AZ-400 question answer

Question # 30

You are using GitHub asa source code repository.

You create a client-side Git hook on the commit-msg event. The hook requires that each commit message contain a custom work item tag.

You need to make a commit that does not have a work item tag.

Which git commit parameter shouldyou use?

A.

--squash

B.

--no-verify

C.

--message ''

D.

--no-post-rewrite

Question # 31

Which branching strategy should you recommend for the investment planning applications suite?

A.

release isolation

B.

main only

C.

development isolation

D.

feature isolation

Question # 32

Which package feed access levels should be assigned to the Developers and Team Leaders groups for the investment planning applications suite? To answer, drag the appropriate access levels to the correct groups. Each access level 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.

AZ-400 question answer

Question # 33

How should youconfigure the release retention policy for the investment planning applications suite? To answer, select the appropriate options in the answer area.

NOTE:Each correct selection is worth one point.

AZ-400 question answer

Question # 34

ION NO: 7

You have Azure Pipelines and GitHub integrated as a source code repository.

The build pipeline has continuous integration enabled.

You plan to trigger an automated build whenever code changes are committed to the repository.

You need to ensure that the system will wait until a build completes before queuing another build.

What should you implement?

A.

path filters

B.

batch changes

C.

scheduled builds

D.

branch filters

Question # 35

You need to configure a cloud service to store the secrets required by the mobile applications to call the share.

What should you include in thesolution? To answer, select the appropriate options m the answer area, NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 36

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 onepoint.

AZ-400 question answer

Question # 37

You have an Azure subscription that contains a resource group named RG1.

You have a template artifact named template1.

You plan to use Azure Pipelines to deploy an app named App1 to RG1. App1 requires template1.

You need to deploy template1 to RG1.

How should you configure the pipeline task? To answer, drag the appropriate values to the correct targets. 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.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 38

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

Question # 39

You need to ensure that an Azure web app named az400-9940427-main supports rolling upgrades. The solution must ensure that only 10 percent of users who connect to az400-9940427-main use update versions of the app.

The solution must minimize administrative effort.

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

Question # 40

Task 8

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

In Project 1, you need to create a new Azure Pipelines YAML pipeline by using the ASP.NET template.

The pipeline must use Azure Repos as the hosting platform and must be created in a new branch named azure-pipelines.

Question # 41

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.

Question # 42

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.

Question # 43

You need to use Azure Automation Sure Configuration to manage the ongoing consistency of virtual machine configurations.

Which five actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

NOTE: More than one order of answer choices in correct. You writ receive credit for any of the orders you select.

AZ-400 question answer

Question # 44

You have an Azure Kubernetes Service (AKSJ pod that hosts an app named App1.

You need to configure the AKS container to restart automatically if the container stops responding. The solution must check the status of App1 once every three seconds.

How should you complete the deployment? To answer, drag the appropriate values to the correct targets. 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

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 45

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

Which chart widgetsshould 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.

AZ-400 question answer

Question # 46

You use GitHub for source control and Azure Boards for project management. GitHub and Azure Boards are integrated.

You plan to create a pull request in GitHub.

You need to automatically link the request to an existing Azure Boards work item by using the text of AB#.

To which two elements can you add the text? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

milestone

B.

comment

C.

title

D.

description

E.

label

Question # 47

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 nothave 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 requiresthat releases be approved by a team leader before they are deployed.

You have a policy stating that approvals must occur within eight hours.

You discover that deployment fail if the approvals take longer than two hours.

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

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

Does this meet the goal?

A.

Yes

B.

No

Question # 48

You are monitoring the health and performance of an Azure web app by using Azure Application Insights.

You need to ensure that an alert is sent when the web app has a sudden rise in performance issues and failures.

What shouldyou use?

A.

custom events

B.

Application Insights Profiler

C.

usage analysis

D.

Smart Detection

E.

Continuous export

Question # 49

You need to meet the technical requirements for controlling access to Azure DevOps.

What should you use?

A.

Azure Multi-Factor Authentication (MFA)

B.

on-premises firewall rules

C.

conditional access policies in Azure AD

D.

Azure role-based access control (Azure RBAC)

Question # 50

You need to perform the GitHub code migration. The solution must support the planned changes for the DevOps environment.

What should you use?

A.

git clone

B.

GitHub Importer

C.

Import repository in Azure Repos

D.

git-tfs

Question # 51

You plan to deploy a new database environment. The solution must meet the technical requirements. You need to prepare the database for the deployment. How should you formatthe export?

A.

NDF

B.

MDF

C.

BACPAC

D.

DACPAC

Question # 52

You need to meet the technical requirements for monitoring App1.

What should you use?

A.

Splunk

B.

Azure Application Insights

C.

Azure Advisor

D.

App Service logs

Question # 53

You need to configure Azure Pipelines to control App2 builds.

Which authentication method should you use?

A.

Windows NTLM

B.

certificate

C.

SAML

D.

personal access token (PAT)

Question # 54

You need to configure the alert for VM1.The solution must meet the technical requirements.

Which two settings should you configure? To answer, select the appropriate settings in the answer area.

NOTE:Each correct selection is worth one point.

AZ-400 question answer

Question # 55

You are automatingthe 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

Question # 56

During a code review, you discover quality issues in a Java application.

You need to recommend a solution to detect quality issues including unused variables and empty catchblocks.

What should you recommend?

A.

In an Xcode build task, select Use xcpretty from Advanced.

B.

In a Maven build task, select Run PMD.

C.

In a Grunt build task, select Enabled from Control Options.

D.

In a Gulp build task, specify a custom condition expression.

Question # 57

Note: This question is part of a series of questions that present the same scenario. Each question inthe 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

Question # 58

You have a large repository named Repo1 that contains a directory named directory 1.

You plan to modify files in directory1.

You need to create a clone of Repo1. The solution must minimize the amount of transferred data.

How should you complete the script? To answer, drag the appropriate values to the correct targets. 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.

NOTE: Each correct selection is worth one point.

Question # 59

You have an app that is deployed to two environments named Production-A and Production-B by using Azure Pipelines.

You need to configure a release pipeline that will mark the app as complete and ready forrelease into the Production-B environment. The solution must meet the following requirements:

• Ensure that there are no active Azure Monitor alerts in the Production-A environment before the app is marked as complete.

• Minimize administrative effort.

What should you do?

A.

To the Production-B environment stage, add a pre-deployment gate that will query Azure Monitor.

B.

To the Production-A environment stage, add a post-deployment gate that will query Azure Monitor.

C.

To the Production-A environment stage, add a post-deployment approval.

D.

To the Production-A environment stage, add a pre-deployment gate that will query Azure Monitor.

Question # 60

You plan touse Terraform to deploy an Azure resource group.

You need to install the required frameworks to support the planned deployment.

Which two frameworks should you install? Each correct answer presents part of the solution.

NOTE:Each correct selection isworth one point.

A.

Vault

B.

Terratest

C.

Node.js

D.

Yeoman

E.

Tiller

Question # 61

2You have a GitHub repository.

You need to ensure that all changes to code are validated by your company's security department before the main branch is deployed.

Which two actions can you perform? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Create a branch protection rule for the feature branches.

B.

Create a branch protection rule for the main branch.

C.

Create a LICENSE file.

D.

Require signed commits.

E.

Create a CODEOWNERSfile.

Question # 62

You have a GitHub repository.

You need to create a tag named v3.0.5 and ensure that the tag is available in the remote repository. Which two commands should you run? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A.

git coamit -m 'tag v3.6.5'

B.

git push origin v3.0.5

C.

git tag V3.9.5

D.

git push -force

E.

git add 'tag v3.6.5'

Question # 63

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 plan to update the Azure DevOps strategy of your company.

You need to identify the following issues as they occur during the company’s development process:

Licensing violations

Prohibited libraries

Solution: You implement pre-deployment gates.

Does this meet thegoal?

A.

Yes

B.

No

Question # 64

You need to the merge the POC branch into the main branch. The solution must meet the technical requirements.

Which command should you run?

A.

git push

B.

git merge --squash

C.

git merge --allow-unrelated-histories

D.

git rebase

Question # 65

You have an Azure subscription linked to a tenant in Microsoft Azure Active Directory (Azure AD), part of Entrap. The tenant is licensed for Azure AD Premium Plan 1.

A securityreview indicates that too many users have privileged access to resources.

You need to deploy a privileged access management solution that meets the following requirements:

• Enforces time limits on the use of privileged access

• Requires approval to activate privileged access

• Minimizes costs

What should you do first?

A.

Configure alerts for the activation of privileged roles.

B.

Enforce Azure Multi-Factor Authentication (MFA) for role activation.

C.

Configure notifications when privilegedroles are activated.

D.

Upgrade the license of the Azure AD tenant.

Question # 66

You have an Azure subscription that contains multiple Azure pipelines.

You need to deploy a monitoring solution for the pipelines. The solution must meet the following requirements:

• Parse togs from multiple sources

• Identify the root cause of issues.

What advanced feature of a monitoring tool should you include in the solution?

A.

synthetic monitoring

B.

Alert Management

C.

analytics

D.

directed monitoring

Question # 67

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 inthis 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 runsautomatically.

Solution: From the Pre-deployment conditions settings of the release pipeline, you selectAfter stage.

Does this meet the goal?

A.

Yes

B.

No

Question # 68

You need to increase the security of your team's development process.

Which type of security tool should you recommend for each stage of the development process? To answer, drag the appropriate security toots to the correct stages. Each security tool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to viewcontent

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 69

UESTION NO: 23

Your company creates a new Azure DevOps team.

D18912E1457D5D1DDCBD40AB3BF70D5D

You plan to use Azure DevOps for sprint planning.

You need to visualize the flow of your work by using an agile methodology.

Which Azure DevOps component shouldyou use?

A.

Kanban boards

B.

sprint planning

C.

delivery plans

D.

portfolio backlogs

Question # 70

You are designing a build pipeline in Azure Pipelines.

The pipeline requires a self-hosted agent. The build pipeline will runonce daily and will take 30 minutes to complete.

You need to recommend a compute type for the agent. The solution must minimize costs.

What should you recommend?

A.

Azure virtual machines

B.

an Azure virtual machine scale set

C.

an Azure Kubernetes Service (AKS) cluster

D.

Azure Container Instances

Question # 71

You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL database.

You need to generate an alert when there are 10,000 simultaneous connections to the database. The solution must minimize development effort.

Which option should you select in the Diagnostics settings of the database?

A.

Send to Log Analytics

B.

Stream toan event hub

C.

Archive to a storage account

Question # 72

You plan to use Desired State Configuration (DSC) to maintain the configuration state of virtual machines that run Windows Server.

You needto perform the following:

Install Internet Information Services (IIS) on the virtual machines.

Update the default home page of the IIS web server.

How should you configure the DSC configuration file? To answer, select the appropriate options in the answer area.

NOTE:Each correct selection is worth one point.

AZ-400 question answer

Question # 73

How should you configure the filters for the Project5 trigger? To answer, select the appropriate option in the answer area.

NOTE: Each correct selectionis worth one point.

AZ-400 question answer

Question # 74

You need to configure Azure Automation for the computer in Group7.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

AZ-400 question answer

Question # 75

You need to configure Azure Automation for the computers in Pool7.

Whichthree actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them m the correct order.

AZ-400 question answer

Question # 76

You need to implement the code flow strategy for Project2 in Azure DevOps.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange in the correct order.

AZ-400 question answer

Question # 77

You need to implement the code flow strategy for Project2 in Azure DevOps.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list ofactions to the answer area and arrange them in the correct order.

AZ-400 question answer

Question # 78

You add the virtual machines as managed nodes in Azure Automation State Configuration.

You need to configure the computer in Group7.

What should you do?

A.

Run the Register-AzureRmAutomationDscNodeAzure Powershell cmdlet.

B.

Modify the ConfigurationMode property of the Local Configuration Manager (LCM).

C.

Install PowerShell Core.

D.

Modify the RefreshMode property of the Local Configuration Manager (LCM).

Question # 79

You need to implement Project4.

What should you do first?

A.

Add the FROM instruction in the Dockerfile file.

B.

Adda Copy and Publish Build Artifacts task to the build pipeline.

C.

Add a Docker task to the build pipeline.

D.

Add the MAINTAINER instruction in the Dockerfile file.

Question # 80

In Azure DevOps, you create Project3.

You need to meet the requirements of the project.

What should you do first?

A.

From Azure DevOps, create a service endpoint.

B.

From Sonar Qube, obtain an authentication token.

C.

From Azure DevOps, modify the build definition.

D.

From Sonar Qube , create a project.

Question # 81

You need to recommend a procedure to implement the build agent for Project1.

Which three actions should you recommend be performed in sequence? To answer, move the appropriate actions from the list of actions tothe answer area and arrange them in the correct order.

AZ-400 question answer

Question # 82

You need to implement Project6.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them m the correct order.

AZ-400 question answer

AZ-400 PDF

$42

$139.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

AZ-400 PDF + Testing Engine

$57

$189.99

3 Months Free Update

  • Exam Name: Microsoft Azure DevOps Solutions
  • Last Update: Dec 15, 2025
  • Questions and Answers: 564
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

AZ-400 Engine

$48

$159.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included