Weekend Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Microsoft AZ-400 Microsoft Azure DevOps Solutions Exam Practice Test

Demo: 190 questions
Total 559 questions

Microsoft Azure DevOps Solutions Questions and Answers

Question 1

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 2

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

NOTE: Each correct selectionis worth one point.

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

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

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

Options:

Question 5

You need to implement Project4.

What should you do first?

Options:

A.

Add the FROM instruction in the Dockerfile file.

B.

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

C.

Add a Docker task to the build pipeline.

D.

Add the MAINTAINER instruction in the Dockerfile file.

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

Options:

Question 8

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

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

Options:

Question 9

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 10

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-AzureRmAutomationDscNodeAzure Powershell cmdlet.

B.

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

C.

Install PowerShell Core.

D.

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

Question 11

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 userthat 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 asUserl-42147509©ExamUsers.com.

Options:

Question 12

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.

Options:

Question 13

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:

Question 14

You have an Azure DevOps pipeline named Pipeline1.

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

Which metric should you use?

Options:

A.

test pass rate

B.

deployment frequency (DT)

C.

lead time for changes (LT)

D.

time to detect (TTD)

Question 15

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 16

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 17

You are designing a build and release pipeline.

You need to implement continuous integration and continuous delivery (CI/CD) for the pipeline

Which automated activities should you include in the pipeline?

Options:

A.

unit tests, integration tests, and acceptance tests

B.

functional tests, production tests, and production release

C.

functional tests, regression tests, and formal assessments

D.

unit tests, production release, and production deployment

Question 18

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:

Question 19

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:

Question 20

Task 11

You need to create a new artifact feed named artifact_feed.

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

Options:

Question 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

Question 22

Task 8

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

Options:

Question 23

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:

Question 24

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:

Question 25

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:

Question 26

Task 12

In Project 1. you need to ensure that you can add the following iterations to items added tc Az-fe Ecards:

• Sprint 1

• Sprint 2

• Sprint 3

Sprint 3 must have a start date of January 1 of next year and an end date of Januan / 31 of next year.

Options:

Question 27

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 28

You need to create a notification if the peak average response 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 Azure portal.

Options:

Question 29

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 https://github.com/contoso/afeed.

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 30

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:

Question 31

Task 3

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

You need to protect the main branch of the Project l repository to ensure that all changes are processed by using a pull request that has traceability to a work item.

Options:

Question 32

Task 5

You need to create an instance of Azure App Configuration and a feature flag named feature 1. Feature1 must be enabled and must expire in one week.

Options:

Question 33

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:

Question 34

You have an Azure subscription that contains an Azure Kubernetes Service (AKS) instance named AKS1. You collect and analyze metrics for AKS1 by using the Azure Monitor managed service for Prometheus. You need to analyze the performance of AKS1.

Which query language should you use?

Options:

A.

PromQL

B.

KQL

C.

PL/SQL

D.

SparkQL

Question 35

You are automating the build process for a Java-based application by using Azure DevOps.

You need to add code coverage testing and publish the outcomes to the pipeline.

What should you use?

Options:

A.

Cobertura

B.

Bullseye Coverage

C.

MSTest

D.

Coverlet

Question 36

You have an existing build pipeline in Azure Pipelines.

You needto use incremental builds without purging the environment between pipeline executions.

What should you use?

Options:

A.

a File Transform task

B.

a self-hosted agent

C.

Microsoft-hosted parallel jobs

Question 37

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 pipeline that is used to deploy a web app. The pipeline includes a test suite named TestSuite1. TestSuite1 is used to validate the operations of the web app.

TestSuite1 fails intermittently.

You identify that the failures are unrelated to changes in the source code and execution environment.

You need to minimize troubleshooting effort for the TestSuite1 failures.

Solution: You implement the Test Results Trend widget.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 38

Note: This question is part of a series of questions that presentthe 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 increasing the test coverage.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 39

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

For each of the following statements, select Yes if the statement is true, otherwise select No.

NOTE: Each correct selection is worth one point.

Options:

Question 40

You have an Azure DevOps organization named Contoso and an Azure DevOps project namedProject1.

You plan to use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline in Project1.

What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool?Each

correct answer presents a complete solution.

NOTE:Each correct selection is worth one point.

Options:

A.

