ExamGecko
Home Home / Microsoft / AZ-400

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

Question list
Search
Search

List of questions

Search

Related questions











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 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 an email subscription to an Azure DevOps notification.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: B

Explanation:

You can create a service hook for Azure DevOps Services and TFS with Jenkins.

Reference:

https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins

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 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 code pushed event.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: A

Explanation:

You can create a service hook for Azure DevOps Services and TFS with Jenkins. The code push event is triggered when the code is pushed to a Git repository.

Reference:

https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins https://docs.microsoft.com/en-us/azure/devops/service-hooks/events

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 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 add a trigger to the build pipeline.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: A

Explanation:


You plan to create in Azure DevOps. Multiple developers will work on the project. The developers will work offline frequently and will require access to the full project history while they are offline. Which version control solution should you use?

A.
Team Foundation Version Control
A.
Team Foundation Version Control
Answers
B.
Git
B.
Git
Answers
C.
TortoiseSVN
C.
TortoiseSVN
Answers
D.
Subversion
D.
Subversion
Answers
Suggested answer: B

Explanation:

Git history: File history is replicated on the client dev machine and can be viewed even when not connected to the server. You can view history in Visual Studio and on the web portal.

Note: Azure Repos supports two types of version control: Git and Team Foundation Version Control (TFVC).

Incorrect Answers:

A: Team Foundation Version Control: File history is not replicated on the client dev machine and so can be viewed only when you're connected to the server.

Reference:

https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/comparison-git-tfvc

You plan to onboard 10 new developers.

You need to recommend a development environment that meets the following requirements:

Integrates with GitHub

Provides integrated debugging tools

Supports remote workers and hot-desking environments

Supports developers who use browsers, tablets, and Chromebooks

What should you recommend?

A.
VS Code
A.
VS Code
Answers
B.
Xamarin Studio
B.
Xamarin Studio
Answers
C.
MonoDevelop
C.
MonoDevelop
Answers
D.
Visual Studio Codespaces
D.
Visual Studio Codespaces
Answers
Suggested answer: D

Explanation:

Visual Studio Codespaces is built to accommodate the widest variety of projects or tasks, including GitHub and integrating debugging. Visual Studio Codespaces conceptually and technically extends the Visual Studio Code Remote Development extensions. In addition to "backend" environments, Visual Studio Codespaces supports these "frontend" editors:

Visual Studio Code

Visual Studio Code-based editor in the browser

Reference:

https://docs.microsoft.com/sv-se/visualstudio/codespaces/overview/what-is-vsonline

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?

A.
Create a project-level notification.
A.
Create a project-level notification.
Answers
B.
Configure a service connection.
B.
Configure a service connection.
Answers
C.
Create a global notification.
C.
Create a global notification.
Answers
D.
Creates a service hook subscription.
D.
Creates a service hook subscription.
Answers
Suggested answer: D

Explanation:

Create a service hook for Azure DevOps with Slack to post messages to Slack in response to events in your Azure DevOps organization, such as completed builds, code changes, pull requests, releases, work items changes, and more.

Note:

1. Go to your project Service Hooks page:

https://{orgName}/{project_name}/_settings/serviceHooks

Select Create Subscription.

2. Choose the types of events you want to appear in your Slack channel.

3. Paste the Web Hook URL from the Slack integration that you created and select Finish.

4. Now, when the event you configured occurs in your project, a notification appears in your team's Slack channel.

Reference:

https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/slack

You have an Azure DevOps organization named Contoso and an Azure subscription.

You use Azure DevOps to build and deploy a web app named App1. Azure Monitor is configured to generate an email notification in response to alerts generated whenever App1 generates a server-side error. You need to receive notifications in Microsoft Teams whenever an Azure Monitor alert is generated.

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

NOTE: Each correct selection is worth one point.

A.
Create an Azure Monitor workbook.
A.
Create an Azure Monitor workbook.
Answers
B.
Create an Azure logic app that has an HTTP request trigger.
B.
Create an Azure logic app that has an HTTP request trigger.
Answers
C.
Create an Azure logic app that has an Azure DevOps trigger.
C.
Create an Azure logic app that has an Azure DevOps trigger.
Answers
D.
Modify an action group in Azure Monitor.
D.
Modify an action group in Azure Monitor.
Answers
E.
Modify the Diagnostics settings in Azure Monitor.
E.
Modify the Diagnostics settings in Azure Monitor.
Answers
Suggested answer: C, D

Explanation:

Reference:

https://dirteam.com/dave/2019/05/14/getting-azure-devops-tasks-in-to-do-with-flow/

You have an Azure DevOps organization that contains a project named Project1.

You need to create a published wiki in Project1.

What should you do first?

A.
Modify the Storage settings of Project1.
A.
Modify the Storage settings of Project1.
Answers
B.
In Project1, create an Azure DevOps pipeline.
B.
In Project1, create an Azure DevOps pipeline.
Answers
C.
In Project1, create an Azure DevOps repository.
C.
In Project1, create an Azure DevOps repository.
Answers
D.
Modify the Team configuration settings of Project1.
D.
Modify the Team configuration settings of Project1.
Answers
Suggested answer: C

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/devops/project/wiki/publish-repo-to-wiki?view=azure-devops&tabs=browser

HOTSPOT

Your company uses Azure DevOps for Get source control.

You have a project in Azure DevOps named Contoso App that contains the following repositories:

https://dev.azure.com/contoso/contoso-app/core-api

https://dev.azure.com/contoso/contoso-app/core-spa

https://dev.azure.com/contoso/contoso-app/core-db

You need to ensure that developers receive Slack notifications when there are pull requests created for Contoso App. What should you run in Slack? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 249
Correct answer: Question 249

Explanation:

Box 1: subscribe

To start monitoring all Get repositories in a project, use the following slash command inside a channel:

/azrepos subscribe [project url]

Box 2: https://dev.azure.com/contoso/contoso-app

You can also monitor a specific repository using the following command:

/azrepos subscribe [repository url]

The repository URL can be to any page within your repository that has your repository name.

For example, for Git repositories, use:

/azrepos subscribe https://dev.azure.com/myorg/myproject/_git/myrepository

Reference:

https://docs.microsoft.com/en-us/azure/devops/repos/integrations/repos-slack

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.
A.
At the root of the wiki, create a file named .order that defines the page hierarchy.
Answers
B.
At the root of the wiki, create a file named wiki.md that defines the page hierarchy.
B.
At the root of the wiki, create a file named wiki.md that defines the page hierarchy.
Answers
C.
Rename the pages in the navigation pane.
C.
Rename the pages in the navigation pane.
Answers
D.
Drag and drop the pages in the navigation pane.
D.
Drag and drop the pages in the navigation pane.
Answers
Suggested answer: B

Explanation:

Reorder a wiki page

You can reorder pages within the wiki tree view to have pages appear in the order and hierarchy you want. You can drag-and-drop a page title in the tree view to do the following operations:

Change the parent-child relationship of a page

Change the order of the page within the hierarchy

Reference:

https://docs.microsoft.com/en-us/azure/devops/project/wiki/add-edit-wiki

Total 482 questions
Go to page: of 49