Question 902 of 997

Quick Answer

The answer is Azure Service Bus Topics and Subscriptions because they provide a true publish-subscribe model where each independent subscriber receives its own copy of every message that matches its filter criteria. This is achieved through SQL filters defined on subscriptions, which evaluate custom message properties to determine delivery, ensuring that subscribers only process relevant messages while the broker guarantees at-least-once delivery through persistent storage. On the AZ-204 exam, this scenario tests your ability to distinguish between Service Bus Topics and other messaging services like Event Grid or Event Hubs, which lack SQL-based filtering or per-subscriber message copies. A common trap is choosing Event Grid for its filtering capabilities, but remember that Event Grid uses event type and subject filtering, not SQL-like property filters, and does not guarantee message delivery in the same way. Memory tip: think “Topic + SQL Filter = Subscriber-specific copies with guaranteed delivery.”

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

This AZ-204 practice question tests your understanding of connect to and consume azure services and third-party services. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

You are building an event-driven application that needs to publish messages to multiple independent subscribers. Each subscriber must be able to filter messages based on custom properties, and each subscriber must receive all messages that match its filter, even if other subscribers have different filters. The solution must guarantee message delivery. Which Azure messaging service should you use?

Question 1mediummultiple choice
Full question →

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 Service Bus Topics and Subscriptions

Azure Service Bus Topics and Subscriptions are designed for publish-subscribe messaging where multiple independent subscribers each receive a copy of every message that matches their filter criteria. The topic allows publishing messages with custom properties, and each subscription can define a SQL-like filter (using the `SqlFilter` class) to select only relevant messages. This ensures that all subscribers receive all messages matching their filter, with guaranteed delivery via the broker's persistent storage and at-least-once delivery semantics.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 provides simple FIFO queues with no built-in filtering or pub/sub pattern.

  • Azure Service Bus Topics and Subscriptions

    Why this is correct

    You can create a topic with multiple subscriptions, each with its own filter. Each subscription receives a copy of messages that match its filter, supporting independent consumption.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Azure Service Bus Queues

    Why it's wrong here

    Service Bus Queues are point-to-point; a message is consumed by a single receiver. They do not support multiple independent subscribers.

  • Azure Event Hubs

    Why it's wrong here

    Event Hubs is designed for event ingestion and streaming. While it supports multiple consumer groups, it does not support message-level filtering like Service Bus topics.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse Azure Service Bus Queues (point-to-point) with Topics (publish-subscribe), or assume Event Hubs can handle per-subscriber filtering, but Event Hubs lacks broker-side filtering and guarantees each event is consumed by only one consumer per consumer group, not by multiple independent subscribers with custom filters.

Detailed technical explanation

How to think about this question

Under the hood, Azure Service Bus Topics use a broker that maintains a separate message copy for each subscription, enabling independent consumption and filtering via `SqlFilter` or `CorrelationFilter` expressions. The `SqlFilter` supports a subset of SQL-92 syntax (e.g., `sys.Label LIKE '%urgent%' OR user.customProp = 'high'`), allowing fine-grained routing. In a real-world scenario, a logistics system might publish a single order event to a topic, with one subscription filtering for 'region=US' to trigger domestic shipping and another filtering for 'value>1000' to trigger insurance processing — both subscriptions receive their matching messages independently, even if the filters overlap.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related AZ-204 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free AZ-204 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this AZ-204 question test?

Connect to and consume Azure services and third-party services — This question tests Connect to and consume Azure services and third-party services — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Azure Service Bus Topics and Subscriptions — Azure Service Bus Topics and Subscriptions are designed for publish-subscribe messaging where multiple independent subscribers each receive a copy of every message that matches their filter criteria. The topic allows publishing messages with custom properties, and each subscription can define a SQL-like filter (using the `SqlFilter` class) to select only relevant messages. This ensures that all subscribers receive all messages matching their filter, with guaranteed delivery via the broker's persistent storage and at-least-once delivery semantics.

What should I do if I get this AZ-204 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.