Pass4itsure > Microsoft > Microsoft Certifications > AZ-400 > AZ-400 Online Practice Questions and Answers

AZ-400 Online Practice Questions and Answers

Questions 4

DRAG DROP

You have a GitHub repository named repo1 that stores the code of an app named App1.

You need deploy a workflow for repo1 by using GitHub Actions. The solution must meet the following requirements:

Scan on pushes to the main branch.

Scan on pull requests to the main branch.

Scan on pull requests to any branch that has a prefix of releases/.

Scan all the files in the subdirectories of the src directory.

Exclude scanning of markdown files.

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

Select and Place:

Buy Now
Questions 5

SIMULATION

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.

Buy Now
Questions 6

You have a project in Azure DevOps. You have an Azure Resource Group deployment project in Microsoft Visual Studio that is checked in to the Azure DevOps project.

You need to create a release pipeline that will deploy resources by using Azure Resource Manager templates. The solution must minimize administrative effort.

Which task type should you include in the solution?

A. Azure Cloud Service Deployment

B. Azure RM Web App Deployment

C. Azure PowerShell

D. Azure App Service Manage

Buy Now
Questions 7

Your company is concerned that when developers introduce open source libraries, it creates licensing compliance issues.

You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.

What should you use?

A. SourceGear Vault

B. Jenkins

C. Microsoft Visual SourceSafe

D. WhiteSource Bolt

Buy Now
Questions 8

You have an Azure DevOps organization named Contoso. You need to recommend an authentication mechanism that meets the following requirements:

1.

Supports authentication from Git

2.

Minimizes the need to provide credentials during authentication What should you recommend?

A. managed identities in Azure Active Directory (Azure AD)

B. personal access tokens (PATs) in Azure DevOps

C. user accounts in Azure Active Directory (Azure AD)

D. Alternate credentials in Azure DevOps

Buy Now
Questions 9

Your company has an Azure DevOps environment that can only be accessed by Azure Active Directory users.

You are instructed to make sure that the Azure DevOps environment can only be accessed from devices connected to the company's on-premises network.

Which of the following actions should you take?

A. Assign the devices to a security group.

B. Create a GPO.

C. Configure Security in Project Settings from Azure DevOps.

D. Configure conditional access in Azure Active Directory.

Buy Now
Questions 10

You have a project in Azure DevOps that has a release pipeline.

You need to integrate work item tracking and an Agile project management system to meet the following requirements:

1.

Ensure that developers can track whether their commits are deployed to production.

2.

Report the deployment status.

3.

Minimize integration effort. Which system should you use?

A. Asana

B. Basecamp

C. Trello

D. Jira

Buy Now
Questions 11

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

You need to authenticate Azure Boards to GitHub.

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

A. a trusted root certificate

B. a publisher certificate

C. Azure Active Directory (Azure AD)

D. GitHub user credentials

E. a personal access token (PAT)

Buy Now
Questions 12

You use Azure Pipelines to build and test code projects.

You notice an increase in cycle times.

You need to identify whether agent pool exhaustion is causing the issue.

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

NOTE: Each correct selection is worth one point.

A. Query the PipelineRun/PipelineRuns endpoint.

B. Query the TaskAgentPoolSizeSnapshots endpoint.

C. View the Pipeline duration report.

D. View the pool consumption report at the organization level.

Buy Now
Questions 13

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 use an Azure Pipelines pipeline to build and release web apps.

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

1.

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

2.

Only run when a pr is created.

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

Does this meet the goal?

A. Yes

B. No

Buy Now
Exam Code: AZ-400
Exam Name: Designing and Implementing Microsoft DevOps Solutions
Last Update: Jun 10, 2026
Questions: 626
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99