exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

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: C 🗳️

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
Appsuri
Highly Voted 4 years, 6 months ago
Answer is C
upvoted 60 times
jay158
3 years, 1 month ago
Yes C https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops#manage-subscriptions
upvoted 5 times
warchoon
2 years, 5 months ago
No A Just see section "Use commands"
upvoted 3 times
warchoon
2 years, 5 months ago
Ок С Missed the filter option. It's bad for teams not to provide the command
upvoted 3 times
...
...
...
...
babiend20
Highly Voted 4 years, 6 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 31 times
...
nikolayivanov
Most Recent 4 months ago
Selected Answer: C
Given the context of the question ("You need to ensure that you only receive events about failed builds"), C could indeed be a valid step because it allows you to fine-tune an existing subscription to filter the notifications. Why C can be considered correct: Since the subscription is already in place, running @azure pipelines subscriptions in Microsoft Teams allows you to view the current subscriptions and configure them to focus on specific events, such as failed builds. It aligns with the need to modify the behavior of notifications without creating a new subscription. Why A could still apply: If the subscription setup process is incomplete or misconfigured, you might need to re-subscribe using @azure pipelines subscribe. Final Answer: If we are certain that the project is already subscribed, C would be the more relevant first step to manage and filter notifications. However, if there is ambiguity about whether the subscription was set up correctly, A would ensure the project is subscribed before fine-tuning.
upvoted 1 times
...
husam421
10 months, 2 weeks ago
Selected Answer: C
Run the @azure pipelines subscriptions command.
upvoted 2 times
...
e0da014
11 months, 2 weeks 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
1 year 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
1 year, 2 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
1 year, 2 months ago
Selected Answer: C
C https://learn.microsoft.com/en-us/azure/devops/pipelines/integrations/microsoft-teams?view=azure-devops
upvoted 1 times
...
ozbonny
1 year, 2 months 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
1 year, 2 months ago
Selected Answer: C
I think You subscribe to Project1 in Microsoft Teams. since the first step is already done.
upvoted 1 times
...
kleansoul
1 year, 7 months 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
1 year, 9 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, 10 months 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, 11 months ago
yeah, the answer is C ,definitely
upvoted 2 times
...
icedog
2 years, 3 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
2 years, 4 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
2 years, 4 months ago
Selected Answer: A
I think A is the correct option because the question is: "What should you do first?"
upvoted 3 times
Amutha_25
2 years, 3 months ago
You have already subscribed to Project1 in Microsoft Teams. Read the question again
upvoted 5 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago