AZ-304 Exam QuestionsBrowse all questions from this exam

AZ-304 Exam - Question 158


You are developing a sales application that will contain several Azure cloud services and will handle different components of a transaction. Different cloud services will process customer orders, billing, payment, inventory, and shipping.

You need to recommend a solution to enable the cloud services to asynchronously communicate transaction information by using REST messages.

What should you include in the recommendation?

Show Answer
Correct Answer: A

The solution should include Azure Service Bus. Azure Service Bus is a cloud messaging service that offers reliable and secure asynchronous message queuing. It enables cloud services to communicate with one another asynchronously using a store-and-forward mechanism, which is ideal for transaction-related components like customer orders, billing, payment, inventory, and shipping. Other options like Azure Data Lake, Azure Traffic Manager, and Azure Application Gateway do not provide the asynchronous messaging capabilities required for this scenario.

Discussion

6 comments
Sign in to comment
Adnank
Sep 11, 2021

Answer is Correct. Asynchronous messaging can be implemented in a variety of different ways. With queues, topics, and subscriptions, Azure Service Bus supports asynchronism via a store and forward mechanism. Reference: https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-async-messaging

pikk
Sep 11, 2021

correct had on exam today

syu31svc
Oct 4, 2021

This is A for sure; others are completely wrong for this use case

sujitwarrier11
Jan 12, 2022

It says REST messages. not sure if service bus uses REST messages. Could it be Azure Application gateway? One way of implementing microservices architecture is to hit the other api directly from your code to get required data. Bad way to implement it but still an option.

Gluckos
Feb 4, 2022

I'm agree with you anyway exists rest protocol to send and receive messages in servicebus.. but could be a microservices communication via API gateway, I think Service bus is the best one.

gssd4scoder
Oct 10, 2021

A sounds correct

EitantOption: A
Dec 23, 2021

Correct answer