PROFESSIONAL-CLOUD-DEVELOPER · Question #296
You are developing a flower ordering application. Currently you have three microservices: - Order Service (receives the orders) - Order Fulfillment Service (processes the orders) - Notification…
The correct answer is A. Use Azure Service Bus to connect the Order Service to the Order Fulfillment Service and the Notification Service. For efficient and reliable communication in a flower ordering application with microservices, the best approach is "Order request -> Order Service -> Pub/Sub queue -> Order Fulfillment Service -> Firestore Database -> Pub/Sub queue -> Notification Service," ensuring quick…
Question
You are developing a flower ordering application. Currently you have three microservices:
- Order Service (receives the orders)
- Order Fulfillment Service (processes the orders)
- Notification Service (notifies the customer when the order is filled)
You need to determine how the services will communicate with each other. You want incoming orders to be processed quickly and you need to collect order information for fulfillment. You also want to make sure orders are not lost between your services and are able to communicate asynchronously. How should the requests be processed? A. B. C. D.
Exhibits
Options
- AUse Azure Service Bus to connect the Order Service to the Order Fulfillment Service and the Notification Service
- BUse Azure Event Grid to connect the Order Service to the Order Fulfillment Service and the Notification Service
- CUse Azure Event Hubs to connect the Order Service to the Order Fulfillment Service and the Notification Service
- DUse Azure Queue Storage to connect the Order Service to the Order Fulfillment Service and the Notification Service
How the community answered
(43 responses)- A74% (32)
- B7% (3)
- C14% (6)
- D5% (2)
Explanation
For efficient and reliable communication in a flower ordering application with microservices, the best approach is "Order request -> Order Service -> Pub/Sub queue -> Order Fulfillment Service -> Firestore Database -> Pub/Sub queue -> Notification Service," ensuring quick processing and asynchronous communication without data loss. https://cloud.google.com/pubsub/docs/overview
Topics
Community Discussion
No community discussion yet for this question.



