Summer Certification Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Free and Premium Microsoft AZ-400 Dumps Questions Answers

Page: 1 / 19
Total 628 questions

Microsoft Azure DevOps Solutions Questions and Answers

Question 1

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
Question 2

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:

Question 3

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.

Question 4

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:

Question 5

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

Question 6

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:

Question 7

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:

Question 8

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:

Question 9

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:

Question 10

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:

Question 11

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.

Options:

Question 12

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)

Question 13

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

Question 14

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

Question 15

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.

Options:

Question 16

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)

Question 17

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

Question 18

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

Question 19

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

Question 20

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.

Options:

Question 21

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.

Options:

Question 22

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.

Options:

Question 23

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.

Options:

Question 24

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

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

Options:

Question 25

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:

Question 26

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.

B.

C.

D.

Question 27

SIMULATION

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

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

Options:

Question 28

You have a GitHub repository that contains the code for an app named App1.

App1 depends on a library of functions from a repository at

You need to keep a clone of a feed repository as a subdirectory of the App1 repository.

How should you complete the Git command? 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.

Options:

Question 29

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.

Options:

Question 30

You have a project in Azure DevOps that is used to develop an app named App1.

You need to create a dashboard for App1 to visualize the backlog of the project. The dashboard must contain the following widgets:

• Widget1: Identify team capacity capabilities and show the amount of work each team can complete.

• Widget2: Display how long it takes for a team to complete work items once the team begins working on them.

• Widget3: Display the number of recent changes within the main branch of a repository.

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

NOTE: Each correct selection is worth one point.

Options:

Question 31

You have a 1-TB Azure Repos repository named repol.

You need to clone repol. The solution must meet the following requirements;

• You must be able to search the commit history of the /src directory.

• The amount of time it takes to clone the repository must be minimized

Which command should you run?

Options:

A.

git clone --depth=1 gitpssh.dev.azure.com:v3/org/Projectl/repol

B.

git clone git@ssh.dev.azure.co»:v3/org/Projectl/repol

C.

git clone --filter=blob:none gitpssh.dev.azure.com:v3/org/Projectl/repol

D.

git clone --filter=tree:0 git@ssh.dev.azure.com:v3/org/Projectl/repol

Question 32

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, signin to the Microsoft Azure portal.

Options:

Question 33

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

Question 34

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.

Options:

Question 35

You have a Microsoft Entra tenant named Tenant! that is linked to an Azure subscription named Sub1.

You need to deploy five Azure subscriptions by using a Bicep file. The solution must ensure that the subscriptions are linked to Tenant1.

Which target scope should you use?

Options:

A.

resourceGroup

B.

subscription

C.

tenant

D.

ManagementGroup

Question 36

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.

Options:

Question 37

You have a project in Azure DevOps that contains a pipeline named Pipeline1 and two teams named Team! and Team2.

You need to ensure that only the members of Team1 can update the passwords used in Pipeline1. The solution must meet the following requirements:

• Prevent the members of Team2 from viewing the passwords.

• Minimize administrative effort.

What should you use to store the passwords?

Options:

A.

Azure Key Vault

B.

Azure App Configuration secrets

C.

secret variables

D.

secure files

Question 38

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

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

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

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

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

NOTE: Each correct selection is worth one point.

Options:

Question 39

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:

Question 40

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

Question 41

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

Question 42

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

Question 43

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.

Question 44

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:

Question 45

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:

Question 46

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:

Question 47

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

Question 48

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:

Question 49

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

Question 50

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:

Question 51

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:

Question 52

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:

Question 53

You are evaluating the use of code review assignments in GitHub.

Which two requirements can be met by using code review assignments ' Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point

Options:

A.

Automatically choose and assign reviewers based on a list of available personnel

B.

Automatically choose and assign reviewers based on who has the most completed review requests.

C.

Ensure that each team member reviews an equal number of pull requests during any 30-day period.

D.

Automatically choose and assign reviewers based on who received the least recent review requests.

Question 54

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:

Question 55

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 deve4opment effort.

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

Options:

A.

Send to Log Analytics

B.

Archive to m storage account

C.

Stream to an event hub

Question 56

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:

Question 57

Your company is building a new solution in Java.

The company currently uses a SonarQube server to analyze the code of .NET solutions.

You need to analyze and monitor the code quality of the Java solution.

Which task types should you add to the build pipeline?

Options:

A.

Octopus

B.

Chef

C.

Maven

D.

Grunt

Question 58

You have a public GitHub repository named Public1.

A commit is made to Public1. The commit contains a pattern that matches a regular expression.

Who is notified first when the commit is made?

Options:

A.

the owner of Public1

B.

the secret scanning partner

C.

the committer

D.

the administrator of the GitHub organization

Question 59

You configure an Azure Application Insights availability test.

You need to notify the customer services department at your company by email when availability is degraded.

You create an Azure logic app that will handle the email and follow up actions.

Which type of trigger should you use to invoke the logic app?

