Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

AZ-400 Microsoft Azure DevOps Solutions Questions and Answers

Questions 4

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: Each correct selection is worth one point.

AZ-400 Question 4

Options:

Buy Now
Questions 5

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

Options:

A.

release isolation

B.

main only

C.

development isolation

D.

feature isolation

Buy Now
Questions 6

You are using GitHub as a 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 should you use?

Options:

A.

--squash

B.

--no-verify

C.

--message ' '

D.

--no-post-rewrite

Buy Now
Questions 7

How should you configure 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 7

Options:

Buy Now
Questions 8

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 8

Options:

Buy Now
Questions 9

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 one point.

Options:

A.

authorization credentials

B.

the project name

C.

the deployment group name

D.

the organization URL

E.

the agent pool name

Buy Now
Questions 10

To resolve the current technical issue, what should you do to the Register-AzureRmAutomationDscNode command?

Options:

A.

Change the value of the ConfigurationMode parameter.

B.

Replace the Register-AzureRmAutomationDscNode cmdlet with

Register-AzureRmAutomationScheduledRunbook

C.

Add the AllowModuleOverwrite parameter.

D.

Add the DefaultProfile parameter.

Buy Now
Questions 11

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 11

Options:

Buy Now
Questions 12

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 the solution? To answer, select the appropriate options m the answer area, NOTE: Each correct selection is worth one point.

AZ-400 Question 12

Options:

Buy Now
Questions 13

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?

Options:

A.

path filters

B.

batch changes

C.

scheduled builds

D.

branch filters

Buy Now
Questions 14

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

Which command should you run?

Options:

A.

git push

B.

git merge --squash

C.

git merge --allow-unrelated-histories

D.

git rebase

Buy Now
Questions 15

You need to configure Azure Pipelines to control App2 builds.

Which authentication method should you use?

Options:

A.

Windows NTLM

B.

certificate

C.

SAML

D.

personal access token (PAT)

Buy Now
Questions 16

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 16

Options:

Buy Now
Questions 17

You are configuring the Azure DevOps dashboard. The solution must meet the technical requirements.

Which widget should you use for each metric? To answer, drag the appropriate widgets to the correct metrics. Each 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 17

Options:

Buy Now
Questions 18

You manage package feeds by using Azure Artifacts.

You plan to create a new package feed that will include the following views:

• @ Local

• ©Latest

• @Release

• ©Prerelease

Which view should you create manually '

Options:

A.

©Prerelease

B.

©Release

C.

©Latest

D.

©Local

Buy Now
Questions 19

You have multiple automated workflows that interact with Azure DevOps and use the following services:

• Azure Command-Line Interface (CLI)

• Azure PowerShell

• Azure Functions

You need to recommend which authentication method to use for each service. The solution must minimize the risk of compromising credentials.

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

NOTE: Each correct selection is worth one point.

AZ-400 Question 19

Options:

Buy Now
Questions 20

Task 2

You need to log all audit events for the Azure DevOps organization in the Log Analytics! Logs Analytics workspace.

Options:

Buy Now
Questions 21

You have an Azure subscription.

You create two Bicep templates named Template1 and Template2 that will be used to create a virtual machine and a website.

You need to create a template named Template3 that will reuse logic from Template1 and Template2.

What should you define first?

Options:

A.

parameters

B.

modules

C.

resources

D.

outputs

Buy Now
Questions 22

You need to create and configure an Azure Storage account named az400lod11566895stor in a resource group named RG1lod11566895 to store the boot diagnostics for a virtual machine named VM1.

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

Options:

Buy Now
Questions 23

You have an Azure Pipelines pipeline named Pipeline1 that has the following YAML definition.

AZ-400 Question 23

For each of the following statements, select Yes if True. Otherwise select No.

NOTE: Each correct selection is worth one point.

AZ-400 Question 23

Options:

Buy Now
Questions 24

Task 7

You need to prepare a network security group (NSG) named az400 38443478 nsgl to host an Azure DevOps pipeline agent. The solution must allow only the required outbound port for Azure DevOps and deny all other inbound and outbound access to the Internet

Options:

Buy Now
Questions 25

You need to prepare a network security group (NSG) named az400-9940427-nsg1 to host an Azure DevOps pipeline agent. The solution must allow only the required outbound port for Azure DevOps and deny all other inbound and outbound access to the Internet.

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

Options:

Buy Now
Questions 26

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.

Options:

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.

Buy Now
Questions 27

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.

Options:

Buy Now
Questions 28

You have a GitHub Actions workflow named workflow1 that is used to deploy an app name Appl. You need to ensure that App1 is deployed only when the following conditions are met:

• A pull request is merged to the main branch.

• The change includes a JavaScript file.

Solution. You configure the YAML file of workflow1 to include the following.

AZ-400 Question 28

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 29

You plan to implement a CI/CD strategy for an Azure Web App named az400-11566895-main.

You need to configure a staging environment foraz400-11566895-main.

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

Options:

Buy Now
Questions 30

You plan to deploy a runbook that will create Azure AD user accounts.

You need to ensure that runbooks can run the AzurePowerShell cmdlets for Azure Active Directory.

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

Options:

Buy Now
Questions 31

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?

Options:

A.

git commit --patch

B.

git commit --amend

C.

git status --renames

D.

git restore --patch

Buy Now
Questions 32

You are designing a versioning strategy for Git-based packages

You plan to use a Semantic Versioning (SemVer)-based strategy.

You need to identify when to change the build version.

What should you identify for each scenario? To answer, drag the appropriate versions to the correct scenarios. Each version 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 32

Options:

Buy Now
Questions 33

You need to configure an Azure web app named az400-9940427-main to contain an environmental variable named “MAX_ITEMS”. The environmental variable must have a value of 50.

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

Options:

Buy Now
Questions 34

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 34

Options:

Buy Now
Questions 35

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.

Options:

Buy Now
Questions 36

You manage the Git repository for a large enterprise application.

You need to reduce the data size of the repository.

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

NOTE: Each correct selection is worth one point.

AZ-400 Question 36

Options:

Buy Now
Questions 37

You have a GitHub organization that contains a repository and an organizational secret named DB.Credential. You need to build a workflow that will configure a server by using PowerShell and DB.Credential. How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-400 Question 37

Options:

Buy Now
Questions 38

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.

AZ-400 Question 38

Options:

Buy Now
Questions 39

Task 6

You have an Azure function hosted in an App Service plan named az400-38443478-funct

You need to configure az400 38443478-funcl lo update the functions automatically whenever new code is committedto the main branch of https://githubcom/Azure-Samples/functions-quickstart.

NOTE: Access to GitHub is blocked in the exam environment. Access to GitHub is NOT required to complete the task successfully.

Options:

Buy Now
Questions 40

You have an Azure subscription.

The development department at your company plans to build web apps that will use multiple Azure resources. You need to recommend a development solution that meets the following requirements:

• Provides a development environment for each developer

• Supports the use of custom sandbox environments for testing

• Ensures that the environments can be embedded into CI/CD pipelines

• Minimizes administrative effort

What should you include in the recommendation?

Options:

A.

Azure Virtual Desktop

B.

Windows 365 Cloud PC

C.

Azure Deployment Environments

D.

Microsoft Dev Box

Buy Now
Questions 41

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.

Options:

Buy Now
Questions 42

You have an Azure DevOps organization.

You need to recommend a solution for managing packages. The solution must meet the following requirements:

• Host private packages.

• Publish packages to a feed.

• Support the creation and publishing of new packages.

• Ensure that the package feed can be consumed by Azure DevOps pipelines.

What should you include in the recommendation?

Options:

A.

Azure DevTest Labs

B.

a Git repository in Azure Repos

C.

Azure Container Instances

D.

Azure Artifacts

Buy Now
Questions 43

Task 6

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

For Project 1, you need to implement branch merging restrictions to enable squash merge for all changes merged into the main branch.

Options:

Buy Now
Questions 44

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.

Options:

Buy Now
Questions 45

You need to create a notification if the peak averageresponse time of an Azure web app named az400-9940427-main is more than five seconds when evaluated during a five-minute period. The notification must trigger the “https://contoso.com/notify” webhook.

To complete this task, sign in to the Microsoft Azureportal.

Options:

Buy Now
Questions 46

Task 7

You need to create a pipeline to deploy a Docker image. The commit must be created in a new branch named azure-pipelines.

The pipeline must be created by using the predefined Docker template.

Options:

Buy Now
Questions 47

You have a GitHub Actions workflow named workflow! that is used to deploy an app name Appl. You need to ensure that App1 is deployed only when the following conditions are met:

• A pull request is merged to the main branch.

• The change includes a JavaScript file.

Solution. You configure the YAML file of workflowl to include the following.

AZ-400 Question 47

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 48

You use GitHub Enterprise to manage source code and deployments.

From GitHub Actions, you create a reusable workflow named workflow 1.

You need to ensure that the secrets defined in the calling workflow are passed to workflow1.

What should you include in the YAML file for the calling workflow?

Options:

A.

AZ-400 Question 48 Option 1

B.

48

C.

48

D.

48

Buy Now
Questions 49

