Connect to and consume Azure services and third-party services →mediumMultiple ChoiceObjective-mapped
AZ-204 Practice Question: Connect to and consume Azure services and third-party services
An application publishes order events that multiple independent subscribers must process. Subscribers may be added later without changing the publisher. Which Azure messaging service should be used?
⚠ Common exam trap
Watch out — candidates often confuse Azure Storage Queue (point-to-point) with Service Bus topics (pub/sub), mistakenly thinking a queue can serve multiple independent subscribers when it actually requires a single consumer or competing consumers pattern.
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 topic
Azure Service Bus topics support a publish/subscribe pattern where multiple independent subscribers can each receive a copy of the same message. This decouples the publisher from subscribers, allowing new subscribers to be added later without modifying the publisher. The topic's subscription mechanism ensures each subscriber processes the event independently.
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 Blob Storage lifecycle policy
Why it's wrong here
Azure Blob Storage lifecycle policies are designed to manage the lifecycle of objects (blobs) within storage accounts, automating tasks like tiering, archiving, and deletion based on defined rules. They operate purely on stored data and lack any messaging or event distribution capabilities, making them entirely unsuitable for publishing order events to multiple independent subscribers. This service is for data retention and cost optimization, not real-time event broadcasting.
- ✗
Azure Storage Queue
Why it's wrong here
Azure Storage Queues provide a simple, cost-effective, and durable message queuing service primarily for point-to-point communication between application components. While they facilitate asynchronous message processing, each message is typically consumed by a single receiver and then removed from the queue. This design does not natively support the publish-subscribe pattern where multiple independent subscribers each receive their own copy of an event, as required for broadcasting order events.
- ✗
Azure Cache for Redis list only
Why it's wrong here
Azure Cache for Redis, when limited to 'list only' functionality, primarily offers data structures like lists for queue-like operations or managing ordered collections. While Redis itself has a robust PUBLISH/SUBSCRIBE feature, relying solely on lists would mean implementing a custom polling mechanism for each subscriber, which is inefficient and does not provide a managed, enterprise-grade pub-sub solution. It lacks the built-in message delivery guarantees and subscriber management features needed for reliable event distribution.
- ✓
Azure Service Bus topic
Why this is correct
Azure Service Bus topics are purpose-built for enterprise-grade publish-subscribe messaging scenarios, enabling a publisher to send messages to a topic that can then be delivered to multiple independent and competing subscriptions. Each subscription acts as a virtual queue, receiving its own copy of the messages published to the topic, and can be configured with filtering rules to selectively receive events. This architecture perfectly supports the requirement for multiple independent applications to consume order events without affecting each other.
Go deeper
Related to this question
Learn chapter
Azure Functions Development
Key term
Azure Queue Storage
Azure Queue Storage is a cloud service for storing and retrieving large numbers of messages that can be accessed from anywhere, enabling asynchronous communication between application components.
Key term
Azure Service Bus
Azure Service Bus is a cloud-based message broker that allows applications, services, and devices to send and receive messages reliably, even when they are not all running at the same time.
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 →
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.