The interview problem
A customer uploads 100,000 records and receives a timeout after some records were accepted. Plan a safe retry and reconciliation.
Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.
1. Scope and worked approach
Assume stable customer record IDs and a destination that can report per-record outcomes. Assign an import ID and immutable file digest, validate first, then write chunk results to a durable manifest. Retry only unknown or retryable items with per-record idempotency keys; rejected records go to a correction file with actionable reasons. Reconcile destination counts and IDs against the manifest before telling the customer the import is complete.
2. Trace the design or derivation
Validate file → create immutable import → process chunks → persist outcomes → reconcile unknowns
The customer correction file needs source row identity, rejection reason and whether resubmission creates or updates a record. Avoid asking them to upload the whole original file blindly. Acceptance requires every input ID to land in one explicit terminal or unresolved state with totals reconciled to the file manifest.
3. Calculate the example
Of 100,000 records, 96,000 are confirmed accepted, 3,000 rejected and 1,000 unknown after timeout. Progress is 96% confirmed accepted, not 99% successful. The 1,000 unknown records need reconciliation before replay can be assumed safe.
4. Failure cases and trade-offs
A request timeout does not imply rollback. Reusing an import ID with changed file contents corrupts audit meaning. Whole-file atomicity simplifies semantics but may be unavailable or expensive; partial acceptance requires explicit recovery state and customer-visible correction ownership.
5. Validation, follow-ups and self-review
Test timeout-after-commit, repeated chunks and corrected reimports. Follow-up: what if the destination has no idempotency support? Self-review: keep rejected, accepted and unknown states distinct.
Sources and related practice
Technical reference: google.aip.dev — Batch create contracts; partial-result semantics must be checked per provider.
Source publication/update: Not established. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.
Continue with Reconcile conflicting records across customer systems; Define null, empty and absent field semantics.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.