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

Practice Free AZ-400 Microsoft Azure DevOps Solutions Exam Questions Answers With Explanation

We at Crack4sure are committed to giving students who are preparing for the Microsoft AZ-400 Exam the most current and reliable questions . To help people study, we've made some of our Microsoft Azure DevOps Solutions exam materials available for free to everyone. You can take the Free AZ-400 Practice Test as many times as you want. The answers to the practice questions are given, and each answer is explained.

Question # 6

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?

A.

--squash

B.

--no-verify

C.

--message ' '

D.

--no-post-rewrite

Question # 7

Where should the build and release agents for the investment planning application suite run? To answer, select the appropriate options in the answer area.

NOTE : Each correct selection is worth one point.

AZ-400 question answer

Question # 8

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.

AZ-400 question answer

Question # 9

How should you complete the code to initialize App Center in the mobile application? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection a worth one point.

AZ-400 question answer

Question # 10

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.

AZ-400 question answer

Question # 11

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.

AZ-400 question answer

Question # 12

You use Azure Pipelines to manage project builds and deployments.

You plan to use Azure Pipelines for Microsoft Teams to notify the legal team when a new build is ready for release. You need to configure the Organization Settings in Azure DevOps to support Azure Pipelines for Microsoft Teams. What should you turn on?

A.

Azure Active Directory Conditional Access Policy Validation

B.

Alternate authentication credentials

C.

Third-party application access via OAuth

D.

SSH authentication

Question # 13

You need to implement Project6.

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

AZ-400 question answer

Question # 14

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

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

AZ-400 question answer

Question # 15

You need to configure Azure Automation for the computer in Group7.

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

AZ-400 question answer

Question # 16

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

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 17

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?

A.

Run the Register-AzureRmAutomationDscNode Azure Powershell cmdlet.

B.

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

C.

Install PowerShell Core.

D.

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

Question # 18

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

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

AZ-400 question answer

Question # 19

You need to implement Project4.

What should you do first?

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.

Question # 20

In Azure DevOps, you create Project3.

You need to meet the requirements of the project.

What should you do first?

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

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

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

What should you do?

A.

Create an Azure Application Insights availability test and alert.

B.

Create an Azure Service Health alert for the specific regions.

C.

Create an Azure Monitor Availability metric and alert

D.

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

Question # 22

Which package feed access levels should be assigned to the Developers and Team Leaders groups for the investment planning applications suite? To answer, drag the appropriate access levels to the correct groups. Each access level may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 23

HOTSPOT

You are using PowerShell to administer Azure Log Analytics workspaces.

You need to list the available workspaces and their properties.

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

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 24

Which branching strategy should you recommend for the investment planning applications suite?

A.

release isolation

B.

main only

C.

development isolation

D.

feature isolation

Question # 25

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

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

AZ-400 question answer

Question # 26

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

A.

Change the value of the ConfigurationMode parameter.

B.

Replace the Register-AzureRmAutomationDscNode cmdlet with

Register-AzureRmAutomationScheduledRunbook

C.

Add the AllowModuleOverwrite parameter.

D.

Add the DefaultProfile parameter.

Question # 27

You have the repositories shown in the following table.

AZ-400 question answer

You need to migrate the contents of the GitHub repository to the Azure Repos repository. The solution must ensure that the Azure Repos repository only contains branches and history from the GitHub repository.

Which three commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.

AZ-400 question answer

Question # 28

You manage build and release pipelines by using Azure DevOps. Your entire managed environment resides in 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.

AZ-400 question answer

Question # 29

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.

AZ-400 question answer

Question # 30

You have a project in Azure DevOps.

You need to push notifications about pull requests to a Microsoft Teams channel. The solution must minimize development effort.

What should you do?

A.

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

B.

Use Azure Automation 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 REST API and send messages to Teams.

Question # 31

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 has a project in Azure DevOps for a new web application.

You need to ensure that when code is checked in, a build runs automatically.

Solution: From the Pre-deployment conditions settings of the release pipeline, you select After stage .

Does this meet the goal?

A.

Yes

B.

No

Question # 32

You have a private distribution group that contains provisioned and unprovisioned devices.

You need to distribute a new iOS application to the distribution group by using Microsoft Visual Studio App Center.

What should you do?

A.

Select Register devices and sign my app .

B.

