Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam AZ-400 topic 2 question 23 discussion

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

You are integrating Azure Pipelines and Microsoft Teams.
You install the Azure Pipelines app in Microsoft Teams.
You have an Azure DevOps organization named Contoso that contains a project name Project1.
You subscribe to Project1 in Microsoft Teams.
You need to ensure that you only receive events about failed builds in Microsoft Teams.
What should you do first?

  • A. From Microsoft Teams, run @azure pipelines subscribe https://dev.azure.com/Contoso/Project1.
  • B. From Azure Pipelines, add a Publish Build Artifacts task to Project1.
  • C. From Microsoft Teams, run @azure pipelines subscriptions.
  • D. From Azure Pipelines, enable continuous integration for Project1.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
To start monitoring all pipelines in a project, use the following command inside a channel:
@azure pipelines subscribe [project url]
The project URL can be to any page within your project (except URLs to pipelines).
For example:
@azure pipelines subscribe https://dev.azure.com/myorg/myproject/
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Appsuri
Highly Voted 3 years, 8 months ago
Answer is C
upvoted 59 times
jay158
2 years, 3 months ago
Yes C https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops#manage-subscriptions
upvoted 5 times
warchoon
1 year, 7 months ago
No A Just see section "Use commands"
upvoted 2 times
warchoon
1 year, 7 months ago
Ок С Missed the filter option. It's bad for teams not to provide the command
upvoted 3 times
...
...
...
...
babiend20
Highly Voted 3 years, 8 months ago
Answer is C https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops Using filters effectively to customize subscriptions When a user subscribes to any pipeline, a few subscriptions are created by default without any filters being applied. Often, users have the need to customize these subscriptions. For example, users may want to get notified only when builds fail or when deployments are pushed to a production environment. The Azure Pipelines app supports filters to customize what you see in your channel. Run the @Azure Pipelines subscriptions command Select View all subscriptions. In the list of subscriptions, if there is a subscription that is unwanted or should be modified (Example: creating noise in the channel), select Remove Scroll down and select the Add subscription button Select the required pipeline and the event Select the appropriate filters and save
upvoted 30 times
...
husam421
Most Recent 12 hours, 23 minutes ago
Selected Answer: C
Run the @azure pipelines subscriptions command.
upvoted 1 times
...
e0da014
1 month ago
Option C , Refer this: https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops Manage subscriptions When you subscribe to a pipeline, a few subscriptions get created by default without any filters applied. You might want to customize these subscriptions. For example, you might want to get notified only when builds fail or when deployments get pushed to a production environment. The Azure Pipelines app supports filters to customize what you see in your channel. To manage your subscriptions, complete the following steps. Run the @azure pipelines subscriptions command
upvoted 1 times
...
Pavlo
2 months, 2 weeks ago
C. From Microsoft Teams, run @azure pipelines subscriptions. This command allows you to manage your subscriptions within Microsoft Teams, including specifying the types of events you want to receive notifications for, such as failed builds. By running this command, you can set up a subscription specifically for failed build events, ensuring that you only receive notifications relevant to your requirement.
upvoted 1 times
...
FiedlExamopics
4 months ago
The correct answer is A, the link https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops clearly states that you have to subscribe to a project first of all, before you can modify and make any modifications to the subscription. If C is done before A, there is no assigned project subscription to the pipeline which would not make sense. The question asks what needs to be done first and that is A before C.
upvoted 2 times
...
ozbonny
4 months, 2 weeks ago
Selected Answer: C
C https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops
upvoted 1 times
...
ozbonny
4 months, 2 weeks ago
Selected Answer: C
I think C. From Microsoft Teams, run @azure pipelines subscriptions. since you already subscribed to the project
upvoted 1 times
...
ozbonny
4 months, 2 weeks ago
Selected Answer: C
I think You subscribe to Project1 in Microsoft Teams. since the first step is already done.
upvoted 1 times
...
kleansoul
9 months, 2 weeks ago
Selected Answer: C
When you subscribe to a pipeline, a few subscriptions get created by default without any filters applied. You might want to customize these subscriptions. For example, you might want to get notified only when builds fail or when deployments get pushed to a production environment. The Azure Pipelines app supports filters to customize what you see in your channel. To manage your subscriptions, complete the following steps. Run the @azure pipelines subscriptions command.
upvoted 1 times
...
yana_b
11 months ago
Selected Answer: C
Go to your teams project channel -> type in @azure pipelines and then select subscriptions -> when the list with subscriptions appears on your screen => select view all subscriptions -> under each subscription there is remove button
upvoted 1 times
...
renzoku
1 year ago
Selected Answer: C
1. run @azure pipelines subscriptions 2. select the project "Project1" 3. Set up a subscriptions for failed builds, then you will receive notifications in Teams
upvoted 2 times
...
KumaTed
1 year, 1 month ago
yeah, the answer is C ,definitely
upvoted 2 times
...
icedog
1 year, 5 months ago
Selected Answer: C
It's C From the preamble in the question option A has already been done (You Subscript to Project1 in Microsoft Team" To ensure you only receive failure events you need to run @azure pipelines subscriptions and from there you can manage filters
upvoted 5 times
...
AvinashVarma
1 year, 6 months ago
Selected Answer: C
Given requirement: Receive events about failed builds. This can be achieved by runnning "Azure Pipelines subscriptions" in Teams Converstation and click on "Add Subscription" for more filter options like choosing "Build Status: Failed". The answer is C. Reference: https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops#manage-subscriptions
upvoted 2 times
...
SingularityLady
1 year, 6 months ago
Selected Answer: A
I think A is the correct option because the question is: "What should you do first?"
upvoted 2 times
Amutha_25
1 year, 4 months ago
You have already subscribed to Project1 in Microsoft Teams. Read the question again
upvoted 5 times
...
...
rikininetysix
1 year, 6 months ago
Selected Answer: C
Answer seems to be 'C'. Refer to 'Manage Subscription' section of the document - https://github.com/MicrosoftDocs/azure-devops-docs/blob/main/docs/pipelines/integrations/microsoft-teams.md "For example, you might want to get notified only when builds fail or when deployments get pushed to a production environment. The Azure Pipelines app supports filters to customize what you see in your channel. To manage your subscriptions, complete the following steps. Run the @azure pipelines subscriptions command."
upvoted 1 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 ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in