Labour Day Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtreat

AZ-400 Microsoft Azure DevOps Solutions Questions and Answers

Questions 4

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:

Buy Now
Questions 5

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:

Buy Now
Questions 6

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

Options:

A.

a trigger

B.

a pre deployment approval

C.

a post-deployment approval

D.

a deployment gate

Buy Now
Questions 7

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: Add a code coverage step to the build pipelines.

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 8

Note: This question is part of * 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 sett might have more than one correct solution, while others might not have a correct solution.

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

You have an approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.

You have a poky stating that approvals must occur within eighthour.

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

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

Solution: From Post-deployment conditions, you modify the Time between re-evaluation of gates option.

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 9

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

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 Monitor, create an action group.

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 10

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

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

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

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

Solution: You recommend increasing the code duplication.

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 11

You have an Azure function hosted in an App Service plan named az400-9940427-func1.

You need to configure az400-9940427-func1 to upgrade the functions automatically whenever new code is committed to the master branch of https://github.com/Azure-Samples/functions-quickstart.

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

Options:

Buy Now
Questions 12

Your company implements an Agile development methodology.

You plan to implement retrospectives at the end of each sprint.

Which three questions should you include? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Who performed well?

B.

Who should have performed better?

C.

What could have gone better?

D.

What went well?

E.

What should we try next?

Buy Now
Questions 13

You have an Azure Repos Git repository named repo1.

You need to ensure that you can authenticate to repo1 by using SSH.

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:

Buy Now
Questions 14

You manage the Git repository for a large enterprise application.

You need to minimize 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:

Buy Now
Questions 15

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:

Buy Now
Questions 16

You mc configuring Azure DevOps build pipelines.

You plan to use hosted build agents.

Which build agent pool should you use to compile each application type? To answer, drag the appropriate built agent pools to the correct application types. Each butt agent pool 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:

Buy Now
Questions 17

You have an Azure DevOps project named Project1 and an Azure subscription named Sub1.

You need to prevent releases from being deployed unless the releases comply with the Azure Policy rules assigned to Sub1.

What should you do in the release pipeline of Project1?

Options:

A.

Create a pipeline variable.

B.

Add a deployment gate.

C.

Configure a deployment trigger.

D.

Modify the Deployment queue settings.

Buy Now
Questions 18

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:

Buy Now
Questions 19

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:

Buy Now
Questions 20

You add the virtual machines as managed nodes in Azure Automation State Configuration.

You need to configure the computer in Group7.

What should you do?

Options:

A.

Run the Register-AzureRmAutomationDscNode Azure Powershell cmdlet.

B.

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

C.

Install PowerShell Core.

D.

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

Buy Now
Questions 21

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:

Buy Now
Questions 22

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:

Buy Now
Questions 23

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

Which command should you run?

Options:

A.

git push

B.

git merge --squash

C.

git merge --allow-unrelated-histories

D.

git rebase

Buy Now
Questions 24

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:

Buy Now
Questions 25

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:

Buy Now
Questions 26

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:

Buy Now
Questions 27

You need to implement Project4.

What should you do first?

Options:

A.

Add the FROM instruction in the Dockerfile file.

B.

Add a Copy and Publish Build Artifacts task to the build pipeline.

C.

Add a Docker task to the build pipeline.

D.

Add the MAINTAINER instruction in the Dockerfile file.

Buy Now
Questions 28

In Azure DevOps, you create Project3.

You need to meet the requirements of the project.

What should you do first?

Options:

A.

From Azure DevOps, create a service endpoint.

B.

From Sonar Qube, obtain an authentication token.

C.

From Azure DevOps, modify the build definition.

D.

From Sonar Qube , create a project.

Buy Now
Questions 29

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:

Buy Now
Questions 30

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

Options:

A.

NDF

B.

MDF

C.

BACPAC

D.

DACPAC

Buy Now
Questions 31

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:

Buy Now
Questions 32

