Azure Messaging Solution: Transactional Support, Duplicate Detection, and Unlimited Storage | Exam AZ-204

Azure Messaging Solution

Question

You are developing an Azure messaging solution.

You need to ensure that the solution meets the following requirements: -> Provide transactional support.

-> Provide duplicate detection.

-> Store the messages for an unlimited period of time.

Which two technologies will meet the requirements? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

AB.

The Azure Service Bus Queue and Topic has duplicate detection.

Enabling duplicate detection helps keep track of the application-controlled MessageId of all messages sent into a queue or topic during a specified time window.

Incorrect Answers: C: There is just no mechanism that can query a Storage queue and find out if a message with the same contents is already there or was there before.

D: Azure Event Hub does not have duplicate detection Reference: https://docs.microsoft.com/en-us/azure/service-bus-messaging/duplicate-detection.

To meet the given requirements, two technologies that can be used are Azure Service Bus Topic and Azure Event Hub.

Azure Service Bus Topic is a messaging service that supports publish/subscribe messaging pattern. It provides transactional support and allows duplicate detection by specifying a unique message ID. It can also store messages for an unlimited period of time in a subscription. A topic can have multiple subscriptions and each subscription can have its own rules for message filtering and routing.

Azure Event Hub is a big data streaming platform that can handle millions of events per second. It provides a publish/subscribe messaging pattern and supports transactional messaging. It allows duplicate detection by specifying a unique message ID and can store events for a configurable retention period, up to several days. Event Hubs can also scale up to handle large volumes of data and support advanced features like capture and stream processing.

Azure Service Bus Queue is another messaging service that supports point-to-point messaging pattern. It provides transactional support and allows duplicate detection by specifying a unique message ID. However, it has a maximum retention period of 7 days and is not suitable for storing messages for an unlimited period of time.

Azure Storage Queue is a queue service that provides reliable messaging for workflow processing and communication between components. It supports only point-to-point messaging and does not provide transactional support. Although it has no maximum retention period, it is primarily designed for short-lived messages and may not be suitable for storing messages for an unlimited period of time.

Therefore, the correct answers are A. Azure Service Bus Topic and D. Azure Event Hub as they both meet the requirements of providing transactional support, duplicate detection, and storing messages for an unlimited period of time.