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?

  • Generate a unique identifier for each operation, allowing the service to detect and ignore retries of transactions that have already been executed.

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

  • Record the timestamp for each operation and only process requests if subsequent submissions occur after a specific time interval.

This question's topic:
AWS Certified Developer Associate DVA-C02 / 
Development with AWS Services
Your Score:

Check or uncheck an objective to set which questions you will receive.