
Ultimate access to all questions.
In a serverless application for concert seat selection, which architecture ensures that in case of duplicate seat sales, the first order is prioritized for seat allocation and payment processing, and if its payment fails, the second order is then processed?
A
Distribute order IDs via an Amazon SNS FIFO topic to separate Amazon SQS FIFO queues for concurrent inventory management and payment processing.
B
Initiate inventory management with the Lambda function generating order IDs, followed by initiating payment processing.
C
Send order IDs through an Amazon SNS topic with Lambda functions for inventory and payment processing subscribed to receive these IDs.
D
Insert order IDs into an Amazon SQS queue for polling by Lambda functions responsible for inventory management and payment processing.