nerdexam
Microsoft

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

Submitted by yaw92· Mar 6, 2026Design and implement build and release pipelines

Question

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 App1chat that includes an incoming webhook. You need to ensure that when a successful build of App1 is created, a notification is sent to App1chat by using the webhook. What should you use?

Options

  • Aa notification
  • Ban alert rule
  • Ca subscription
  • Dan action group

How the community answered

(63 responses)
  • A
    5% (3)
  • B
    3% (2)
  • C
    81% (51)
  • D
    11% (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

#Azure Pipelines#Notifications#Webhooks#Event Subscriptions

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice