ExamGecko
Home / Microsoft / AZ-400 / List of questions
Ask Question

Microsoft AZ-400 Practice Test - Questions Answers, Page 43

List of questions

Question 421

Report
Export
Collapse

HOTSPOT

You plan to use Desired State Configuration (DSC) to maintain the configuration of a server that runs Windows Server 2022. The server must have the following features installed:

* A web server

* An email server

How should you complete the DSC configuration file? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Become a Premium Member for full access
  Unlock Premium Member

Question 422

Report
Export
Collapse

You have an Azure subscription that contains an Azure Pipelines pipeline named Pipeline1 and an app named App1. Pipeline1 is used to automate the building of App1.

You have a Slack channel named App1chat that includes an incoming webhook.

You need to ensure that when a successful build of App1 is created, a notification is sent to App1chat by using the webhook.

What should you use?

Become a Premium Member for full access
  Unlock Premium Member

Question 423

Report
Export
Collapse

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

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

You have an Azure pipeline that is used to deploy a web app. The pipeline includes a test suite named TestSuite1. TestSuite1 is used to validate the operations of the web app.

TestSuite1 fails intermittently.

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

You need to minimize troubleshooting effort for the TestSuite1 failures.

Solution: You increase code coverage.

Does this meet the goal?

Become a Premium Member for full access
  Unlock Premium Member

Question 424

Report
Export
Collapse

You use Git for source control.

You enable GitHub code scanning.

You raise a pull request from a non-default branch. In the code scanning output you receive the following error message: 'Analysis not found.'

You need to ensure that the code scanning completes successfully for the pull request.

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

NOTE: Each correct selection is worth one point.

Become a Premium Member for full access
  Unlock Premium Member

Question 425

Report
Export
Collapse

DRAG DROP

You have a tendril in Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra. The tenant contains three groups named Group1. Group2, and Group3.

You create a new project in Azure DevOps named Project1.

You need to secure the service connections for Project1. The solution must meet the following requirements:

* The members of Group1 must be able to share and unshare a service connection with other projects.

* The members of Group2 must be able to rename a service connection and update the description.

* The members of Group3 must be able to use the service connection within build or release pipelines.

* The principle of least privilege must be followed.

Which permission should you grant to each group? To answer, drag the appropriate permissions to the correct groups. Each permission 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.


Become a Premium Member for full access
  Unlock Premium Member

Question 426

Report
Export
Collapse

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

You need to trigger Task1 to run immediately.

Which command should you run?

Become a Premium Member for full access
  Unlock Premium Member

Question 427

Report
Export
Collapse

DRAG DROP

You have the repositories shown in the following table.

Microsoft AZ-400 image Question 130 87186 10022024015257000000

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.

Become a Premium Member for full access
  Unlock Premium Member

Question 428

Report
Export
Collapse

DRAG DROP

You have a project in Azure DevOps.

You need to configure a dashboard that will provide information on the following metrics.

* How long it takes to close a work item

* The number of completed backlog items

* How long it takes to restore failed services

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


Become a Premium Member for full access
  Unlock Premium Member

Question 429

Report
Export
Collapse

You have a public GitHub repository named Public1.

A commit is made to Public1. The commit contains a pattern that matches a regular expression.

Who is notified first when the commit is made?

Become a Premium Member for full access
  Unlock Premium Member

Question 430

Report
Export
Collapse

You manage code by using GitHub.

You plan to use Dependabot to scan for code dependencies.

You need to identify when scanning will be triggered automatically.

Which two actions will trigger a scan? Each correct answer presents a complete solution.

NOTE: Each correct solution is worth one point

Become a Premium Member for full access
  Unlock Premium Member
Total 489 questions
Go to page: of 49
Search

Related questions