Task 12

You need to create a personal access token (PAT) named Token! that has only the following capabilities

• Read write, andmanage code

• Read and execute builds

• Read releases

Token1 must expire in 60 days.

Options:

Buy Now
Questions 50

Task 4

For Project1, you need to create a self-hosted agent pod named Pool1.

All the pipelines in Project1 must have access to Pool1.

Options:

Buy Now
Questions 51

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

Options:

Buy Now
Questions 52

You have a project in Azure DevOps

You build an app named Appl that will be used on devices that run either MacOS, Linux, or Windows.

You need to create an Azure DevOps YAML pipeline to build App1 on the three operating systems. The solution must meet the following requirements:

• Minimize code duplication in the pipeline configuration.

• Minimize maintenance effort.

What should you use?

Options:

A.

a stage template

B.

a variable template

C.

a step template

D.

a job template

Buy Now
Questions 53

You have an Azure functionhosted 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.

Options:

Buy Now
Questions 54

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 54

Options:

Buy Now
Questions 55

You need to implement Project4.

What should you do first?

Options:

A.

Add the FROM instruction in the Dockerfile file.

B.

Add a 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.

Buy Now
Questions 56

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?

Options:

A.

Run the Register-AzureRmAutomationDscNode Azure 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).

Buy Now
Questions 57

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 57

Options:

Buy Now
Questions 58

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 them in the correct order.

AZ-400 Question 58

Options:

Buy Now
Questions 59

In Azure DevOps, you create Project3.

You need to meet the requirements of the project.

What should you do first?

Options:

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.

Buy Now
Questions 60

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

NOTE: Each correct selection is worth one point.

AZ-400 Question 60

Options:

Buy Now
Questions 61

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 61

Options:

Buy Now
Questions 62

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 format the export?

Options:

A.

NDF

B.

MDF

C.

BACPAC

D.

DACPAC

Buy Now
Questions 63

You need !0 the merge the POC branch into the default branch. The solution must meet the technical requirements. Which command should you run?

Options:

A.

it push

B.

git merge -- allow-unrelated-histories

C.

git rebase

D.

git merge --squash

Buy Now
Questions 64

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

What should you use?

Options:

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)

Buy Now
Questions 65

You need to meet the technical requirements for monitoring App1.

What should you use?

Options:

A.

Splunk

B.

Azure Application Insights

C.

Azure Advisor

D.

App Service logs

Buy Now
Questions 66

You need to configure authentication for App1. The solution must support the planned changes.

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

AZ-400 Question 66

Options:

Buy Now
Questions 67

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

What should you use?

Options:

A.

git clone

B.

GitHub Importer

C.

Import repository in Azure Repos

D.

git-tfs

Buy Now
Questions 68

You need to replace the existing DevOps tools to support the planned changes.

What should you use? To answer, drag the appropriate tools to the correct targets. Each 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 view content.

NOTE: Each correct selection is worth one point.

AZ-400 Question 68

Options:

Buy Now
Questions 69

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

Options:

A.

a trigger

B.

a pre deployment approval

C.

a post-deployment approval

D.

a deployment gate

Buy Now
Questions 70

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.

AZ-400 Question 70

Options:

Buy Now
Questions 71

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 71

Options:

Buy Now
Questions 72

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.

AZ-400 Question 72

Options:

Buy Now
Questions 73

You have a project in Azure DevOps named Project1. Project1 contains a published wiki.

You need to change the order of pages in the navigation pane of the published wiki in the Azure DevOps portal.

What should you do?

Options:

A.

At the root of the wiki, create a file named order that defines the page hierarchy.

B.

At the root of the wiki, create a file named wiki.md that defines the page hierarchy.

C.

Rename the pages in the navigation pane.

D.

Drag and drop the pages in the navigation pane.

Buy Now
Questions 74

You have 50 Node.js-based projects that you scan by using WhiteSource. Each project includes Package.json, Package-lock.json, and Npm-shrinkwrap.json files.

You need to minimize the number of libraries reports by WhiteSource to only the libraries that you explicitly reference.

What should you do?

Options:

A.

Configure the File System Agent plug in.

B.

Delete Package lock.json.

C.

Configure the Artifactory plug-in.

D.

Add a devDependencies section to Package-lock.json.

Buy Now
Exam Code: AZ-400
Exam Name: Microsoft Azure DevOps Solutions
Last Update: May 5, 2026
Questions: 609

PDF + Testing Engine

$65.27  $186.49

Testing Engine

$52.32  $149.49
buy now AZ-400 testing engine

PDF (Q&A)

$48.12  $137.49
buy now AZ-400 pdf