The interview problem
A customer wants an internal document assistant launched in six weeks. Their approved requirement says document content, prompts, answers and derived embeddings must be stored and processed only in a specified set of locations. Your existing product uses global model routing, centralized observability and cross-region backups. Propose a feasible rollout and explain what happens during a regional outage.
Original FDE practice, not a reported company interview. This is an engineering exercise based on a hypothetical customer requirement, not a statement of what any jurisdiction requires. Primary technical references retrieved September 27, 2026.
1. Turn a slogan into an acceptance contract
“Keep data local” is incomplete. Ask the customer's designated security and policy owners to specify the allowed locations, data categories, operations and exceptions. A geographic area, a country and a single cloud region are different constraints. Distinguish storage, processing, network transit and human access: an approved storage region does not by itself authorize overseas support staff to read documents.
Build a matrix with one row per data class: original files, extracted text, chunks, embeddings, user queries, generated responses, caches, telemetry, identifiers and backups. For each, record allowed destinations, retention, access roles and an owner. Treat embeddings and excerpts as covered derived data unless the approved requirement explicitly says otherwise. A hashed identifier is not automatically anonymous.
For this solution, assume two cloud regions A and B are explicitly approved for content processing and recovery. Globally distributed static assets contain no customer content. Only approved, content-free aggregate operational metrics may leave A and B. Remote support requires separately authorized access. If only A were approved, the design would sacrifice region-wide failover rather than quietly use B.
2. Trace the complete request and its side effects
Map upload → object storage → parsing/OCR → embedding → vector index → retrieval → generation → answer delivery. Then add less visible branches: message queues, dead-letter queues, traces, crash reports, prompt caches, temporary files, managed abuse monitoring, model evaluation exports and support downloads. An architecture diagram that omits error handling can hide its most frequent data copies.
Record the actual service, configuration, processing destination and evidence for each edge. A provider's regional entry endpoint is not proof that inference stays in that region. Amazon Bedrock, for example, documents cross-region inference profiles whose destination scope differs between geographic and global profiles. Verify the selected model and profile against the customer's allowed set; a geography-wide profile can still be too broad for a two-region allowlist.
Do not rely solely on a contractual description or solely on a network firewall. Contractual/service evidence explains managed-service behavior; runtime configuration and observed destinations test your own integration. Identify unknowns explicitly and block the affected feature until resolved.
3. Build regional data planes with explicit routing
Give each tenant an authenticated policy record containing its permitted regions and a policy version. The routing service chooses only eligible deployments with required model capabilities. A client-supplied region header cannot override this policy. Recheck eligibility at inference, ingestion and background-job boundaries; a queue message created under an old policy must not retain unlimited authorization after the policy changes.
Within A, run ingestion workers, encrypted storage, retrieval indexes, model access, queues and content-bearing logs in the approved boundary. Use service identities and destination restrictions to prevent accidental calls to global fallbacks. Keep secrets, decryption permissions and support access scoped to the tenant and operation. Encryption protects access to content but does not make an unapproved processing destination acceptable.
Maintain recovery copies in B only because B is explicitly allowed. Document which stores are authoritative and which can be rebuilt. Object replication is not a transactionally consistent copy of the vector index, permissions database and ingestion queue. Restore a known manifest and replay changes, or hold the tenant unavailable until consistency checks pass.
A minimal global control plane may carry routing IDs and service health only if those fields are approved to leave the boundary. If identifiers themselves are restricted, regionalize that control plane too. Avoid putting document titles or query text into otherwise harmless-looking metric labels.
4. Quantify recovery and regional capacity
Assume 2 TB of source data, decimal units, and sustained effective copy throughput of 100 MB/s within the approved locations. A full copy alone takes 20,000 seconds, about 5.56 hours. Index construction, permission restoration and validation add time. This cannot support a one-hour recovery-time objective from a cold start.
Suppose A receives 20 mutations per second and the recovery stream is 15 minutes behind at failure. Up to 18,000 mutations fall in that lag window; this is potential unavailable or lost recent state if no other durable source can recover it, not a claim that every mutation is certainly lost. Track measured replication lag and choose a recovery-point objective that the actual durable pipeline can support.
For an asynchronous workload arriving at 40 jobs/s, a two-hour outage creates 288,000 queued jobs if the approved durable intake remains available. A recovered fleet processing 100 jobs/s while new work continues has 60 jobs/s of spare capacity, so catch-up takes 4,800 seconds, or 80 minutes. This excludes warm-up and assumes steady service rate. Interactive requests should normally fail with a clear retry path or use a preapproved fallback, rather than wait invisibly in that backlog.
Capacity must be available in an eligible region. Spare capacity elsewhere is irrelevant to this tenant. Negotiate the trade-off between reserved recovery capacity, lower availability and a narrower feature set before launch.
5. Make the six-week plan produce evidence
Weeks 1–2: agree the data matrix and failure policy; inventory third-party behavior; build a synthetic-data vertical slice. Resolve unsupported regional model or OCR capabilities early. Deliver a gap list with a named owner and decision date, rather than a green status based on the main database alone.
Weeks 3–4: enforce tenant routing, regionalize logs and backups, test deletion and restoration, and exercise denied destinations. A test should force the normal model endpoint to fail and verify that no global fallback receives the prompt. Seed recognizable synthetic markers in documents and inspect permitted sinks for expected copies and prohibited sinks for leaks. This is useful evidence, not a proof that all possible paths have been covered.
Weeks 5–6: run an approved limited pilot, validate access controls and regional capacity, rehearse outage handling and produce a handover package. Include deployed configuration, service evidence, test results, residual gaps, alert ownership and a rollback procedure. Customer acceptance should refer to those artifacts and the agreed scope.
Roll out by tenant and feature with explicit gates. If a required service is unavailable in A and B, offer a narrower workflow, an approved alternative or a changed schedule. Do not imply that the FDE can approve a new processing location on the customer's behalf.
6. Handle incidents without widening the boundary
If A fails and B is healthy, switch only after verifying B's readiness, tenant authorization and recovery state. Fence old writers and manage retries so recovery does not duplicate side effects. If no allowed deployment is ready, stop the affected operation and communicate the availability limitation. A service-level target does not silently override the location constraint.
If a trace unexpectedly contains content in a central sink, stop further export, preserve appropriate incident evidence, identify affected records and follow the agreed incident process. A rollback changes future behavior; it does not remove copies already sent. Determine retention and deletion handling with the responsible owners instead of claiming instant eradication.
After launch, monitor configuration drift, changes in provider routing destinations and new dependencies. Revalidate restored backups and newly enabled features. S3 documentation distinguishes live replication of new/updated objects from batch replication of existing objects; merely enabling a replication rule does not demonstrate that historical recovery data is present.
7. Practice the customer conversation
Foundation: explain why local storage does not establish local processing. Senior: find the hidden content paths and demonstrate a denied global fallback. Staff: negotiate a single-region availability limit, account for service changes and design a sustainable evidence review.
Score 0–2 each for explicit requirements, complete data-flow mapping, enforceable routing, realistic recovery arithmetic and a testable handover. A strong answer says which facts are verified and which decisions still belong to the customer. Continue with customer discovery and pilot-to-production planning.
Sources and next steps
- Amazon Bedrock: cross-region inference — destination scope depends on inference-profile type and configuration.
- Amazon S3: replicating objects within and across regions — asynchronous replication and the distinction between live and batch copying.
The customer scenario, architecture and calculations are original. Service behavior must be checked for the actual deployment; these references do not certify the complete application or determine the customer's policy.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.