
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company uses a payment processing system that requires messages for a particular payment ID to be received in the same order that they were sent. Otherwise, the payments might be processed incorrectly.
Which actions should a solutions architect take to meet this requirement? (Choose two.)
A
Write the messages to an Amazon DynamoDB table with the payment ID as the partition key.
B
Write the messages to an Amazon Kinesis data stream with the payment ID as the partition key.
C
Write the messages to an Amazon ElastiCache for Memcached cluster with the payment ID as the key.
D
Write the messages to an Amazon Simple Queue Service (Amazon SQS) queue. Set the message attribute to use the payment ID.
E
Write the messages to an Amazon Simple Queue Service (Amazon SQS) FIFO queue. Set the message group to use the payment ID.
Explanation:
This question addresses the requirement for message ordering by payment ID in a payment processing system. Let's analyze each option:
Correct Answers:
B. Write the messages to an Amazon Kinesis data stream with the payment ID as the partition key.
E. Write the messages to an Amazon Simple Queue Service (Amazon SQS) FIFO queue. Set the message group to use the payment ID.
Incorrect Options:
A. Write the messages to an Amazon DynamoDB table with the payment ID as the partition key.
C. Write the messages to an Amazon ElastiCache for Memcached cluster with the payment ID as the key.
D. Write the messages to an Amazon Simple Queue Service (Amazon SQS) queue. Set the message attribute to use the payment ID.
Key AWS Services for Ordered Message Processing:
Both solutions ensure that messages for the same payment ID are processed in the order they were sent, which is critical for payment processing systems to avoid incorrect payment handling.