An ingestion job reads a paginated API that can return empty pages with continuation tokens and HTTP 429 responses with Retry-After headers. The job must resume after failures without skipping unwritten pages; which approach meets these requirements?
Show the answer
Correct answerC. Follow continuation tokens, honor Retry-After, and save each token after writing its page.
AWhy not this: Saving the next token before the current page is written can cause that page to be skipped after a failure.
BWhy not this: An empty page can still have a continuation token, so stopping can omit subsequent records.
CWhy this is right: Token-based completion, server-directed retries, and post-write checkpoints prevent premature termination and skipped unwritten pages.
DWhy not this: Immediate retries disregard Retry-After and can prolong throttling or exhaust retry attempts.
Continue until the API provides no continuation token, honor Retry-After, and checkpoint only after the page is durably written. Checkpointing before writing can skip a page after a failure; an empty page alone does not indicate completion.