vs2017-win2016

B.

ubuntu-16.04

C.

win1803

D.

macOS-10.13

E.

vs.2015-win2012r2

Question 41

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 createan 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 andalert.

C.

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

D.

Create an Azure Service Health alert for the specific regions.

Question 42

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

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 43

You have several Azure Active Directory (Azure AD) accounts.

You need to ensure that users use multi-factor authentication (MFA) to access Azure apps from untrusted networks.

What should you configure in Azure AD?

Options:

A.

access reviews

B.

managed identities

C.

entitlement management

D.

conditional access

Question 44

You have an Azure solution that contains a build pipeline in Azure Pipelines. You experience intermittent delays before the build pipeline starts. You need to reduce the time it takes to start the build pipeline. What should you do?

Options:

A.

Split the build pipeline into multiple stages.

B.

Purchase an additional parallel job.

C.

Create a new agent pool.

D.

Enable self-hosted build agents.

Question 45

You have a project in Azure DevOps.

You need to push notificationsaboutpullrequests to a Microsoft Teams channel. The solution must minimize development effort.

What shouldyou do?

Options:

A.

Install the Azure Repos app for teams and configure a subscription to receive notifications in the channel.

B.

Use AzureAutomation to connect to the Azure DevOps REST API and send messages to Teams.

C.

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

D.

Use an Azure function to connect to the Azure DevOps RESTAPI and send messages to Teams.

Question 46

You are creating a dashboard in Azure Boards.

You need to visualize the time from when work starts on a work item until the work item is closed.

Which type of widget should you use?

Options:

A.

cycle time

B.

velocity

C.

cumulative flow

D.

lead time

Question 47

You are defining release strategies for two applications as shown in the following table.

Which releasestrategy should you use for each application? To answer, drag the appropriate release strategies to the correct applications. Each release strategy may be used once, more than once, or not at all. You may need to drag the split bar between panes or scrollto view content.

NOTE:Each correct selection is worth one point.

Options:

Question 48

You have an Azure subscription that contains a Log Analytics workspace named WS1 and a virtual machine named VM1.

You need to install the Microsoft Enterprise Cloud Monitoring extension on VM1.

Which two values are required to configure the extension? Each correct answer presents part of the solution.

NOTE: Each correct answeris worth one point.

Options:

A.

the secret key of WS1

B.

the ID of the subscription

C.

the system-assigned managed identity of VM1

D.

thelDofWS1

E.

the resource ID of VM1

Question 49

Your company has a hybrid cloud between Azure and Azure Stack.

The company uses Azure DevOps for its CI/CD pipelines. Some applications are built by using Erlang and Hack.

You need to ensure that Erlang and Hack are supported as part of the build strategy across the hybrid cloud. The solution must minimize management overhead.

What should you use to execute the build pipeline?

Options:

A.

AzureDevOps self-hosted agents on Azure DevTest Labs virtual machines.

B.

AzureDevOpsself-hosted agents on virtual machine that run on Azure Stack

C.

AzureDevOps self-hosted agents on Hyper-V virtual machines

D.

a Microsoft-hosted agent

Question 50

You use Semantic Versioning (Sem Ver) as a dependency versioning strategy.

You perform changes to code as shown in the followingtable.

Which part of the version should you increment for each change? To answer, drag the appropriate parts to the correct changes. Each part may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll toview content.

NOTE: Each correct selection is worth one point.

Options:

Question 51

You have a project in Azure DevOps named Project1.

You need to ensure that all new pipelines in Project1 execute three specific tasks during pipeline execution.

What should you create?

Options:

A.

a task group

B.

a JSONtemplate

C.

a YAML template

D.

a PowerShell task

Question 52

You have an Azure DevOps organization named Contoso.

Youneed to receive Microsoft Teams notifications when work items are updated.

What should you do?

Options:

A.

From Azure DevOps. configure a service hook subscription.

B.

From Microsoft Teams, configure a connector.

C.

From Microsoft Teams, add a channel.

D.

From Azure DevOps. install an extension.

E.

From the Microsoft Teams admin center configure external access.

Question 53

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You plan to update the Azure DevOps strategy of your company.

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

Licensing violations

Prohibited libraries

Solution: You implement pre-deployment gates.

Does this meet thegoal?

Options:

A.

Yes

B.

No

Question 54

You have a project in Azure DevOps named Project1 that references an Azure Artifacts feed named Feed1. You have a package named Package1 that has the versions shown in the following table.

You need to perform a buildof Project1. Which version of Package1 will be used?

Options:

A.

1.0.3

B.

1.4.0

C.

2.0.0

D.

2.3.1

Question 55

Your company plans to use an agile approach to software development

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

• Provide the ability to isolate the members of efferent 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 directlywith Azure DevOps.

What should you recommend?

Options:

A.

Octopus

B.

Bamboo

C.

Microsoft Project

D.

Slack

Question 56

You have an Azure DevOps organization named Contoso and anAzure subscription.

You use Azure DevOps to build and deploy a web app named App1. Azure Monitor is configured to generate an email notification in response to alerts generated whenever App1 generates a server-side error.

You need to receive notificationsin Microsoft Teams whenever an Azure Monitor alert is generated.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Create an Azure logic app that has an HTTP request trigger.

B.

Modify the Diagnostics settings in Azure Monitor.

C.

Modify an action group in Azure Monitor.

D.

Create an Azure Monitor workbook.

E.

Create an Azure logic app that has an Azure DevOps trigger.

Question 57

During a code review, you discover many quality issues. Many modulescontain unused variables and empty catch Modes. You need to recommend a solution to improve the quality o' the code. What should you recommend?

Options:

A.

In a Gradle build task, select Run Checkstyle.

B.

In an Xcode build task, select Use xcpretty from Advanced

C.

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

D.

In a Maven build task, select Run PMD.

Question 58

You are developing an iOS application by using Azure DevOps.

You need to test the application manually on 10 devices without releasing the application to the public.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE:Each correct selection is worth one point.

Options:

A.

Create a Microsoft Intune devicecompliance policy.

B.

Deploy a certificate from an internal certification authority (CA) to each device.

C.

Register the application in the iTunes store.

D.

Onboard the devices into Microsoft Intune.

E.

Distribute a new release of the application.

F.

Register the IDs of the devices in the Apple Developer portal.

Question 59

You have an app named App1. Youhave a Log Analytics workspace named Workspace 1 that contains two tables named Events and Logs. App1 manages events in multiple locations and writes togs to Workspace1.

You need to query Workspace1 for all log entries related to Asia that occurred duringthe last two days.

In which order should you arrange the query statements? To answer, move all statements from the let of statements to the answer area and arrange them in the correct order.

Options:

Question 60

You have an Azure subscription.

You need to create a storage account by using a Bicep file.

How should you complete the file? To answer, select the appropriateoptions in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Question 61

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

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

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

Options:

Question 62

You need to use an Azure Pipelines pipeline to build and test an app and test the database of the app. The solution must meet the following requirements.

• Thetest stages must be run in parallel.

• The Publish_Test_Results stage must always be run.

• The test stages must be run after successful completion of the build stage.

• The Publish_Test_Results stage must be run after completion of all the test stages

Solution: You include the following elements in the YAML definition of the pipeline.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 63

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You manage a project in Azure DevOps.

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

Solution: Perform a Subscription Health scan when packages are created.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 64

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 AzurePipelines. 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:

Question 65

Your company has an Azure subscription named Subscription1. Subscription1 is associated to an Azure Active Directory tenant named contoso.com.

You need to provision an Azure Kubernetes Services (AKS) cluster in Subscription1 and set the permissions for the cluster by using RBAC roles that reference the identities in contoso.com.

Which three objects should you create in sequence? To answer, move the appropriate objects from the list of objectsto the answer area and arrange them in the correct order.

Options:

Question 66

You have an Azure subscription that contains multiple Azure pipelines.

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

• Parse togs from multiple sources

• Identify the root cause of issues.

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

Options:

A.

synthetic monitoring

B.

Alert Management

C.

analytics

D.

directed monitoring

Question 67

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

Question 68

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 approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.

You haw a pokey stating that approvals must occur within eight hours.

You discover that deployments only if the approvals take longer than two hours.

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

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

Does this meet the goal?

Options:

A.

Yes

B.

NO

Question 69

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

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

Options:

Question 70

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

NOTE:Each correct selection is worth one point.

Options:

Question 71

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

Options:

A.

Change the value of theConfigurationModeparameter.

B.

Replace theRegister-AzureRmAutomationDscNodecmdlet withRegister-AzureRmAutomationScheduledRunbook

C.

Add theAllowModuleOverwriteparameter.

D.

Add theDefaultProfileparameter.

Question 72

HOTSPOT

You are using PowerShell to administer Azure Log Analytics workspaces.

You need to list the available workspaces and their properties.

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

NOTE: Each correct selection is worth one point.

Options:

Question 73

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 74

You have a project in Azure DevOps.

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

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

NOTE: Each correct selection is worth onepoint.

Options:

A.

authorization credentials

B.

the project name

C.

the deployment group name

D.

the organization URL

E.

the agent pool name

Question 75

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 76

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 77

HOTSPOT

You have an Azure virtual machine named VM1 that runs Linux.

You plan to deploy the Desired State Configuration (DSC) extension to VM1.

You need to grant the Log Analytics agent the appropriate directory permissions.

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

NOTE: Each correct selection is worth onepoint.

Options:

Question 78

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 79

You are using GitHub asa source code repository.

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

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

Which git commit parameter shouldyou use?

Options:

A.

--squash

B.

--no-verify

C.

--message ''

D.

--no-post-rewrite

Question 80

What should you use to implementthe 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 81

ION NO: 7

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

The build pipeline has continuous integration enabled.

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

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

What should you implement?

Options:

A.

path filters

B.

batch changes

C.

scheduled builds

D.

branch filters

Question 82

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

NOTE: Eachcorrect selection is worth one point.

Options:

Question 83

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 widgetmay 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 84

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 85

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 86

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 87

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 88

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

Options:

A.

NDF

B.

MDF

C.

BACPAC

D.

DACPAC

Question 89

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 usedonce, 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 90

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 91

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 92

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 93

You use Get for source control.

You need to commit a 3-G3 ZIP file that contains virtual machines used for testing. The solution must meet the following requirements:

The file must beversioned.

The file must be associated with the corresponding code commits.

Which two actions should you include in the solution? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Store files inAzure Storage and enable blob versions.

B.

Install the Get IFS extension and associate the extension to ZIP files.

C.

Use G Zip to compress the file before committing the file.

D.

Install the get-stash extension and associate the extension to ZIP files.

E.

Install the get-fat extension and associate the extension to ZIP files.

Question 94

You have a project in Azure DevOps named Project1.

You need to ensure that all new pipelines in Project1 execute three specific tasks during pipeline execution.

What should you create?

Options:

A.

a task group

B.

a JSONtemplate

C.

a YAML template

D.

a PowerShell task

Question 95

You have an Azure subscription that contains an Azure key vault named Vault1. an Azure pipeline named Pipeline1, and an Azure SQL database named DB1.

Pipeline1 is used to deploy an app that will authenticate to DB1 by using a password.

You need to store the password in Vault1. The solution must ensure that the password can be accessed by Pipeline1.

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

NOTE: Each correct selection is worth one point.

Options:

Question 96

Your company has 60 developerswho are assigned to four teams. Each team has 15 members.

The company uses an agile development methodology.

You need to structure the work of the development teams so that each team owns their respective work while working together to reach a common goal.

Which parts of the taxonomy should you enable the team to perform autonomously?

Options:

A.

Features and Tasks

B.

Initiatives and Epics

C.

Epics and Features

D.

Stories and Tasks

Question 97

You have several Azure virtual machines that run Windows Server 2019.

You need to identify the distinct event IDs of each virtual machine as shown in the following table.

How should you complete the Azure Monitor query? To answer, drag the appropriate values to the correct locations. Each value may be used once, more than once, or not at all. You may need todrag the split bar between panes or scroll to view content.

Options:

Question 98

You have a GitHub repository.

You plan to use the repository to create a container.

You need to configure GitHub Actions to deploy the container to GitHub Container Registry.

How should you completethe script? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Options:

Question 99

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

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

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

Options:

Question 100

Youhave a GitHub repository that is integrated with Azure Boards Azure Boards has a work item that has the number 715.

You need to ensure that when you commit source code in GitHub, the work item is updated automatically. What should you include in the commit comments?

Options:

A.

@714

B.

=715

C.

the URL of the work item

D.

AB#715

Question 101

You plan to publish build artifacts by using an Azure pipeline.

You need to create an. artifactignore file that meets the following requirements:

• Includes all files in the build output folder and all subfolders

• Excludesfiles that have the .dll extension

What should you include in the file?

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 102

Note: This question is part of a series of questions that presentthe 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 increasing the test coverage.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 103

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

Question 104

Your company plans to use an agile approach to software development

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

• Provide the ability to isolate the members of efferent 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 directlywith Azure DevOps.

What should you recommend?

Options:

A.

Octopus

B.

Bamboo

C.

Microsoft Project

D.

Slack

Question 105

2You have a GitHub repository.

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

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

NOTE: Each correct selection is worth one point.

Options:

A.

Create a branch protection rule for the feature branches.

B.

Create a branch protection rule for the main branch.

C.

Create a LICENSE file.

D.

Require signed commits.

E.

Create a CODEOWNERSfile.

Question 106

You manage an Azure web app that supports an e-commerce website.

You need to increase the logging level when the web app exceeds normal usage patterns. The solution must minimize administrative overhead.

Which two resources should you include in the solution? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

an Azure Monitor alert that has a dynamic threshold

B.

an Azure Automation runbook

C.

an Azure Monitor alert that uses an action group that has an email action

D.

the Azure Monitor autoscale settings

E.

an Azure Monitor alert that has a static threshold

Question 107

You are configuring a release pipeline in Azure DevOps as shown in the exhibit.

Use thedrop-down menus to select the answer choice that answers each question based on the information presented in the graphic.

NOTE:Each correct selection is worth one point.

Options:

Question 108

You are designing the security validation strategy for a project in Azure DevOps.

You need toidentify package dependencies that have known security issues and can be resolved by an

update.

What should you use?

Options:

A.

Octopus Deploy

B.

Jenkins

C.

Gradle

D.

SonarQube

Question 109

You have an Azure subscription that contains an Azure container registry. The container registry contains an ACR Tasks task namedTask1. Task1 is configured to run once every five days.

You need to trigger Task1 to run immediately.

Which command should you run?

Options:

A.

az acr build

B.

az acr task run

C.

az acr run

D.

az acr taskrun

Question 110

You manage source code control and versioning by using GitHub.

A large file it committed to arepository accidentally.

You need to reduce the sizeof the repository. The solution must remove the file from the repository.

What should you use?

Options:

A.

bfg

B.

1fs

C.

gvfs

D.

init

Question 111

You use GitHub Enterprise for source control repositories. The repositories store C# code. You need to enable CodeQL scanning for the repositories. What should you do?

Options:

A.

Push a GitHub Actions workflow to all the repositories.

B.

Enable Dependabot security updates.

C.

Enable Dependabot alerts.

D.

Configure a required GitHub Actions workflow for all the repositories.

Question 112

You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. Sub1 contains an AzureSQL database named DB1.

You need to create a release pipeline that uses the Azure SQL Database Deployment task to update DB1.

Which artifact should you deploy?

Options:

A.

a BACPAC

B.

a DACPAC

C.

an LDF file

D.

an MDF file

Question 113

You are deploying a new application that uses Azure virtual machines.

You plan to use the Desired State Configuration (DSC) extension on the virtual machines.

You need to ensure that the virtual machines always have the same Windows features installed.

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 114

You havean Azure subscription that contains the resources shown in the following table.

Project1 produces 9pm packages that are published to Feed 1. Feed1 is consumed by multiple projects.

You need to ensure that only tested packages are available for consumption. The solution must minimize development effort.

What should you do?

Options:

A.

Create a feed view named @default. After the 9pm packages test successfully, configure a release pipeline that promotes a package to the @default view.

B.

Create a feed view named release and set @release as the default view. After the 9pm packages test successfully, configure a release pipeline that promotes a package to the @release View.

C.

Create a feed view named @release and set @release as the default view. After the 9pm packages test successfully, configure a release pipeline that tags the packages as release.

D.

Create a feed view named @default. After the 9pm packages test successfully. configure a release pipeline that tags the packages as release.

Question 115

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will createthe following resources:

Two resource groups

Four Azure virtual machines in one resource group

Two Azure SQL databases in other resource group

You need to recommend a solution to deploy the resources.

Solution: Create two standalone templates, each of which will deploy the resources in its respective group.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 116

You are configuring the settings of a new Git repository in Azure Repos.

You need to ensure that pull requests in a branch meet the following criteria before they are merged:

Committed code must compile successfully.

Pull requests must have a Quality Gate status of Passed in SonarCloud.

Which policy type should you configure for each requirement? To answer, drag the appropriate policy types to the correct requirements. Each policy type 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 117

You use Azure SQL Database Intelligent Insights and Azure Application Insights foe monitoring.

You need to write ad-hoc Queries against the monitoring data.

Which Querylanguage should you use?

Options:

A.

PL/pgSQL

B.

Transact-SQL

C.

Azure Log Analytics

D.

PL/SQL

Question 118

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unit 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 if the review screen.

You use an Azure Pipelines pipeline to build and release web apps.

You need to configure the pipeline to meet the following requirements:

• Only run when there is a change in the/webapp folder.

• Only run when a pr is created.

Solution: You configure the pipeline definition by using the following elements.

Does this meet the goal?

Options:

A.

Yes

B.

No

Question 119

You create an alert rule in Azure Monitor as shown in the following exhibit.

Which action will trigger an alert?

Options:

A.

a failed attempt to delete the ASP-9bb7 resource

B.

a change to a role assignment forthe ASP-9bb7 resource

C.

a successful attempt to delete the ASP-9bb7 resource

D.

a failed attempt to scale up the ASP-9bb7 resource

Question 120

You have an infrastructure as code (laC) solution that is managed by using Bicep files and Azure Pipelines.

You need to ensure that pipeline actions that significantly affect the existing infrastructure are reviewed before they are run.

What should you configure?

Options:

A.

a release pipeline that performs a repository build validation

B.

a branch policy that performs a repository check for comment resolution

C.

a build pipeline with a Bicep file that performs a what-if operation

D.

a build pipeline with a Bicep file that performs a deploy operation

Question 121

You manage build and release pipelines by using Azure DevOps. Your entire managed environment residesin Azure.

You need to configure a service endpoint for accessing Azure Key Vault secrets. The solution must meet the following requirements:

Ensure that the secrets are retrieved by Azure DevOps.

Avoid persisting credentials and tokens in Azure DevOps.

How should you configure the service endpoint? To answer, select the appropriate options in the answer area.

NOTE:Each correct selection is worth one point.

Options:

Question 122

You need to deploy Internet Information Services (IIS) to an Azure virtual machinethat runs Windows Server 2019.

