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

Welcome To DumpsPedia

AZ-400 Sample Questions Answers

Questions 4

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:

Buy Now
Questions 5

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:

Buy Now
Questions 6

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

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

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

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

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

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 7

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:

Buy Now
Questions 8

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

Buy Now
Questions 9

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:

Buy Now
Questions 10

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.

Options:

Buy Now
Questions 11

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:

Buy Now
Questions 12

You have an Azure subscription.

You need to ensure that users can provision preconfigured cloud-based environments for developing apps. The solution must minimize administrative effort.

What should you include in the solution?

Options:

A.

Microsoft Dev Box

B.

Windows 365 Cloud PC

C.

Azure Deployment Environments

D.

Azure Virtual Desktop

Buy Now
Questions 13

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 14

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:

Buy Now
Questions 15

You have an Azure subscription.

The development department at your company plans to build web apps that will use multiple Azure resources. You need to recommend a development solution that meets the following requirements:

• Provides a development environment for each developer

• Supports the use of custom sandbox environments for testing

• Ensures that the environments can be embedded into CI/CD pipelines

• Minimizes administrative effort

What should you include in the recommendation?

Options:

A.

Azure Virtual Desktop

B.

Windows 365 Cloud PC

C.

Azure Deployment Environments

D.

Microsoft Dev Box

Buy Now
Questions 16

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:

Buy Now
Questions 17

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?

Options:

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

Buy Now
Questions 18

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

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

Options:

Buy Now
Questions 19

You have a GitHub repository.

A file that contains secrets is committed and pushed to the repository accidentally.

You need to perform the following actions:

• Remove the file from the repository.

• Remove all commits that include the file from the repository.

The solution must minimize administrative effort. What should you use?

Options:

A.

GitHub Actions

B.

a branch protection rule

C.

the git re command

D.

the git filter-repo command

Buy Now
Questions 20

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:

Buy Now
Questions 21

Task 9

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

serverNane: server1 dbName: db1

Options:

Buy Now
Questions 22

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:

Buy Now
Questions 23

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

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

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

Options:

Buy Now
Questions 24

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:

Buy Now
Questions 25

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

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

Which target scope should you use?

Options:

A.

resourceGroup

B.

subscription

C.

tenant

D.

ManagementGroup

Buy Now
Questions 26

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:

Buy Now
Questions 27

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.

Options:

Buy Now
Questions 28

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 29

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 30

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 31

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 32

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 33

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 34

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 35

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 36

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 37

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 38

Your company is creating a suite of three mobile applications.

You need to control access to the application builds. The solution must be managed at the organization level

What should you use? To answer, select the appropriate options m the answer area.

NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 39

You need to configure a virtual machine named VM1 to securely access stored secrets in an Azure Key Vault named az400-11566895-kv.

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

Options:

Buy Now
Questions 40

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

Buy Now
Questions 41

You have a GitHub repository.

You need to configure Dependabot dependency scanning. The solutionmust meet the following requirements:

• Automatically open a pull request to resolve an alert.

• Automatically open a pull request when a dependency is updated.

What should you enable for each requirement? To answer, drag the appropriate featuresto the correct requirements. Each feature 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 42

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 43

You have the following Azure policy.

Options:

A.

ensures that at) data for new Azure Storage accounts is encrypted at rest

B.

prevents HTTPS traffic to new Azure Storage accounts when the accounts are accessed over the internet

C.

prevents all HTTP traffic to wasting Azure Storage accounts

D.

ensures that all traffic to new Azure Storage accounts is encrypted

Buy Now
Questions 44

You are designing a build pipeline in Azure Pipelines.

The pipeline requires a self-hosted agent. The build pipeline will run once daily and will take 30 minutes to complete.

You need to recommend a compute type for the agent. The solution must minimize costs.

What should you recommend?

Options:

A.

Azure virtual machines

B.

an Azure virtual machine scale set

C.

an Azure Kubernetes Service (AKS) cluster

D.

Azure Container Instances

Buy Now
Questions 45

You have a project in Azure DevOps.

You create the following YAML template named Template1.yml.

steps:

- script: 9pm install

- script: yarn install

- script: 9pm run compile

You create the following pipeline named File1.yml.

parameters:

users steps:

- task: MyTask@1

- script: echo Done

You need to ensure that Template1.yaml runs before File1.yml.

How should you update File1.yml?

Options:

A.

parameters: user steps: extends: template: template1.yml

- task: MyTask@1 - script: echo Done

B.

template: template1.yml parameters: user steps:

- task: MyTask@1 - script: echo Done

C.

extends: template: templatel.yml parameters: user steps:

- task: MyTask@1 - script: echo Done

D.

parameters: user steps: - template: templatel.yml

- task: MyTask@1 - script: echo Done

Buy Now
Questions 46

You are configuring an Azure DevOps deployment pipeline. The deployed application will authenticate to a web service by using a secret stored in an Azure key vault.

You need to use the secret in the deployment pipeline.

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 47

You have an existing build pipeline in Azure Pipelines.

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

Buy Now
Questions 48

You have a project in Azure DevOps named Project1 that contains two Azure DevOps pipelines named Pipeline1 and Pipeline2.

You need to ensure that Pipeline1 can deploy code successfully to an Azure web app named webapp1. The solution must ensure that Pipeline2 does not have permission to webapp1.

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 49

You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for auto scaling.

You have a project m Azure DevOps named Project 1. Project! is used to build a web app named App1 and deploy App1 to VMSSt.

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

Solution: From Azure Monitor, configure the auto scale settings.

Does this meet the goal?

Options:

A.

Yes

B.

No

Buy Now
Questions 50

You have an Azure DevOps project that uses many package feeds.

You need to simplify the project by using a single feed that stores packages produced by your company and packages consumed from remote feeds. The solution must support public feeds and authenticated feeds.

What should you enable in DevOps?

Options:

A.

Universal Packages

B.

views in Azure Artifacts

C.

upstream sources

D.

a symbol server

Buy Now
Questions 51

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 52

Your company has an Azure DevOps project,

The source code for the project is stored in an on-premises repository and uses on an on-premises build

server.

You plan to use Azure DevOps to control the build process on the build server by using a self-hosted agent.

You need to implement the self-hosted agent.

You download and install the agent on the build server.

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

Options:

A.

From Azure, create a shared access signature (SAS).

B.

From the build server, create a certificate, and then upload the certificate to Azure Storage.

C.

From the build server, create a certificate, and then upload the certificate to Azure Key Vault.

D.

From DevOps, create a personal access token (PAT).

E.

From the build server, run config.cmd.

Questions 53

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 54

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 55

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 56

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 57

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 58

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 59

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 60

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 61

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 62

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 63

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 64

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 65

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 66

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:

Buy Now
Questions 67

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

Buy Now
Questions 68

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 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 the solution? To answer, select the appropriate options m the answer area, NOTE: Each correct selection is worth one point.

Options:

Buy Now
Questions 70

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

Buy Now
Questions 71

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 72

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 73

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 74

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
Questions 75

You have a project in Azure DevOps.

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

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

NOTE: Each correct selection is worth one point.

Options:

A.

authorization credentials

B.

the project name

C.

the deployment group name

D.

the organization URL

E.

the agent pool name

Buy Now
Questions 76

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
Exam Code: AZ-400
Exam Name: Microsoft Azure DevOps Solutions
Last Update: Jul 17, 2026
Questions: 628

PDF + Testing Engine

$59.99 $171.4

Testing Engine

$44.99 $128.55

PDF (Q&A)

$49.99 $142.82