AWS Certified Developer Associate DVA-C02 Practice Question

Given a situation where a developer must design an API that processes payment transactions, which of the following approaches BEST ensures that the API handles repeated submissions of the same transaction in an idempotent manner?

  • Implement idempotent receipt tokens that must be submitted with each transaction.

  • Store the state of each transaction in a database with enforced write locks to prevent concurrent writes.

  • Use a stateless protocol that does not require server-side tracking of transaction states.

  • Generate random transaction IDs for each submission and use these IDs to detect duplicates.

AWS Certified Developer Associate DVA-C02
Development with AWS Services
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

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

Bash, the Crucial Exams Chat Bot
AI Bot