The interview problem

Practice prompt

A customer repeatedly restarts a multi-gigabyte upload after network interruptions. Design resumable transfer and cleanup.

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 object storage supports multipart uploads and the application controls authorization. Create an upload session tied to customer, object purpose and expiration. Track acknowledged part numbers and integrity metadata, refresh upload authorization without changing object ownership, and complete only after validating the expected part manifest. Resume missing parts after reconnect. Abort expired sessions and expose progress based on acknowledged bytes.

2. Trace the design or derivation

Create session
  → upload acknowledged parts
  → resume gaps
  → validate manifest
  → complete and clean up

Do not assume a multipart object's ETag is a whole-file MD5 checksum. Use the storage provider's documented checksum features or an independently computed application digest. Customer acceptance should interrupt the upload near completion and verify the final object matches the intended file, not merely that the progress bar reaches 100%.

3. Calculate the example

A 5 GB file split into 100 MB parts has 50 parts in decimal units. If 47 are confirmed, resume the remaining 300 MB rather than restarting 5 GB. A sent but unacknowledged part is uncertain and should be checked or safely resent.

4. Failure cases and trade-offs

Orphaned parts can incur storage costs, and part ordering errors corrupt the final object. Resumability adds state but dramatically reduces retransmission. Completion must remain bound to the intended customer and expected content, not any caller holding a stale session identifier.

5. Validation, follow-ups and self-review

Test lost acknowledgments, expired authorization, duplicate parts and abandoned sessions. Follow-up: how would whole-file integrity be verified? Self-review: separate transfer completion from application acceptance and cleanup.

Sources and related practice

Technical reference: docs.aws.amazon.com — Multipart upload, completion and abort lifecycle.

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 Design a file-storage service; Resume downloads without mixing object versions.

Continue your preparation

Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.