Black Friday 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

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 4

Options:

Buy Now
Questions 5

You have an Azure subscription that contains Azure DevOps build pipelines.

You to implement pipeline caching by using the cache task

HOW should you complete the YAML definition? TO answer, select the appropriate options in the answer area.

Options:

Buy Now
Questions 6

You have the services shown in the following table.

AZ-400 Question 6

You manage a project by using Azure Boards.

You need to notify the services Of build Status changes.

Which services can be notified by using a web hook?

Options:

A.

Service1 only

B.

Service2 only

C.

Service1 and Service2 only

Buy Now
Questions 7

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?

Options:

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.

Buy Now
Questions 8

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 8

Options:

Buy Now
Questions 9

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 9

Options:

Buy Now
Questions 10

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 11

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 12

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 12

Options:

Buy Now
Questions 13

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 14

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 15

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 16

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 16

Options:

Buy Now
Questions 17

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 17

Options:

Buy Now
Questions 18

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 19

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 20

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 21

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 22

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 22

Options:

Buy Now
Questions 23

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 24

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 25

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 25

Options:

Buy Now
Questions 26

Task 10

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

Options:

Buy Now
Questions 27

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 27

Options:

Buy Now
Questions 28

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 29

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.

AZ-400 Question 29

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 a new branch named starter

Options:

Buy Now
Questions 30

Task 2

For the RG1 lod42147S09 resource group, you need to create an action group named DevOpsAG that can be triggered in any region by using Alerts.

The action group must email two users named admin1 @contoso.com and admin2@contoso.com and notify members of the Owner role for the resource.

Use only the common alert schema for notifying the resource owners.

Options:

Buy Now
Questions 31

Task 1

Navigate to https://dev.azure.com, select Start Free, and specify the following credentials:

• UserUsefl-42147509@ExamUsers.com

• Password: eWrSalD2!

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

You need to add an external user that has an email address of Usfrr2-42147S09@ExamUsers.com as a stakeholder of the User1 -42147509 Azure DevOps organization.

The user must be added to the most restrictive Azure DevOps group.

To complete this task, sign in to the Azure DevOps portal as Userl-42147509©ExamUsers.com.

Options:

Buy Now
Questions 32

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 33

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.

Options:

Buy Now
Questions 34

Task 4

You need to configure a virtual machine template in a DevTest Labs environment named az400-38443478-dtl1. The operating system must be based on Windows Server 2016 Datacenter. Virtual machines created from the DevTest Lab must include the Selenium tool and the Google Chrome browser.

Options:

Buy Now
Questions 35

Task 9

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

serverNane: server1 dbName: db1

Options:

Buy Now
Questions 36

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 37

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 38

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.

Options:

Buy Now
Questions 39

Task 12

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

• Read write, and manage code

• Read and execute builds

• Read releases

Token1 must expire in 60 days.

Options:

Buy Now
Questions 40

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 committed to 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 41

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 by using a system managed identity The solution must use the principle of least privilege.

Options:

Buy Now
Questions 42

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 43

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 44

Task 3

You need to create a new team dashboard named Dashboard1 for the default project team of Project1. The dashboard must display the members of the team

Options:

Buy Now
Questions 45

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.

Options:

Buy Now
Questions 46

You have an application that consists of several Azure App Service web apps and Azure functions.

You need to access the security of the web apps and the functions.

Which Azure features can you use to provide a recommendation for the security of the application?

Options:

A.

Security & Compliance in Azure Log Analytics

B.

Resource health in Azure Service Health

C.

Smart Detection in Azure Application Insights

D.

Compute & apps in Azure Security Center

Buy Now
Questions 47

Your company develops an application named App1 that is deployed in production.

As part of an application update, a new service is being added to App1. The new service requires access to an application named App2 that is currently in development.

You need to ensure that you can deploy the update to App1 before App2 becomes available. You must be able to enable the service in App1 once App2 is deployed.

What should you do?

Options:

A.

Create a branch in the build.

B.

Implement a branch policy.

C.

Create a fork in the build.

D.

Implement a feature flag.

Buy Now
Questions 48

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.

Options:

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.

Buy Now
Questions 49

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.

The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt.

You need to recommend changes to reduce the accumulated technical debt.

Solution: You recommend reducing the code coupling and the dependency cycles?

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 50

You have a web app that connects to an Azure SQL Database named db1.

You need to configure db1 to send Query Store runtime statistics to Azure Log Analytics.

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

Options:

Buy Now
Questions 51

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.

AZ-400 Question 51

Options:

Buy Now
Questions 52

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.

Options:

Buy Now
Questions 53

You have a project in Azure DevOps that contains a release pipeline. The pipeline contains two stages named QA and Prod. QA deploys code to an Azure web app named webapp1. Prod deploys code to an Azure web app named webapp2.

You need to ensure that code deployments to webapp2 are blocked if Azure Application Insights generates Failed requests alerts following the deployment of new code to webapp1.

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

NOTE: Each correct selection is worth one point.

AZ-400 Question 53

Options:

Buy Now
Questions 54

You have an Azure DevOps organization named Contoso.

You have 10 Azure virtual machines that run Windows Server 2019. The virtual machines host an application that you build and deploy by using Azure Pipelines. Each virtual machine has the Web Server (IIS) role installed and configured.

You need to ensure that the web server configurations pin the virtual machines is maintained automatically. The solution must provide centralized management of the configuration settings and minimize management overhead.

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 54

Options:

Buy Now
Questions 55

As part of your application build process, you need to deploy a group of resources to Azure by using an Azure Resource Manager template located on GitHub.

Which three action 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 55

Options:

Buy Now
Questions 56

Note: This question n 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 have a policy stating that approvals must occur within eight hours.

You discover that deployments fail if the approvals lake longer than two hours.

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

Solution: From Pre-deployment conditions, you modify the Timeout setting for pre-deployment approvals.

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 57

You are designing a build pipeline in Azure Pipelines.

The pipeline requires a self-hosted agent. The build pipeline will run once 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?

Options:

A.

Azure virtual machines

B.

an Azure virtual machine scale set

C.

an Azure Kubernetes Service (AKS) cluster

D.

Azure Container Instances

Buy Now
Questions 58

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

Options:

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.

Buy Now
Questions 59

Your company plans to use an agile approach to software development.

You need to recommend an application to provide communication between members of the development team who work in locations around the world. The applications must meet the following requirements:

    Provide the ability to isolate the members of different project teams into separate communication channels and to keep a history of the chats within those channels.

    Be available on Windows 10, Mac OS, iOS, and Android operating systems.

    Provide the ability to add external contractors and suppliers to projects.

    Integrate directly with Azure DevOps.

What should you recommend?

Options:

A.

Microsoft Project

B.

Bamboo

C.

Microsoft Lync

D.

Microsoft Teams

Buy Now
Questions 60

You manage a project by using Azure Boards, and you manage the project code by using Azure Repos. You have a bug work item that has an ID of 123. You need to set the work item state to Resolved. What should you add to the commit message?

Options:

A.

Fixes #123

B.

Resolves #AB-123

C.

#123 completes

D.

#123 Resolved

Buy Now
Questions 61

You have a project in Azure DevOps that uses an Azure Boards board and stores code in a GitHub repository. The repository contains a file named README.md.

You need to ensure that README.md includes the status of the work items on the board. The solution must minimize administrative effort.

What should you do first?

Options:

A.

Enable GitHub annotations for the board.

B.

Install the Azure Boards app for GitHub.

C.

Create a GitHub personal access token (PAT).

D.

Select Allow anonymous users to access the status badge.

Buy Now
Questions 62

You have a project in Azure DevOps named Project1 that contains two environments named environment1 and envkonment2.

When a new version of Project1 is released, the latest version is deployed to environment2, and the previous version is redeployed to environments

You need to distribute users across the environments. The solution must meet the following requirements:

• New releases must be available to only a subset of the users.

• You must gradually increase the number of users that can access environment2.

What should you use?

Options:

A.

web app deployment slots

B.

Azure Traffic Manager

C.

VIP swapping

D.

Azure Load Balancer

Buy Now
Questions 63

You use Get for source control.

You need to optimize the performance of a repository. The solution must meet the following requirements:

    Permanently remove all items referenced only in the ref log.

    Remove history that is NOT in any current branch.

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

AZ-400 Question 63

Options:

Buy Now
Questions 64

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 65

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 66

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 67

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 67

Options:

Buy Now
Questions 68

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 68

Options:

Buy Now
Questions 69

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 69

Options:

Buy Now
Questions 70

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

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 70

Options:

Buy Now
Questions 71

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 71

Options:

Buy Now
Questions 72

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 72

Options:

Buy Now
Questions 73

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 to the answer area and arrange them in the correct order.

AZ-400 Question 73

Options:

Buy Now
Exam Code: AZ-400
Exam Name: Microsoft Azure DevOps Solutions
Last Update: Nov 20, 2024
Questions: 509

PDF + Testing Engine

$61.25  $174.99

Testing Engine

$47.25  $134.99
buy now AZ-400 testing engine

PDF (Q&A)

$40.25  $114.99
buy now AZ-400 pdf