AZ-204 Azure Messaging & Event-driven Solutions 1 — Questions and Answers
Question 1: Which Azure messaging service supports the AMQP protocol and provides enterprise-grade guaranteed message delivery with queues and topics?
- Azure Event Grid
- Azure Service Bus (Correct answer)
- Azure Event Hubs
- Azure Queue Storage
Correct answer: Azure Service Bus
Azure Service Bus supports AMQP 1.0 and provides enterprise messaging with queues and topics/subscriptions for guaranteed, ordered delivery.
Question 2: Which Azure service is best suited for reactive, event-based architectures where you need to route events from Azure services to event handlers?
- Azure Service Bus
- Azure Queue Storage
- Azure Event Grid (Correct answer)
- Azure Event Hubs
Correct answer: Azure Event Grid
Azure Event Grid is designed for event-driven architectures, routing events from sources like Azure Blob Storage to handlers like Azure Functions using a publish-subscribe model.
Question 3: What Azure Service Bus feature allows you to process related messages in a guaranteed order by a single consumer?
- Topics and subscriptions
- Message sessions (Correct answer)
- Dead-letter queues
- Message locks
Correct answer: Message sessions
Message sessions enable ordered, exclusive processing of related message sequences by locking a session-aware consumer to messages sharing the same session ID.
Question 4: In Azure Event Hubs, what is a 'consumer group'?
- A collection of event publishers sending to the same hub
- A view of the entire event hub that enables multiple consuming applications to read the stream independently (Correct answer)
- A logical partition that stores and sequences events
- A filter applied to incoming events before they are stored
Correct answer: A view of the entire event hub that enables multiple consuming applications to read the stream independently
A consumer group is a view of an entire Event Hub that allows multiple consuming applications to each read the event stream at their own pace and offset independently.
Question 5: Which Azure messaging service is designed for high-throughput data streaming and telemetry ingestion, such as IoT device data?
- Azure Service Bus
- Azure Queue Storage
- Azure Event Grid
- Azure Event Hubs (Correct answer)
Correct answer: Azure Event Hubs
Azure Event Hubs is optimized for high-throughput data streaming scenarios like telemetry ingestion, capable of handling millions of events per second.
Question 6: In Azure Service Bus, which feature provides a secondary sub-queue where messages are sent after exceeding the maximum delivery count?
- Scheduled queue
- Deferred queue
- Dead-letter queue (Correct answer)
- Retry queue
Correct answer: Dead-letter queue
The dead-letter queue (DLQ) is a secondary sub-queue that automatically receives messages that exceed the maximum delivery count or are explicitly dead-lettered by the consumer.
Question 7: What delivery model does Azure Event Grid use when sending events to subscribers?
- Pull model where subscribers poll for events
- Push model with configurable retry policies (Correct answer)
- Batch polling at fixed time intervals
- Store-and-forward with manual retrieval
Correct answer: Push model with configurable retry policies
Event Grid uses a push model where events are actively pushed to registered subscriber endpoints with configurable retry policies to handle delivery failures.
Which Azure messaging service supports the AMQP protocol and provides enterprise-grade guaranteed message delivery with queues and topics?