Generate a new .p12 file for each device.

C.

Create an active subscription in App Center Test.

D.

Add the device owner to the collaborators group.

Question # 33

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?

A.

build

B.

production release

C.

staging

D.

integration testing

Question # 34

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?

A.

Fixes #123

B.

Resolves #AB-123

C.

#123 completes

D.

#123 Resolved

Question # 35

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?

A.

bfg

B.

1fs

C.

gvfs

D.

init

Question # 36

You have an Azure DevOps project that contains a release pipeline and a Git repository.

When a new code revision is committed to the repository, a build and release is triggered.

You need to ensure that release information for the pipeline is added automatically to the work items associated to the Get commit.

What should you do?

A.

Modify the Integrations options for the pipeline.

B.

Modify the post-deployment conditions for the last stage of the pipeline.

C.

Add an agentless job to the pipeline.

D.

Modify the service hooks for the project.

Question # 37

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

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

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

A.

Security & Compliance in Azure Log Analytics

B.

Resource health in Azure Service Health

C.

Smart Detection in Azure Application Insights

D.

Compute & apps in Azure Security Center

Question # 38

You have a project in Azure DevOps named Project that contains a Kanban board named Board1.

You create a Microsoft Teams channel and add the Azure Boards app to the channel.

You need to ensure that users can create work items in Board1 from Microsoft Teams.

Which command should you run?

A.

@azure boards sign in

B.

@azure boards link

C.

@azure boards create

D.

@azure boards subscriptions

Question # 39

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

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

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.

AZ-400 question answer

Question # 41

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

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

What should you do?

A.

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

B.

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

C.

From Applnsights1. modify the Usage and estimated costs settings.

D.

From Applnsights1, configure the Continuous export settings.

Question # 42

You use Azure Pipelines to build and test code.

You need to analyze the agent pool usage.

What are two ways to achieve the goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

A.

Reviewthe historical graph for the agent pools.

B.

Review the Pipeline duration report.

C.

Query the TaskAgentPoolSizeSnapshot/TaskAgentPoolSizeSnapshots endpoint.

D.

Query the PipelineRun/PipelineRuns endpoint.

Question # 43

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.

AZ-400 question answer

Question # 44

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

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

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

Question # 45

Your company deploys applications m Docket containers.

You want to detect known exploits in the Docket images used to provision the Docker containers.

You need to integrate image scanning into the application lifecycle. The solution must expose the exploits as early as possible during the application lifecycle.

What should you configure?

A.

a task executed in the continuous deployment pipeline and a scheduled task against a running production container.

B.

a task executed in the continuous integration pipeline and a scheduled task that analyzes the production container.

C.

a task executed in the continuous integration pipeline and a scheduled task that analyzes the image registry

D.

manual tasks performed during the planning phase and the deployment phase

Question # 46

You have a project in Azure DevOps named Project1. Project1 contains a published wiki.

You need to change the order of pages in the navigation pane of the published wiki in the Azure DevOps portal.

What should you do?

A.

At the root of the wiki, create a file named order that defines the page hierarchy.

B.

At the root of the wiki, create a file named wiki.md that defines the page hierarchy.

C.

Rename the pages in the navigation pane.

D.

Drag and drop the pages in the navigation pane.

Question # 47

You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. Sub1 contains an Azure virtual machine scale set named VMSS1. VMSS1 hosts a web application named WebApp1.

WebApp1 uses stateful sessions.

The WebApp1 installation is managed by using the Custom Script extension. The script resides in an Azure Storage account named sa1.

You plan to make a minor change to a UI element of WebApp1 and to gather user feedback about the change.

You need to implement limited user testing for the new version of WebApp1 on VMSS1.

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

NOTE: Each correct selection is worth one point.

A.

Modify the load balancer settings of VMSS1.

B.

Redeploy VMSS1.

C.

Upload a custom script file to sa1.

D.

Modify the Custom Script extension settings of VMSS1.

E.

Update the configuration of a virtual machine in VMSS1.

Question # 48

You are developing an Azure Pipelines pipeline.

You need to configure a check in the pipeline that will query Azure Boards to ensure that there are no active work item issues before the pipeline deploys a build to production.

Which type of check should you implement?

A.

post-deployment approvals

B.

manual validations

C.

pre-deployment gates

D.

pre-deployment approvals

