Courseiva

AZ-400 Configure processes and communications Practice Question

Your company uses Microsoft Teams for collaboration. You want to send notifications to a Teams channel whenever a build pipeline in Azure Pipelines fails. Which approach should you use?

⚠ Common exam trap

The trap is choosing a generic webhook or email subscription because it seems simpler; candidates often miss that the native Azure Pipelines app provides the supported, low-effort subscription model for Teams channels.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Install the Azure Pipelines app for Microsoft Teams and subscribe the channel to pipeline notifications.

The Azure Pipelines app for Microsoft Teams is the officially supported integration that lets you subscribe a Teams channel to pipeline events, including build failures, with rich notifications and actionable cards. Installing the app and configuring the channel subscription is the intended approach. It provides native integration without custom webhooks or email workarounds.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Configure an email subscription in Azure DevOps to send alerts to the Teams channel email address.

    Why it's wrong here

    Email subscriptions in Azure DevOps are designed to notify individual users or groups via email, not to deliver messages directly to a Microsoft Teams channel. Although a Teams channel can be assigned an email address, that relies on extra connector configuration and still doesn't provide the rich pipeline event filtering and interactive cards available from the official integration.

  • ✗

    Set up a webhook in Azure DevOps to post to the Teams channel's incoming webhook URL.

    Why it's wrong here

    A raw webhook can indeed post to a Teams incoming webhook URL, but it requires manually authoring JSON payloads, managing the webhook secret, and maintaining the subscription for every desired pipeline event. This approach is more error-prone and operationally heavier than using the Azure Pipelines app, which abstracts away all of that plumbing and supports richer notification types.

  • ✓

    Install the Azure Pipelines app for Microsoft Teams and subscribe the channel to pipeline notifications.

    Why this is correct

    The Azure Pipelines app for Microsoft Teams is the official integration that lets you subscribe a channel to pipeline events, such as completed builds and releases, failed jobs, and pending approvals. It uses the Teams bot framework to deliver structured, interactive cards and does not require custom code, webhook secrets, or manual service hook construction, making it the recommended and simplest setup.

  • ✗

    Use the 'Post to a Microsoft Teams channel' task in the pipeline.

    Why it's wrong here

    The 'Post to a Microsoft Teams channel' pipeline task only sends a one-time message at the point in the pipeline where it runs, and it still requires an incoming webhook URL to be configured. It lacks the automatic, channel-wide subscription to all relevant pipeline lifecycle events that the Azure Pipelines app provides, so it's a narrower and more manual solution.

About these practice questions

Courseiva writes every AZ-400 question from scratch — 696 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Microsoft exam blueprint

This AZ-400 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AZ-400 exam.