🔥 3-day streak
AWS Certified Developer - Associate98 / 150
Question 98 of 150

A developer builds a payment-processing Lambda function triggered by an SQS queue. During load testing, the team notices that occasionally the same payment message is processed twice, resulting in duplicate charges. This happens because SQS standard queues can deliver a message more than once. Which approach BEST prevents duplicate charges while keeping the function reliable?

Reviewed for accuracy · Report an issueNext question