Question # 49

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

AZ-400 question answer

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.

AZ-400 question answer

Question # 50

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

Which command should you run?

A.

git push

B.

git merge --squash

C.

git merge --allow-unrelated-histories

D.

git rebase

Question # 51

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

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

You manage a project in Azure DevOps.

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

Solution: Implement Continuous Integration for the project.

Does this meet the goal?

A.

Yes

B.

No

Question # 52

You are implementing an Azure DevOps strategy for mobile devices using App Center.

You plan to use distribution groups to control access to releases.

You need to create the distribution groups shown in the following table.

AZ-400 question answer

Which type of distribution group should you use for each group? To answer, drag the appropriate group types to the correct locations. Each group 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.

AZ-400 question answer

Question # 53

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

What should you use?

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

You need to replace the existing DevOps tools to support the planned changes.

What should you use? To answer, drag the appropriate tools to the correct targets. Each tool may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 55

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?

A.

NDF

B.

MDF

C.

BACPAC

D.

DACPAC

Question # 56

You need to meet the technical requirements for monitoring App1.

What should you use?

A.

Splunk

B.

Azure Application Insights

C.

Azure Advisor

D.

App Service logs

Question # 57

You need to configure authentication for App1. The solution must support the planned changes.

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

AZ-400 question answer

Question # 58

You need to configure the alert for VM1. The solution must meet the technical requirements.

Which two settings should you configure? To answer, select the appropriate settings in the answer area.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 59

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

What should you use?

A.

git clone

B.

GitHub Importer

C.

Import repository in Azure Repos

D.

git-tfs

Question # 60

You need to configure Azure Pipelines to control App2 builds.

Which authentication method should you use?

A.

Windows NTLM

B.

certificate

C.

SAML

D.

personal access token (PAT)

Question # 61

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

A.

it push

B.

git merge -- allow-unrelated-histories

C.

git rebase

D.

git merge --squash

Question # 62

You are configuring the Azure DevOps dashboard. The solution must meet the technical requirements.

Which widget should you use for each metric? To answer, drag the appropriate widgets to the correct metrics. Each widget may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 63

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

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

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

Question # 64

You have an application that consists of several Azure App Service web apps and Azure functions. You need to assess the security of the web apps and the functions.

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

A.

Smart Detection in Azure Application Insights

B.

Security & Compliance in Azure Log Analytics

C.

Compute & apps in Microsoft Defender for Cloud

D.

Resource health in Azure Service Health

Question # 65

Task 9

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

serverNane: server1 dbName: db1

Question # 66

Task 4

For Project1, you need to create a self-hosted agent pod named Pool1.

All the pipelines in Project1 must have access to Pool1.

Question # 67

You have an Azure DevOps organization.

You need to recommend a solution for managing packages. The solution must meet the following requirements:

• Host private packages.

• Publish packages to a feed.

• Support the creation and publishing of new packages.

• Ensure that the package feed can be consumed by Azure DevOps pipelines.

What should you include in the recommendation?

A.

Azure DevTest Labs

B.

a Git repository in Azure Repos

C.

Azure Container Instances

D.

Azure Artifacts

Question # 68

You have a GitHub Actions workflow named workflow! that is used to deploy an app name Appl. You need to ensure that App1 is deployed only when the following conditions are met:

• A pull request is merged to the main branch.

• The change includes a JavaScript file.

Solution. You configure the YAML file of workflowl to include the following.

AZ-400 question answer

Does this meet the goal?

A.

Yes

B.

No

Question # 69

You have multiple automated workflows that interact with Azure DevOps and use the following services:

• Azure Command-Line Interface (CLI)

• Azure PowerShell

• Azure Functions

You need to recommend which authentication method to use for each service. The solution must minimize the risk of compromising credentials.

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

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 70

You have a project in Azure DevOps that will use infrastructure as code (laC) to deploy resources to Azure and Amazon Web Services (AWS). You need to recommend a deployment solution for the project. The solution must minimize administrative effort. What should you include in the recommendation?

A.

Bkep

B.

Azure Command-Line Interface (CU)

C.

Terraform

D.

Azure Resource Manager (ARM) templates

Question # 71

Task 6

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

For Project 1, you need to implement branch merging restrictions to enable squash merge for all changes merged into the main branch.

Question # 72

Task 2

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

