Courseiva

AZ-204 Practice Question: Connect to and consume Azure services and third-party services

Which TWO Azure services can be used to implement a publish-subscribe messaging pattern?

⚠ Common exam trap

Test-takers frequently confuse Azure Event Hubs (a telemetry ingestion service) with a publish-subscribe broker, since both support multiple consumers, but Event Hubs uses consumer groups for partitioned stream processing, not topic subscriptions with independent message copies.

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

Azure Event Grid

Azure Service Bus Topics (Option D) natively implement a publish-subscribe pattern by allowing multiple subscriptions to receive copies of messages sent to a topic. Azure Event Grid (Option B) is a fully managed event routing service that uses a publish-subscribe model, where publishers send events and subscribers handle them via webhooks or Azure services. Both support decoupled communication with multiple receivers.

Answer analysis

Option-by-option breakdown

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

  • Azure Queue Storage

    Why it's wrong here

    Queue Storage is for point-to-point messaging.

  • Azure Event Grid

    Why this is correct

    Event Grid supports pub-sub with event subscriptions.

  • Azure Notification Hubs

    Why it's wrong here

    Notification Hubs is for push notifications.

  • Azure Service Bus Topics

    Why this is correct

    Topics support multiple subscribers and message filtering.

  • Azure Event Hubs

    Why it's wrong here

    Event Hubs is for event streaming, not pub-sub.

About these practice questions

Courseiva writes every AZ-204 question from scratch — 881 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 by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AZ-204 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-204 exam.