New Year Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

ExamsBrite Dumps

Microsoft Azure DevOps Solutions Question and Answers

Microsoft Azure DevOps Solutions

Last Update Jan 13, 2025
Total Questions : 516

We are offering FREE AZ-400 Microsoft exam questions. All you do is to just go and sign up. Give your details, prepare AZ-400 free exam questions and then go for complete pool of Microsoft Azure DevOps Solutions test questions that will help you more.

AZ-400 pdf

AZ-400 PDF

$40.25  $114.99
AZ-400 Engine

AZ-400 Testing Engine

$47.25  $134.99
AZ-400 PDF + Engine

AZ-400 PDF + Testing Engine

$61.25  $174.99
Questions 1

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

Discussion 0
Questions 2

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:

Discussion 0
Questions 3

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:

Discussion 0
Questions 4

Task 8

You need to ensure that the https://contoso.com/statushook webhook is called every time a repository named az40038443478acr 1 receives a new version of an image named dotnetapp

Options:

Discussion 0
Questions 5

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:

Discussion 0
Questions 6

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:

Discussion 0
Questions 7

Task 10

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

Options:

Discussion 0
Questions 8

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:

Discussion 0
Questions 9

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:

Discussion 0
Questions 10

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

Options:

Discussion 0
Questions 11

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:

Discussion 0
Questions 12

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:

Discussion 0
Questions 13

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:

Discussion 0
Questions 14

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:

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

Options:

Discussion 0
Questions 16

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:

Discussion 0
Questions 17

Task 9

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

serverNane: server1 dbName: db1

Options:

Discussion 0
Questions 18

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:

Discussion 0
Questions 19

Task 2

You need to create an instance of Azure Application 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.

Options:

Discussion 0
Questions 20

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:

Discussion 0
Questions 21

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:

Discussion 0
Questions 22

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.

Discussion 0
Questions 23

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.

Options:

Discussion 0
Questions 24

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.

Options:

Discussion 0
Questions 25

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.

Options:

Discussion 0
Questions 26

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.

Discussion 0
Questions 27

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.

Options:

Discussion 0
Questions 28

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.

Options:

Discussion 0
Questions 29

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

Discussion 0
Questions 30

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.

Options:

Discussion 0
Questions 31

You manage build pipelines and deployment pipelines by using Azure DevOps.

Your company has a team of 500 developers. New members are added continual lo the team

You need to automate me management of users and licenses whenever possible

Which task must you perform manually?

Options:

A.  

modifying group memberships

B.  

procuring licenses

C.  

adding users

D.  

assigning entitlements

Discussion 0
Questions 32

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.

Options:

Discussion 0
Questions 33

You have a project in Azure DevOps that uses packages from multiple public feeds. Some of the feeds are unreliable.

You need to consolidate the packages into a single feed.

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.

Options:

Discussion 0
Questions 34

You plan to use 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 is worth one point.

Options:

A.  

Vault

B.  

Terratest

C.  

Node.js

D.  

Yeoman

E.  

Tiller

Discussion 0
Questions 35

Your company develops a client banking application that processes a large volume of data.

Code quality is an ongoing issue for the company. Recently, the code quality has deteriorated because of an increase in time pressure on the development team.

You need to implement static code analysis.

During which phase should you use static code analysis?

Options:

A.  

build

B.  

production release

C.  

staging

D.  

integration testing

Discussion 0
Questions 36

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

    Containers must only be published internally.

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

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 37

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.

Options:

Discussion 0
Questions 38

Your company has a project in Azure DevOps.

You plan to create a release pipeline that will deploy resources by using Azure Resource Manager templates. The templates will reference secrets stored in Azure Key Vault.

You need to recommend a solution for accessing the secrets stored in the key vault during deployments. The solution must use the principle of least privilege.

What should you include in the recommendation? To answer, drag the appropriate configurations to the correct targets. Each configuration 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.

Options:

Discussion 0
Questions 39

Your team uses Azure Pipelines to deploy applications.

You need to ensure that when a failure occurs during the build or release process, all the team members are notified by using Microsoft Teams. The solution must minimize development effort.

What should you do?

Options:

A.  

Install the Azure Boards app for Teams and configure a subscription to receive notifications in a channel.

B.  

Use Azure Automation to connect to the Azure DevOps REST API and notify the team members.

C.  

Use an Azure function to connect to the Azure DevOps REST API and notify the team members.

D.  

Install the Azure Pipelines app for Teams and configure a subscription to receive notifications in a channel.

Discussion 0
Questions 40

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

Does this meet the goal?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 41

You have an application named App1 that has a custom domain of app.contoso.com.

You create a test in Azure Application Insights as shown in the following exhibit.

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 42

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 manage a project in Azure DevOps.

You need to prevent the configuration of the project from changing over time.

Solution: Implement Continuous Integration for the project.

Does this meet the goal?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 43

Your company has an on-premises Bitbucket Server that is used for Git-based source control. The server is protected by a firewall that blocks inbound Internet traffic.

You plan to use Azure DevOps to manage the build and release processes

Which two components are required to integrate Azure DevOps and Bitbucket?

Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one port.

Options:

A.  

an External Git service connection

B.  

a Microsoft hosted agent

C.  

service hooks

D.  

a self- hosted agent

E.  

a deployment M group

Discussion 0
Questions 44

You have a Microsoft ASP.NET Core web app in Azure that is accessed worldwide.

You need to run a URL ping test once every five minutes and create an alert when the web app is unavailable from specific Azure regions. The solution must minimize development time.

What should you do?

Options:

A.  

Create an Azure Monitor Availability metric and alert.

B.  

Create an Azure Application Insights availability test and alert.

C.  

Write an Azure function and deploy the function to the specific regions.

D.  

Create an Azure Service Health alert for the specific regions.

Discussion 0
Questions 45

You are creating a build pipeline in Azure Pipelines.

You define several tests that might fail due to third-party applications.

You need to ensure that the build pipeline completes successfully if the third-party applications are unavailable.

What should you do?

Options:

A.  

Configure the build pipeline to use parallel jobs

B.  

Configure flaky tests

C.  

Increase the test pass percentage

D.  

Add the Requirements quality widget to your dashboard

Discussion 0
Questions 46

Your company uses Team Foundation Server 2013 (TFS 2013).

You plan to migrate to Azure DevOps.

You need to recommend a migration strategy that meets the following requirements:

    Preserves the dates of Team Foundation Version Control changesets

    Preserves the changes dates of work items revisions

    Minimizes migration effort

    Migrates all TFS artifacts

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

NOTE: Each correct selection is worth one point.

Options:

Discussion 0
Questions 47

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 Microsoft-hosted agent pool running a Linux image. Include the Java Tool Installer task in the build pipeline.

Does this meet the goal?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 48

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.

Your company uses Azure DevOps to manage the build and release processes for applications.

You use a Git repository for applications source control.

You need to implement a pull request strategy that reduces the history volume in the master branch.

Solution: You implement a pull request strategy that uses an explicit merge.

Does this meet the goal?

Options:

A.  

Yes

B.  

No

Discussion 0
Questions 49

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

Discussion 0
Questions 50

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.

Options:

Discussion 0
Questions 51

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

Discussion 0
Questions 52

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.

Options:

Discussion 0
Questions 53

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.

Options:

Discussion 0
Questions 54

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.

Discussion 0
Questions 55

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

Discussion 0
Questions 56

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.

Options:

Discussion 0
Questions 57

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.

Options:

Discussion 0
Questions 58

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

Discussion 0
Questions 59

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.

Options:

Discussion 0
Questions 60

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

Discussion 0
Questions 61

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.

Options:

Discussion 0
Questions 62

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.

Options:

Discussion 0