AWS Certified Developer Associate DVA-C02 Practice Question
When designing a web service for processing financial transactions, what mechanism can a developer implement to prevent duplicate submissions from charging a customer multiple times?
Generate a unique identifier for each operation, allowing the service to detect and ignore retries of transactions that have already been executed.
Record the timestamp for each operation and only process requests if subsequent submissions occur after a specific time interval.
Track the status codes from previous submissions and use them to determine if the operation should be retried.
Integrate a distributed tracing service to handle de-duplication of transaction requests.