You must create a Log Analytics workspace before this task.

Question # 73

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.

Question # 74

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?

A.

parameters

B.

modules

C.

resources

D.

outputs

Question # 75

You have several apps that use an Azure SQLDatabase named db1.

You need to ensure that queries to db1 are tuned by Azure over time. The solution must only apply to db1.

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

Question # 76

You have an Azure subscription that contains an Azure Container Apps instance named AppServicel. AppServicel is deployed to multiple Azure regions.

You have a containerized application named App1. App1 is a platform as a service (PaaS) solution that will have customers worldwide.

You plan to deploy App1 to AppService1 and will use a blue-green deployment strategy.

You need to recommend a solution that meet the following requirements:

• Automatically routes traffic between each deployment with minimal manual intervention

• Supports dynamic application settings and feature flags

• Minimizes administrative effort

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

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 77

You have a GitHub Enterprise organization that contains three GitHub repositories.

You need to store a secret named Secret 1. The solution must meet the following requirements:

• GitHub Actions must be able to use Secret1 in each repository.

• Administrative effort must be minimized.

As what should you store Secret1?

A.

a repository secret

B.

an artifact

C.

an environment secret

D.

an organization secret

Question # 78

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.

Question # 79

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.

Question # 80

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

Question # 81

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

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

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

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

Which command should you run?

A.

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

B.

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

C.

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

D.

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

Question # 82

You have an Azure DevOps pipeline named Pipeline1.

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

Which metric should you use?

A.

test pass rate

B.

deployment frequency (DT)

C.

lead time for changes (LT)

D.

time to detect (TTD)

Question # 83

Task 2

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

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

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

Question # 84

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

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

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

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

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

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

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 85

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.

Question # 86

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.

Question # 87

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

AZ-400 question answer

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

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 88

You have an Azure DevOps release pipeline named Pipeline1. You plan to use Pipelinel to deploy infrastructure as code (laC) resources to Azure. You need to create templates to define which resources to deploy. Which template formats should you use?

A.

Azure Resource Manager (ARM) only

B.

Bicep only

C.

XML only

D.

Azure Resource Manager (ARM) and Bicep only

E.

Azure Resource Manager (ARM), Bicep. and XML

Question # 89

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?

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

You manage package feeds by using Azure Artifacts.

You plan to create a new package feed that will include the following views:

• @ Local

• ©Latest

• @Release

• ©Prerelease

Which view should you create manually '

A.

©Prerelease

B.

©Release

C.

©Latest

D.

©Local

Question # 91

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.

Question # 92

You have a project in Azure DevOps

You build an app named Appl that will be used on devices that run either MacOS, Linux, or Windows.

You need to create an Azure DevOps YAML pipeline to build App1 on the three operating systems. The solution must meet the following requirements:

• Minimize code duplication in the pipeline configuration.

• Minimize maintenance effort.

What should you use?

A.

a stage template

B.

a variable template

C.

a step template

D.

a job template

Question # 93

You have a GitHub organization that contains a repository and an organizational secret named DB.Credential. You need to build a workflow that will configure a server by using PowerShell and DB.Credential. How should you complete the code? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 94

You have a Git repository that uses project source control.

A file is committed to the repository. No further changes were made since the file was committed.

You need to remove the file from the branch history.

Which three Git commands should you run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the correct order.

AZ-400 question answer

Question # 95

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.

Question # 96

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.

Question # 97

You plane to store signed images in anAzure Container Registry instance named az4009940427acr1.

You need to modify the SKU for az4009940427acr1 to support the planned images. The solution must minimize costs.

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

Question # 98

You are designing a versioning strategy for Git-based packages

You plan to use a Semantic Versioning (SemVer)-based strategy.

You need to identify when to change the build version.

What should you identify for each scenario? To answer, drag the appropriate versions to the correct scenarios. Each version may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

AZ-400 question answer

Question # 99

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.

Question # 100

Task 2

You need to log all audit events for the Azure DevOps organization in the Log Analytics! Logs Analytics workspace.

AZ-400 PDF

$42

$139.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

AZ-400 PDF + Testing Engine

$57

$189.99

3 Months Free Update

  • Exam Name: Microsoft Azure DevOps Solutions
  • Last Update: Jul 10, 2026
  • Questions and Answers: 628
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

AZ-400 Engine

$48

$159.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included