An ingestion job pulls records from a third-party REST API that returns results in pages, each with a cursor for the next page. During large pulls, the API starts answering some page requests with HTTP 429 Too Many Requests. How should the job continue so that it collects every record once?
Show the answer
Correct answerA. Retry the same page request with exponential backoff and jitter, then keep following the next-page cursor.
AWhy this is right: Backing off with jitter respects the API's rate limit, and retrying the same cursor keeps the sequence complete without duplicates.
BWhy not this: Restarting from the first page collects records again and may never finish if throttling recurs.
CWhy not this: Immediate retries keep the request rate high, so the API keeps throttling the client.
DWhy not this: Skipping a throttled page loses its records, and a cursor-based API does not expose page numbers to jump ahead.
HTTP 429 means the client is sending too fast. Waiting with exponential backoff and jitter lets the API recover, and retrying the same cursor keeps the pull complete without duplicates. Restarting from page one reloads records already collected, and immediate retries keep the client throttled.