exam questions

Exam AZ-300 All Questions

View all questions & answers for the AZ-300 exam

Exam AZ-300 topic 5 question 5 discussion

Actual exam question from Microsoft's AZ-300
Question #: 5
Topic #: 5
[All AZ-300 Questions]

Your company is developing an e-commerce Azure App Service Web App to support hundreds of restaurant locations around the world.
You are designing the messaging solution architecture to support the e-commerce transactions and messages. The solution will include the following features:

You need to design a solution for the Inventory Distribution feature.

  • A. Azure Service Bus
  • B. Azure Relay
  • C. Azure Event Grid
  • D. Azure Event Hub
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Microsoft Azure Service Bus is a fully managed enterprise integration message broker. Service Bus is most commonly used to decouple applications and services from each other, and is a reliable and secure platform for asynchronous data and state transfer.
One common messaging scenario is Messaging: transfer business data, such as sales or purchase orders, journals, or inventory movements.
Incorrect Answers:
B: The Azure Relay service enables you to securely expose services that run in your corporate network to the public cloud.
References:
https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Zixxer2Go
Highly Voted 5 years ago
This link might shed some light on EVENTS versus MESSAGES: https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services?toc=/azure/service-bus-messaging/toc.json&bc=/azure/service-bus-messaging/breadcrumb/toc.json An excerpt here: 1. Event Grid - Use to React to Status Changes 2. Event Hubs - Use for Telemetry and distributed data streaming 3. Service Bus - Use for Order Processing and Financial Transactions Seems like Service Bus for the answer.
upvoted 28 times
praveen97
4 years, 11 months ago
Yes, it is 100% Service Bus. Please see the details in the below link. https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services?toc=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fservice-bus-messaging%2Ftoc.json&bc=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fbread%2Ftoc.json#comparison-of-services
upvoted 2 times
...
ergauravtaneja
4 years, 8 months ago
Using all services together an e-commerce site can use Service Bus to process the order, Event Hubs to capture site telemetry, and Event Grid to respond to events like an item was shipped. using above Link, it's clearly evident Shopping Cart - Service Bus Inventory Distribution - Azure Event Grid Restaurant Telemetry - Azure Event Hub
upvoted 4 times
...
...
schalke04
Highly Voted 5 years ago
ANS: C https://docs.microsoft.com/en-us/azure/event-grid/overview
upvoted 15 times
...
azurecert2021
Most Recent 4 years, 4 months ago
given answer is correct https://azure.microsoft.com/en-in/blog/events-data-points-and-messages-choosing-the-right-azure-messaging-service-for-your-data/ While Azure Event Grid and Azure Event Hubs have a razor-sharp focus on the collection and distribution of events at great scale, and with great velocity, an Azure Service Bus namespace is a host for queues holding jobs of critical business value. It allows for the creation of routes for messages that need to travel between applications and application modules. It is a solid platform for workflow and transaction handling and has robust facilities for dealing with many application fault conditions. A sale recorded in a point-of-sale solution is both a financial record and an inventory tracking record, and not a mere event. It’s recorded in a ledger, which will eventually be merged into a centralized accounting system, often via several integration bridges, and the information must not be lost on the way
upvoted 1 times
azurecert2021
4 years, 4 months ago
Service Bus is intended for traditional enterprise applications. These enterprise applications require transactions, ordering, duplicate detection, and instantaneous consistency. Service Bus enables cloud-native applications to provide reliable state transition management for business processes. Incorrect Answers: A: Azure Event Hubs is a big data pipeline. It facilitates the capture, retention, and replay of telemetry and event stream data. C: Event Grid is an eventing backplane that enables event-driven, reactive programming. D: The Azure Relay service enables you to securely expose services that run in your corporate network to the public cloud.
upvoted 1 times
azurecert2021
4 years, 4 months ago
For shopping cart and Inventory distribution we should use Azure service bus For Restaurant we should use Azure event hub.
upvoted 1 times
...
...
...
SunnyAU
4 years, 9 months ago
Shopping Cart: Service Bus (ordering related) "When handling high-value messages that cannot be lost or duplicated, use Azure Service Bus" "advanced messaging features like FIFO, batching/sessions, transactions, dead-lettering, temporal control, routing and filtering, and duplicate detection" https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services?toc=/azure/service-bus-messaging/toc.json&bc=/azure/service-bus-messaging/breadcrumb/toc.json Inventory Distribution: Event Grid (integration with workflows -e.g. Azure logic Apps, blob storage queues) https://docs.microsoft.com/en-us/azure/event-grid/overview Restaurant Telemetry: Event Hub - "Azure Event Hubs is a big data pipeline. It facilitates the capture, retention, and replay of telemetry and event stream data." https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services?toc=/azure/service-bus-messaging/toc.json&bc=/azure/service-bus-messaging/breadcrumb/toc.json
upvoted 7 times
...
poohtt
4 years, 10 months ago
It'c C for sure. Data sent to Blob, blob triggers event in Event Grid and finally Logic Apps reacts to the event and process the data.
upvoted 2 times
...
chult
4 years, 10 months ago
EventGrid is the right ans https://docs.microsoft.com/en-us/azure/event-grid/compare-messaging-services an e-commerce site can use Service Bus to process the order, Event Hubs to capture site telemetry, and Event Grid to respond to events like an item was shipped.
upvoted 4 times
...
zzTop
4 years, 11 months ago
Answer: C (Event Grid) The type of information being shared are *updates* or inventory changes. If this can be interpreted as event, then Event Grid is more appropriate. Another clue is that the information is being stored in Blob which implies the actual event will have only reference to data. For Service Bus, we would expect the actual message to include the data itself
upvoted 2 times
...
sinslam
4 years, 11 months ago
Possible solutions are Event Grid and Service Bus. Of these 2 Service Bus is the most appropriate for the inventory. My justification is below: * Event grid deals with events- change in the state of azure services. Doesn't concern itself with what triggered the event, what is in the event and what is to be done with it. * Service bus deals with messages- raw data produced by a service to be stored or used elsewhere- and state.
upvoted 2 times
...
_me
4 years, 11 months ago
A is correct. Read section about " common messaging scenarios" : https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview
upvoted 1 times
...
Brimful
4 years, 11 months ago
Surely it's EventGrid? It says that that inventory information is stored on blob storage. Blob storage changes can be subscribed to by the EventGrid as evidenced here: https://docs.microsoft.com/en-us/azure/event-grid/blob-event-quickstart-portal. Finally, EventGrid has connectors to Logic Apps so everything fits together.
upvoted 4 times
cttay71
4 years, 9 months ago
It also says must run separate workflow for each items. if warehouse item, run workflow1, if shopping cart item run workflow2 etc, so Event Grid.
upvoted 1 times
...
...
AnshMan
5 years ago
A is correct, refer to the POS scenario in the below link and same can be applied here with Logic Apps. https://www.codemag.com/article/1112041/Introducing-Queues-and-Topics-in-Azure-Service-Bus
upvoted 1 times
...
P0d
5 years ago
Answer" C As we can create Event Grid. Event Subscription and Topic.
upvoted 2 times
...
jivom
5 years ago
Can anyone explain why a service bus would be preferable over a logic app?
upvoted 1 times
jivom
5 years ago
Over an event grid I meant*
upvoted 3 times
...
...
Pigi_102
5 years ago
Shouldn't be D ( Event HUB ) Event HUB can send data to Storage Ref: https://www.serverless360.com/blog/azure-event-hubs-vs-service-bus
upvoted 2 times
tartar
4 years, 9 months ago
C is ok
upvoted 3 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...