The interview problem

Practice prompt

Distribute a new 400 GB model artifact to 1,000 serving hosts without saturating the origin or disrupting inference. Hosts can fail during transfer. Explain how you know a host has the correct version and how traffic moves to it safely.

Original practice scenario informed by an unverified, second-hand Anthropic Staff infrastructure interview report. The report labels the interview June 2026 and was posted July 3, 2026; it is not company confirmation. All numbers, requirements and solution choices here are our own illustrative assumptions. Reviewed September 26, 2026.

1. Separate delivery from activation

Ask whether every host needs the complete artifact or only a tensor-parallel shard, whether local disk can hold two versions, and whether the deadline means downloaded, loaded into GPU memory, or actually serving requests. Assume each host needs one full artifact on local disk, but a serving replica may consist of multiple hosts. The old version must remain available until the new replica passes readiness checks.

Define three independent milestones: verified bytes on disk, a healthy loaded replica, and permission to receive production traffic. Download completion proves only the first. A practical 45-minute answer spends 5 minutes on constraints, 10 on distribution, 10 on correctness, 10 on rollout and 10 on failure drills. Start with ordinary object-store downloads; introduce peer transfer only after showing the bottleneck.

2. Use immutable artifacts and a durable rollout record

The publisher writes immutable chunks and then commits a manifest containing model version, ordered chunk digests and sizes, total size, runtime compatibility and required tokenizer/configuration versions. Authenticate the manifest through a trusted publisher or signature. A checksum detects corruption; an untrusted checksum does not establish who produced the model. Keep manifest identity separate from a mutable name such as “latest.”

A proposed POST /rollouts accepts the manifest digest, target cohort, availability floor and idempotency key. A durable record stores desired generation, target hosts, per-host progress and pause/rollback state. Agents reconcile that state, fetch missing chunks, verify them and atomically publish a local completed manifest after durable writes. GET /rollouts/{id} distinguishes downloading, verified, loading, ready, active and failed counts. Progress reports carry the generation so stale agents cannot activate an obsolete rollout.

Begin with rate-limited downloads from regional object storage through rack-local caches. If origin bandwidth remains the constraint, allow authenticated peers to serve verified chunks. Keep peer discovery and progress metadata in the control plane; model bytes travel directly between storage, caches and hosts. Bound per-host upload bandwidth so distribution cannot starve inference traffic.

Publisher & manifest
Storage & rack caches
Verifying host agents
Replica readiness & routing
The rollout controller sets desired state; transferring bytes and admitting traffic are separate operations.

3. Derive the bandwidth limit

Use decimal units consistently. Sending 400 GB independently to 1,000 hosts moves 400,000 GB from the origin. At an assumed sustainable aggregate origin rate of 20 GB/s, transfer alone takes at least 20,000 seconds, or 5 hours 33 minutes. This is a lower bound, not a predicted completion time. A single host receiving at 2 GB/s needs at least 200 seconds, so fast host links do not fix the shared-origin bottleneck.

With 20 rack caches, each receiving the artifact once, origin traffic falls to 8,000 GB and its lower bound becomes 400 seconds. However, each rack must still distribute 20,000 GB to its 50 hosts. At 40 GB/s sustainable cache egress, that local stage has a 500-second lower bound. Pipelining may overlap stages, but neither bound includes disk writes, hash verification, retries or GPU loading. Measure all of them before promising a ten-minute rollout.

At 256 MB per chunk, the artifact has ceil(400,000 / 256) = 1,563 chunks, with a shorter final chunk. Larger chunks reduce request overhead; smaller ones reduce retry waste and allow earlier forwarding. Old and new full artifacts require at least 800 GB of local disk before temporary files and safety margin. Disk capacity can block a rollout even when the network is idle.

4. Make transfer recovery independent of rollout safety

If a peer disappears midway through a chunk, retry from another source with bounded backoff. Only advertise chunks after verification. Quarantine repeated digest failures and fall back to the trusted origin; do not retry one corrupt peer indefinitely. Persist a verified-chunk bitmap, but revalidate data if crash durability is uncertain. Reserve download space before admitting the host and evict only artifacts not required by active or rollback-pinned replicas.

A central coordinator simplifies placement and bandwidth policy. Its outage should pause new activation, while already authorized transfers may continue within their budgets. For coordinator-free transfer recovery, peers can exchange chunk availability and select missing pieces locally; rare chunks should retain multiple seeds. This does not remove the need for an authoritative rollout decision. A partitioned host must not infer permission to activate merely because its download completed.

Keep version-compatible hosts together within each distributed replica. Load and warm a canary, check startup, representative outputs and latency, then route a small traffic cohort to it. Record request-level version identity and compare against a concurrent baseline. Pause on defined error, quality or latency regressions. Rollback changes routing to healthy old replicas; it cannot instantly restore capacity if the old model was evicted. Drain in-flight streams with a deadline instead of killing every connection at cutover.

5. Choose the simplest topology that meets the deadline

Direct downloads are easy to operate when storage and network capacity suffice. Rack caches reduce shared-link traffic with a small number of managed components. Peer distribution adds aggregate upload capacity, but introduces discovery, slow peers, authorization and network-contention problems. A fixed tree bounds fan-out yet creates parent dependencies; chunk-based multi-source transfer gives more recovery choices at a higher coordination cost. Do not assume a peer protocol is automatically faster on an oversubscribed fabric.

Track bytes served by origin versus peers, verified-host percentiles, per-rack link saturation, corrupt chunks, retries, load time and inference degradation during rollout. “99% downloaded” is not a success metric if the remaining hosts prevent complete replicas from starting. Report usable serving capacity and the oldest outstanding cohort alongside byte progress.

6. Defend the difficult case

Foundation: explain why an intact artifact can still be the wrong version. Senior: recover from a cache failure after half the fleet downloads. Staff: meet a rollout deadline during a rack partition without violating availability or allowing mixed-version replica groups.

Score 0–2 each for bottleneck arithmetic, authenticated immutable state, resumable transfers, replica-level activation and rollback capacity. Award two points only when the mechanism and its limitation are explicit. A strong answer explains when to retain direct downloads rather than introducing peer complexity.

Sources and next steps

Continue with GPU placement and recovery or streaming inference. The architecture, calculations and rubric are original educational material.

Continue your preparation

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