How should you complete the Desired State Configuration (DSQ configuration script? To answer, drag the appropriate values to the correct locations. Each value may be used once, more than once, or not at all. You may need todrag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Options:

Question 123

You have an Azure DevOps organization.

You are designing an automated security and compliance solution that will use GitHub Advanced Security for Azure DevOps.

You need to ensure that security checks and compliance requirements are enforced automatically throughout the development lifecycle.

Which two features should you include in the solution? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

automated approvals

B.

code linting

C.

secret scanning push protection

D.

dependency scanning

E.

pull request annotation scanning

Question 124

You need to ensure that an Azure web app named az400-9940427-main can retrieve secrets from an Azure key vault named az400-9940427-kv1 by using a system managed identity.

Thesolution must use the principle of least privilege.

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

Options:

Question 125

You manage a website that uses an Azure SQL Database named db1 in a resource group named RG1lod11566895.

You need tomodify the SQL database to protect against SQL injection.

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

Options:

Question 126

Task 12

In Project 1. you need to ensure that you can add the following iterations to items added tc Az-fe Ecards:

• Sprint 1

• Sprint 2

• Sprint 3

Sprint 3 must have a start date of January 1 of next year and an end date of Januan / 31 of next year.

Options:

Question 127

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:

Question 128

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 129

Task 8

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

Options:

Question 130

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

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

NOTE: Each correct selection is worth one point.

Options:

Question 131

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 132

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.

Options:

Question 133

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:

Question 134

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 135

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 userthat 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 asUserl-42147509©ExamUsers.com.

Options:

Question 136

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:

Question 137

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.

Options:

Question 138

You are using Agile process methodologies and Azure Boards in Azure DevOps. You import the work items shown in the following table.

You need to categorize the items.

Which state should you assign to each item? To answer, drag the appropriate states to the correct isms. Each state 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 139

You have an Azure subscription that contains an Azure Kubernetes Service (AKS) instance named AKS1. You collect and analyze metrics for AKS1 by using the Azure Monitor managed service for Prometheus. You need to analyze the performance of AKS1.

Which query language should you use?

Options:

A.

PromQL

B.

KQL

C.

PL/SQL

D.

SparkQL

Question 140

You have an Azure DevOps pipeline named Pipeline1.

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

Which metric should you use?

Options:

A.

test pass rate

B.

deployment frequency (DT)

C.

lead time for changes (LT)

D.

time to detect (TTD)

Question 141

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:

Question 142

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 143

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 144

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:

Question 145

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:

Question 146

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:

Question 147

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:

Question 148

You are designing a build and release pipeline.

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

Which types of tests should you include?

Options:

A.

integration, user acceptance, and regression

B.

unit, smoke, and integration

C.

formal acceptance, user acceptance, and smoke

D.

functional, regression, and formal acceptance

Question 149

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:

Question 150

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 151

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:

Question 152

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:

Question 153

Task 9

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

You need to create a pipeline that will execute a .NET Core build task for the src directory.

The pipeline code must be stored in a new branch named azure-pipelinesT.

The pipeline must run automatically when a pull request against the mam branch is created or updated.

Options:

Question 154

Task 5

You need to create an instance of Azure App Configuration and a feature flag named feature 1. Feature1 must be enabled and must expire in one week.

Options:

Question 155

Task 3

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

You need to protect the main branch of the Project l repository to ensure that all changes are processed by using a pull request that has traceability to a work item.

Options:

Question 156

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:

Question 157

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 158

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

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

Options:

Question 159

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

NOTE: Each correct selectionis worth one point.

Options:

Question 160

You need to implement Project4.

What should you do first?

Options:

A.

Add the FROM instruction in the Dockerfile file.

B.

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

C.

Add a Docker task to the build pipeline.

D.

Add the MAINTAINER instruction in the Dockerfile file.

Question 161

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

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

Options:

Question 162

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 163

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 164

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 165

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-AzureRmAutomationDscNodeAzure Powershell cmdlet.

B.

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

C.

Install PowerShell Core.

D.

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

Question 166

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

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

Options:

Question 167

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 168

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 widgetmay 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 169

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 170

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 171

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 172

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 173

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 usedonce, 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 174

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 175

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

Options:

A.

NDF

B.

MDF

C.

BACPAC

D.

DACPAC

Question 176

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 177

HOTSPOT

You have an Azure virtual machine named VM1 that runs Linux.

You plan to deploy the Desired State Configuration (DSC) extension to VM1.

You need to grant the Log Analytics agent the appropriate directory permissions.

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

NOTE: Each correct selection is worth onepoint.

Options:

Question 178

You have a project in Azure DevOps.

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

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

NOTE: Each correct selection is worth onepoint.

Options:

A.

authorization credentials

B.

the project name

C.

the deployment group name

D.

the organization URL

E.

the agent pool name

Question 179

What should you use to implementthe 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 180

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

NOTE:Each correct selection is worth one point.

Options:

Question 181

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 182

ION NO: 7

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

The build pipeline has continuous integration enabled.

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

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

What should you implement?

Options:

A.

path filters

B.

batch changes

C.

scheduled builds

D.

branch filters

Question 183

You are using GitHub asa source code repository.

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

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

Which git commit parameter shouldyou use?

Options:

A.

--squash

B.

--no-verify

C.

--message ''

D.

--no-post-rewrite

Question 184

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

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

Options:

Question 185

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 186

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 187

HOTSPOT

You are using PowerShell to administer Azure Log Analytics workspaces.

You need to list the available workspaces and their properties.

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

NOTE: Each correct selection is worth one point.

Options:

Question 188

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

Options:

A.

Change the value of theConfigurationModeparameter.

B.

Replace theRegister-AzureRmAutomationDscNodecmdlet withRegister-AzureRmAutomationScheduledRunbook

C.

Add theAllowModuleOverwriteparameter.

D.

Add theDefaultProfileparameter.

Question 189

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 190

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

NOTE: Eachcorrect selection is worth one point.

Options:

Demo: 190 questions
Total 559 questions