Options:

A.

an ApiConnection trigger

B.

a Request trigger

C.

an HTTPWebhook trigger

D.

an HTTP trigger

Question 60

You are integrating an Azure Boards project and a GitHub repository.

You need to authenticate Azure Boards to GitHub.

Which two authentication methods can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Options:

A.

a trusted root certificate

B.

a publisher certificate

C.

Azure Active Directory (Azure AD)

D.

GitHub user credentials

E.

a personal access token (PAT)

Question 61

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# < WORKITEMNUMBER > .

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

NOTE: Each correct selection is worth one point.

Options:

A.

milestone

B.

comment

C.

title

D.

description

E.

label

Question 62

Your company has an Azure subscription.

The company requires that all resource group in the subscription have a tag named organization set to a value of Contoso.

You need to implement a policy to meet the tagging requirement.

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

NOTE: Each correct selection is worth one point.

Options:

Question 63

You need to configure access to Azure DevOps Agent pools to meet the forwarding requirements:

• Use a project agent pool when authoring build release pipelines.

• View the agent pool and agents of the organization.

• Use the principle of least privilege.

Which role memberships are required for the Azure 0e%Oos organization and the project? To answer, drag the appropriate role membership to the correct targets. Each role membership may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to content

NOTE: Each correct selection is worth one point.

Options:

Question 64

You manage code by using GitHub.

You need to ensure that repository owners are notified if a new vulnerable dependency or malware is found in their repository.

What should you do?

Options:

A.

Configure branch protection rules for each repository.

B.

Configure Dependabot alerts.

C.

Configure CodeQL scanning actions.

D.

Subscribe all the repository owners to the GitHub Advisory Database .

Question 65

Your company wants to use Azure Application Insights to understand how user behaviors affect an application.

Which Application Insights tool should you use to analyze each behavior? To answer, drag the appropriate tools to the correct behaviors. 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.

Options:

Question 66

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

Question 67

You have a GitHub repository that contains multiple versions of an Azure Pipelines template. You plan to deploy multiple pipelines that will use a template stored in the repository. You need to ensure that you use a fixed version of the template. What should you use to reference which version of the template repository to use?

Options:

A.

the runner

B.

the branch

C.

the SHA-based hashes

D.

the serial

Question 68

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 use Azure Pipelines to build and test a React js application.

You have a pipeline that has a single job.

You discover thai installing JavaScript packages from npm takes approximately five minutes each time you run the pipeline.

You need to recommend a solution to reduce the pipeline execution time.

Solution: You recommend defining a container job that uses a custom container that has the JavaScript packages preinstalled.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 69

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.

Options:

Question 70

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

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

Options:

Question 71

You have a multi-tier application. The front end of the application is hosted in Azure App Service.

You need to identify the average load times of the application pages.

What should you use?

Options:

A.

Azure Application Insights

B.

the activity log of the App Service

C.

the diagnostics logs of the App Service

D.

Azure Advisor

Question 72

You have an Azure web app named webapp1 that uses the .NET Core runtime stack. You have an Azure Application Insights resource named Applnsight1. Webapp1 sends telemetry data to Applnsights1.

You need to ensure that webapp1 sends the telemetry data at a fixed sampling rate.

What should you do?

Options:

A.

From the code repository of webapp1, modify the Applicationlnsights.config file.

B.

From the code repository of webapp1, modify the Startup.cs file.

C.

From Applnsights1. modify the Usage and estimated costs settings.

D.

From Applnsights1, configure the Continuous export settings.

Question 73

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 have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for auto scaling.

You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1.

You need to ensure that an email alert is generated whenever VMSS1 scales in or out.

Solution: From Azure DevOps, configure the Service hooks settings for Project1.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 74

You are integrating Azure Pipelines and Microsoft Teams.

You install the Azure Pipelines app in Microsoft Teams.

You have an Azure DevOps organization named Contoso that contains a project name Project1.

You subscribe to Project1 in Microsoft Teams.

You need to ensure that you only receive events about failed builds in Microsoft Teams.

What should you do first?

Options:

A.

From Microsoft Teams, tun @azure pipelines subscribe https://dev.azure.com/Contoso/Project1.

B.

From Microsoft Teams, run @azure pipelines subscriptions.

C.

From Azure Pipelines, enable continuous integration for Project1.

D.

From Azure Pipelines, add a Publish Build Artifacts task to Project1.

Question 75

You have a GitHub repository that contains the source code for an app.

You need to identify all the changes made between versions 1.4.16 and 1.6.12 of the source code.

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

NOTE: Each correct selection is worth one point.

Git _________ ____________ | helper-script > changes.txt

Options:

Question 76

You have an Azure Repos repository named Repo1 that is used for source control.

You need to configure code scanning for Repo1.

Which three tasks should the pipeline perform in sequence? Toanswer, move the appropriate tasks from the list of tasks to the answer area and arrange them in the correct order

Options:

Page: 1 / 19
Total 628 questions