Data Operations and Support

A pipeline submits records to an API that supports idempotency keys; requests can time out after acceptance, return HTTP 429 with Retry-After, or return HTTP 400 for invalid fields. Which client behaviors prevent duplicate submissions and handle these responses appropriately? (Choose three.)

Choose 3 answers

Show the answer

Correct answersA. Wait for the Retry-After interval before retrying a throttled request.B. Reuse the original idempotency key when retrying a timed-out submission.E. Flag validation failures for correction instead of retrying unchanged requests.

AWhy this is right: Retry-After tells the client how long to wait before retrying a throttled request.

BWhy this is right: The original key lets the API recognize a retry even if the initial request was already accepted.

CWhy not this: Unchanged invalid records will continue to fail validation rather than becoming valid through retries.

DWhy not this: Immediate concurrent retries can worsen throttling and disregard the server's retry guidance.

EWhy this is right: Invalid fields require correction; repeating an unchanged request will not fix the validation error.

FWhy not this: A new key can cause the API to treat the retry as a separate submission and create a duplicate.

Reusing an idempotency key prevents a timed-out retry from creating a duplicate. Retry-After governs throttling retries, while invalid fields require correction; generating a new key can make a retry appear to be a new submission.