AWS Certified Developer Associate DVA-C02 Practice Question

A company is developing a serverless payment API that triggers an AWS Lambda function to process credit-card charges. Because of intermittent network failures, the frontend may automatically retry failed HTTP requests. Which mechanism should the developer add to each API request so that a customer is never charged more than once if a retry occurs?

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

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

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