Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Microsoft Certified: DevOps Engineer Expert · Microsoft
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
You have already subscribed to Project1 (which sets up default subscriptions for completed builds). To modify or filter notifications so that you only receive events for failed builds: Running @azure pipelines subscriptions in Microsoft Teams opens the subscription management UI/view for the channel. From this list, you can view existing subscriptions, modify their filters (e.g., set build result status to Failed), or remove default successful build triggers.
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.
Run the @azure pipelines subscriptions command.