AZ-400 · Question #500
You have an Azure subscription that contains an Azure Pipelines pipeline named Pipeline1 and an app named App1. Pipeline1 is used to automate the building of App1. You have a Slack channel named App1c
The correct answer is C. a subscription. Explanation Option C (a subscription) is correct because Azure DevOps allows you to create event subscriptions that listen for specific pipeline events - such as a successful build - and trigger outgoing notifications to external services like Slack via a webhook. A subscription
Question
Options
- Aa notification
- Ban alert rule
- Ca subscription
- Dan action group
How the community answered
(63 responses)- A5% (3)
- B3% (2)
- C81% (51)
- D11% (7)
Explanation
Explanation
Option C (a subscription) is correct because Azure DevOps allows you to create event subscriptions that listen for specific pipeline events - such as a successful build - and trigger outgoing notifications to external services like Slack via a webhook. A subscription is specifically designed to connect Azure DevOps events to external endpoints, making it the ideal tool for this scenario.
Option A (a notification) is incorrect because Azure DevOps notifications are primarily used to send emails to users or teams within Azure DevOps, not to trigger external webhooks for third-party services like Slack.
Option B (an alert rule) is incorrect because alert rules belong to Azure Monitor and are used to trigger responses based on metric or log conditions in Azure resources - not pipeline build events in Azure DevOps.
Option D (an action group) is also incorrect because action groups work in conjunction with Azure Monitor alert rules to define what happens when an alert fires; they are not used to monitor pipeline events or send webhook notifications based on build outcomes.
Memory Tip:
Think of a subscription like "subscribing" to a newsletter - you subscribe to an event (successful build) and choose where to deliver it (the Slack webhook). When you see "notify an external service based on a pipeline event," think subscription.
Topics
Community Discussion
No community discussion yet for this question.