exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 2 question 21 discussion

Actual exam question from Microsoft's AZ-400
Question #: 21
Topic #: 2
[All AZ-400 Questions]

HOTSPOT -
You have a project in Azure DevOps named Contoso App that contains pipelines in Azure Pipelines for GitHub repositories.
You need to ensure that developers receive Microsoft Teams notifications when there are failures in a pipeline of Contoso App.
What should you run in Teams? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: subscribe -
To start monitoring all pipelines in a project, use the following command inside a channel:
@azure pipelines subscribe [project url]
Box 2: https://dev.azure.com/contoso/contoso-app/
Subscribe to a pipeline or all pipelines in a project to receive notifications:
@azure pipelines subscribe [pipeline url/ project url]

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
haxaffee
Highly Voted 3 years, 1 month ago
Given answer is correct: https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops#connect-the-azure-pipelines-app-to-your-pipelines @azure pipelines subscribe [project url]
upvoted 49 times
TrangNguyen_6
2 years, 8 months ago
You are correct!
upvoted 4 times
...
rdemontis
2 years, 2 months ago
agree with you
upvoted 1 times
...
...
nvnrao57
Highly Voted 3 years, 1 month ago
Subscribe https://dev.azure.com/myorg/myproject/_build
upvoted 17 times
Tyler2023
10 months, 1 week ago
The url with _build should have definitionId according to this https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops#connect-the-azure-pipelines-app-to-your-pipelines so that answer is correct @azure pipelines subscribe https://dev.azure.com/myorg/myproject/
upvoted 4 times
...
...
yana_b
Most Recent 9 months, 3 weeks ago
Provided answer is correct
upvoted 3 times
...
Marge_Simpson
1 year, 3 months ago
@haxaffee The question brings up "a pipeline" instead of all the pipelines. According to the doc you provided: "Monitor a specific pipeline: The pipeline URL can be to any page within your pipeline that has a definitionId or buildId/releaseId present in the URL. For example, @azure pipelines subscribe https://dev.azure.com/myorg/myproject/_build?definitionId=123." So @azure pipelines subscribe [pipeline url] not the project URL which would monitor all pipelines instead of a pipeline failure
upvoted 4 times
...
budha
1 year, 5 months ago
It was on my exam on December 7, 2022.
upvoted 3 times
...
pkg007
1 year, 8 months ago
Given answer is correct. Monitor all pipelines in a project " @azure pipelines subscribe [project url] " Monitor a specific pipeline: "@azure pipelines subscribe [pipeline url]"
upvoted 6 times
...
syu31svc
1 year, 9 months ago
https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops#connect-the-azure-pipelines-app-to-your-pipelines Given answer is correct
upvoted 1 times
...
Govcomm
1 year, 10 months ago
@azure pipelines subscribe [project url]
upvoted 1 times
...
Leandrocei
1 year, 10 months ago
Correct. Came today 22 july 9
upvoted 2 times
...
UnknowMan
2 years ago
subscribe https://dev.azure.com/myorg/myproject/_build?definitionId=123 is only for a SPECIFIC pipeline, but here we want all pipeline alert Correct
upvoted 1 times
...
Cheehp
2 years, 1 month ago
selected during exam. subscribe and https://dev.azure.com/contoso/contoso-app/
upvoted 1 times
...
somenkr
2 years, 1 month ago
Given answer is correct
upvoted 1 times
...
Optimist_Indian
2 years, 3 months ago
Got this question in Feb-2022 exam (scored 910+). Given answer is correct.
upvoted 5 times
...
ixl2pass
2 years, 5 months ago
Correct. @azure pipelines subscribe https://dev.azure.com/myorg/myproject/ from https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops
upvoted 1 times
...
vgr7777
2 years, 5 months ago
@azure pipelines subscribe [project url]
upvoted 1 times
...
Stark_tony42
2 years, 5 months ago
Wrong Box1: subscribe Box2: https://dev.azure.com/whizlabsorg/whizlabs/_build?definitionId=123
upvoted 3 times
...
ScreamingHand
2 years, 6 months ago
Came in today 5th Nov 2021
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...