How should the solutions architect design the solution?

A company wants to build an online marketplace application on AWS as a set of loosely coupled microservices. For this application, when a customer submits a new order, two microservices should handle the event simultaneously. The Email microservice will send a confirmation email, and the OrderProcessing microservice will start the order delivery process. It a customer cancels an order, the OrderCancelation and Email microservices should handle the event simultaneously.

A solutions architect wants to use Amazon Simple Queue Service (Amazon SOS) and Amazon Simple Notification Service (Amazon SNS) to design the messaging between the microservices.

How should the solutions architect design the solution?
A . Create a single SQS queue and publish order events to it. The Email. OrderProcessing. and Order Cancellation microservices can then consume messages of the queue.
B . Create three SNS topics for each microservice. Publish order events to the three topics. Subscribe each of the Email. OrderProcessing. and Order Cancellation microservices to its own topic.
C . Create an SNS topic and publish order events to it. Create three SQS queues for the Email. OrderProcessing. and Order Cancellation microservices. Subscribe all SQS queues to the SNS topic with message filtering
D . Create two SQS queues and publish order events to both queues simultaneously. One queue is for the Email and OrderProcessing microservices. The second queue is for the Email and Order Cancellation microservices.

Answer: D

Latest SAA-C02 Dumps Valid Version with 230 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments