nerdexam
Google

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…

Designing and Implementing Microservices Architectures

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

PROFESSIONAL-CLOUD-DEVELOPER question #296 exhibit 1
PROFESSIONAL-CLOUD-DEVELOPER question #296 exhibit 2
PROFESSIONAL-CLOUD-DEVELOPER question #296 exhibit 3
PROFESSIONAL-CLOUD-DEVELOPER question #296 exhibit 4

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)
  • A
    74% (32)
  • B
    7% (3)
  • C
    14% (6)
  • D
    5% (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

#Microservices Communication#Asynchronous Messaging#Cloud Pub/Sub#Decoupling

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-DEVELOPER Practice