⚡Flash Sale: 33% off Annual Membership, limited time only!⚡

CompTIA Study Materials
AWS Study Materials
AWS Certified Developer Associate AWS Certified Developer Associate
AWS Certified Developer Associate DVA-C02
AWS Certified Solutions Architect Associate AWS Certified Solutions Architect Associate
AWS Certified Solutions Architect Associate SAA-C03
AWS Cloud Practitioner AWS Cloud Practitioner
AWS Cloud Practitioner CLF-C02
Microsoft Study Materials
Microsoft Azure Fundamentals Microsoft Azure Fundamentals
Microsoft Azure Fundamentals AZ-900

Free 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?

  • Track the status codes from previous submissions and use them to determine if the operation should be retried.

  • 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.

  • Integrate a distributed tracing service to handle de-duplication of transaction requests.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Development with AWS Services
Your Score:
Development with AWS Services
Security
Deployment
Troubleshooting and Optimization