You need to meet the technical requirements for monitoring App1.

What should you use?

Options:

A.

Splunk

B.

Azure Application Insights

C.

Azure Advisor

D.

App Service logs

Buy Now
Questions 33

You need to configure Azure Pipelines to control App2 builds.

Which authentication method should you use?

Options:

A.

Windows NTLM

B.

certificate

C.

SAML

D.

personal access token (PAT)

Buy Now
Questions 34

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

Options:

A.

it push

B.

git merge -- allow-unrelated-histories

C.

git rebase

D.

git merge --squash

Buy Now
Questions 35

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:

Buy Now
Questions 36

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

What should you use?

Options:

A.

git clone

B.

GitHub Importer

C.

Import repository in Azure Repos

D.

git-tfs

Buy Now
Questions 37

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:

Buy Now
Questions 38

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

What should you use?

Options:

A.

Azure Multi-Factor Authentication (MFA)

B.

on-premises firewall rules

C.

conditional access policies in Azure AD

D.

Azure role-based access control (Azure RBAC)

Buy Now
Questions 39

You plan to deploy a website that will be hosted in two Azure regions.

You need to create an Azure Traffic Manager profile named az40011566895n1-tm in a resource group named RG1lod11566895. The solution must ensure that users will always connect to a copy of the website that is in the same country.

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

Options:

Buy Now
Questions 40

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 integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.

You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.

Solution: You create a service hook subscription that uses the build completed event

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 41

You have an on-premises app named App1 that accesses Azure resources by using credentials stored in a configuration file.

You plan to upgrade App1 to use an Azure service principal.

What is required for App1 to programmatically sign in to Azure Active Directory (Azure AD)?

Options:

A.

the application ID, a client secret, and the object ID

B.

a client secret, the object ID, and the tenant ID

C.

the application ID, a client secret, and the tenant ID

D.

the application ID, a client secret, and the subscription ID

Buy Now
Questions 42

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

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

Buy Now
Questions 43

Your company uses Azure DevOps for the build pipelines and deployment pipelines of Java based projects. You need to recommend a strategy for managing technical debt.

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

NOTE: Each correct selection is worth one point.

Options:

A.

Integrate Azure DevOps and SonarQube.

B.

Integrates Azure DevelOPs and Azure DevTest Labs.

C.

Configure post-deployment approvals in the deployment pipeline.

D.

Configure pre-deployment approvals in the deployment pipeline.

Buy Now
Questions 44

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.

Chef

B.

Gradle

C.

Octopus

D.

Gulp

Buy Now
Questions 45

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

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

You need to implement static code analysis.

During which phase should you use static code analysis?

Options:

A.

build

B.

production release

C.

staging

D.

integration testing

Buy Now
Questions 46

You have an Azure subscription that uses Azure Automation State Configuration to manage the configuration of virtual machines.

You need to identify which nodes are noncompliant.

How should you complete the query? 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:

Buy Now
Questions 47

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

You perform changes to code as shown in the following table.

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 to view content.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 48

You are building an application that has the following assets:

  • Source code
  • Logs from automated tests and builds
  • Large and frequently updated binary assets
  • A common library used by multiple applications

Where should you store each asset? To answer, drag the appropriate Azure services to the correct assets. Each service may be used once. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 49

You use GitHub for source control and project-related discussions.

You receive a notification when an entry is made to any team discussion.

You need to ensure that you receive email notifications only for discussions in which you commented or in which you are mentioned.

Which two Notifications settings should you clear? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Options:

A.

Participating

B.

Automatically watch repositories

C.

Automatically watch teams

D.

Watching

Buy Now
Questions 50

You manage source code control and versioning by using GitHub.

A large file it committed to a repository accidentally.

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

What should you use?

Options:

A.

bfg

B.

1fs

C.

gvfs

D.

init

Buy Now
Questions 51

You have a project in Azure DevOps named Project1. Project! contains a pipeline that builds a container image named Image! and pushes Image1 to an Azure container registry named ACR1. Image! uses a base image stored in Docker Hub.

You need to ensure that Image1 is updated automatically whenever the base image is updated.

What should you do?

Options:

A.

Create and run an Azure Container Registry task.

B.

Add a Docker Hub service connection to Azure Pipelines.

C.

Enable the Azure Event Grid resource provider and subscribe to registry events.

D.

Create a service hook in Project1.

Buy Now
Questions 52

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 automated security testing.

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 53

You are planning projects for three customers. Each customer’s preferred process for work items is shown in the following table.

The customers all plan to use Azure DevOps for work item management.

Which work item process should you use for each customer? To answer, drag the appropriate work item process to the correct customers. Each work item process 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:

Buy Now
Questions 54

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

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

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

You use a Git repository for applications source control.

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

Solution: You implement a pull request strategy that uses fast-forward merges.

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 55

Your company uses GitHub for source control. GitHub repositories store source code and store process documentation. The process documentation is saved as Microsoft Word documents that contain simple flow charts stored as .bmp files.

You need to optimize the integration and versioning of the process documentation and the flow charts. The solution must meet the following requirements:

• Store documents as plain text.

• Minimize the number of files that must be maintained.

• Simplify the modification, merging, and reuse of flow charts.

• Simplify the modification, merging, and reuse of documents.

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

Options:

Buy Now
Questions 56

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

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

Buy Now
Questions 57

You have an Azure Repos repository that contains large PSD files. You need to configure Get LFS to manage all the files.

How should you complete the script? 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:

Buy Now
Questions 58

You need to create a virtual machine template in an Azure DevTest Labs environment named az400-9940427-dtl1. The template must be based on Windows Server 2016 Datacenter. Virtual machines created from the template must include the selenium tool and the Google Chrome browser.

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

Options:

Buy Now
Questions 59

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 device compliance 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.

Buy Now
Questions 60

You have an Azure DevOps organization named Contoso.

You need 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.

Buy Now
Questions 61

You have an app named App1 that you release by using Azure Pipelines. App1 has the versions shown in the following table.

You complete a code change to fix a bug that was introduced in version 3.4.3.

Which version number should you assign to the release?

Options:

A.

3.4.4

B.

3.4.8

C.

3.5.0

D.

4.0.1

Buy Now
Questions 62

You have a build pipeline in Azure Pipelines.

You create a Slack App Integration.

You need to send build notifications to a Slack channel named #Development.

What should you do first?

Options:

A.

Configure a service connection.

B.

Create a service hook subscription.

C.

Create a project-level notification.

D.

Create a global notification.

Buy Now
Questions 63

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:

Buy Now
Questions 64

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:

Buy Now
Questions 65

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:

Buy Now
Questions 66

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

The build pipeline has continuous integration enabled.

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

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

What should you implement?

Options:

A.

path filters

B.

batch changes

C.

scheduled builds

D.

branch filters

Buy Now
Questions 67

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:

Buy Now
Questions 68

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:

Buy Now
Questions 69

You are using GitHub as a source code repository.

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

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

Which git commit parameter should you use?

Options:

A.

--squash

B.

--no-verify

C.

--message ''

D.

--no-post-rewrite

Buy Now
Questions 70

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

Options:

A.

Change the value of the ConfigurationMode parameter.

B.

Replace the Register-AzureRmAutomationDscNode cmdlet with

Register-AzureRmAutomationScheduledRunbook

C.

Add the AllowModuleOverwrite parameter.

D.

Add the DefaultProfile parameter.

Buy Now
Exam Code: AZ-400
Exam Name: Microsoft Azure DevOps Solutions
Last Update: May 2, 2024
Questions: 459
AZ-400 pdf

AZ-400 PDF

$31.5  $90
AZ-400 Engine

AZ-400 Testing Engine

$36.75  $105
AZ-400 PDF + Engine

AZ-400 PDF + Testing Engine

$49  $140