The interview problem
A customer’s sandbox contains 80 CRM cases. Your AI support assistant’s connector passes every test there. The customer wants to index 120,000 production cases within one hour and says, “Just switch credentials.” Production has pagination, restricted fields and a quota shared with other applications. As the FDE, establish what is ready, resolve the gaps and present a launch decision.
Original FDE practice, not a reported company interview. The CRM, workload and quotas are invented. Primary provider documentation supplies technical background, not evidence that this scenario occurred at a company. Sources retrieved September 27, 2026; publication dates unstated; interview date not applicable.
1. Agree what success must demonstrate
Separate the initial import deadline from the freshness target for subsequent changes. “Refresh within an hour” might mean a complete rescan or making changed records visible within an hour. Those require different request budgets. For the first calculation, assume the customer requires a full import of all 120,000 eligible cases within one hour.
Define the eligible corpus, required fields, end-user permissions and evidence of completeness with the customer’s system owner. Confirm the real service principal, API version, licensed capabilities and other applications using the account. An administrator’s successful test does not prove the connector’s production principal can read the required data.
Keep the initial validation read-only and the resulting index out of customer-facing answers. The customer system owner confirms source semantics and reference data; the integration engineer owns adapter behavior; the data/security owner confirms access boundaries; the delivery owner accepts the launch scope and residual gaps. Assign evidence and decisions to people rather than asking vaguely whether the environment is ready.
2. Make environment differences visible
Create a parity matrix with documented, observed and unknown states. Record evidence time, API version, principal, test scope, owner and next verification step. Unknown is not a pass, but prioritize gaps by their effect on the agreed workflow.
| Dimension | Sandbox evidence | Production question |
|---|---|---|
| Volume and pagination | 80 records fit one page | Can traversal recover the entire eligible set? |
| Fields and permissions | Broad test credential sees all fixtures | Does the service principal see required fields without extra access? |
| Rate and concurrency | Short serial run succeeds | What budget remains after other applications? |
| Latency and payloads | Small, fast responses | What are page size, duration and downstream processing costs? |
| Changes and deletion | Static fixtures | How are edits, tombstones and permission removals represented? |
| Configuration | Known version and test features | Are schema, license flags, region and network routes equivalent? |
Also inspect token expiry, time zones, nullable fields, Unicode, joins and record lifecycle states. A configuration export can prove settings but not necessarily behavior. Keep both documented expectations and observed deviations.
3. Expose the hidden pagination and capacity failures
Assume the production endpoint returns up to 100 records per page and the reference snapshot contains 120,000 eligible cases. A connector that reads only the first page imports 100 records, covering just 0.0833% and missing 119,900. All 80 sandbox cases fit in one response, so its happy-path fixture could not reveal this bug.
Fixing traversal reveals a second problem: the adapter makes a separate detail request for every case. With full pages and no failures:
list requests = 120,000 / 100 = 1,200 single-case requests = 120,000 total requests = 121,200
For this fictional CRM, assume an account ceiling of 10 requests/second and an agreed connector budget of 8, reserving 2 for other applications. The budget applies across connector replicas, not separately to each worker.
ideal duration = 121,200 / 8 = 15,150 seconds
= 4 hours, 12 minutes, 30 secondsThat already exceeds one hour before retries, response latency and indexing. Scheduling a full scan every hour would demand 2,908,800 successful requests per day; overlapping jobs do not increase the shared quota. Do not promise that adding workers will solve an account-level limit.
If the list response contains every required, permitted field, removing detail lookups reduces the scan to 1,200 requests. Its rate-only bound is 150 seconds. But if each next cursor depends on the previous response and each page takes 250 milliseconds, the serial chain alone takes 300 seconds. Measure the limiting factor; quota availability is not throughput evidence.
If fields are absent, investigate a documented bulk/export endpoint or an explicitly reduced scope. Another option is initial bootstrap followed by changes: an illustrative hour with 1,500 changed records, 15 full list pages and one detail request per changed record needs 1,515 requests, or 189.375 seconds at the rate-only bound. This assumes the API supplies an appropriate change mechanism; an updated-time filter does not automatically capture deletions or permission changes. The full initial import remains necessary. A one-hour polling interval plus processing time can exceed a one-hour change-freshness target; budget detection delay, queueing, processing and publication together.
4. Use three different kinds of test evidence
Deterministic local fixtures exercise your adapter’s behavior under controlled responses. Include 80, 100, 101 and 250 records, exact page boundaries, cursor expiry, duplicate records, interrupted processing, field denial, null values and schema variation. Match the endpoint’s actual termination contract; do not infer completion merely because one page is short.
Vendor sandbox smoke tests confirm the behaviors that the vendor actually implements there. They do not establish production latency or quota headroom. Stripe’s documentation provides a concrete example of differing sandbox/live limits and latency, and distinguishes request-rate limits from concurrency limits. Its numbers are not the assumed CRM limits in this exercise.
A bounded production canary checks approved records under the real principal, API version and network path. Agree its duration, request budget, reference set and stop conditions with the customer. Initially keep it read-only and out of live answers. A successful canary proves only its tested scope at that time.
Use synthetic fixtures or approved, redacted response shapes rather than copying confidential case bodies into test systems. Preserve relationships, missing fields and permission distinctions while sanitizing. Replacing every identifier independently can break joins and remove precisely the defect the fixture should exercise. Keep secrets and customer content out of diagnostic logs.
5. Repair the connector with explicit progress state
credential-scoped client
↓
shared rate and concurrency controller
↓
page traversal + response validation
↓
permission-aware normalization and idempotent upserts
↓
durable checkpoint + import completeness state
↓
index verification → approved serving pathPersist a page’s results before advancing its durable checkpoint, using a recovery design that tolerates replay. Namespace stable source IDs by customer and source account. Upsert with source revisions where available, rejecting older revisions so a replay cannot overwrite a newer update. A restart that repeats a page must not create duplicate indexed records. A failure after page one must leave the import marked incomplete, even if every request before it returned HTTP 200.
Honor documented retry signals and bounded backoff for transient failures. Coordinate retries across replicas and count attempts against the budget. Authentication and missing-permission errors need an explicit resolution path, not indefinite retries. Inspect provider error details because a status code alone may not identify the cause.
A cursor is not a guarantee of snapshot isolation. Prefer a documented snapshot/export boundary when available. Otherwise use the provider’s change mechanism and a reconciliation strategy, with clear limits on what can be claimed complete while the source changes. A count from an administrator’s UI at a different time is not a reliable reference for the connector’s authorized set.
Never delete local records merely because they are absent from an incomplete scan. Require explicit deletion evidence or a verified complete snapshot with understood visibility semantics. Treat permission revocation separately from physical deletion: inaccessible content must stop being served even if retained for an authorized recovery process. A missing required field should create a visible capability gap; an admin credential must not silently fill in data denied to the intended principal.
6. Define concrete acceptance gates
- Traversal: the exact expected ID set is recovered from all boundary fixtures, including 101 records. Equal counts alone are insufficient: one missing record and one unexpected record cancel numerically.
- Recovery: interruption and replay preserve records without duplication; an unfinished import remains visibly incomplete.
- Access: required fields are observed under the production principal, and negative fixtures do not expose denied records. Record which permission combinations were tested.
- Capacity: the agreed data path fits the request, latency and indexing budget with measured headroom. Rate-only arithmetic is a lower bound, not a launch benchmark.
- Completeness: claims use an independent, scope-matched reference or documented source boundary. State remaining gaps caused by source churn or unsupported change types.
- Operations: owners can stop the import, preserve progress, identify the last complete index and communicate staleness without presenting partial answers as current.
For load tests, use a configurable simulator with representative payload sizes and latency/error distributions informed by approved observations. This validates your system’s behavior under those assumptions; it does not prove the provider has spare capacity. Avoid generating unapproved production load or destructive failures simply to make a test realistic.
Stop the canary for unexpected access expansion, critical normalization failures or exhaustion of the agreed shared budget. A small sample is not a statistical guarantee across all tenants and permissions. Publish its denominator, selection method and uncovered cases.
7. Present the customer with a decision
Deliver a short evidence packet: parity matrix, redacted request references, fixture results, workload calculation, canary findings and unresolved gaps with owners. Distinguish fixes implemented from capabilities still being investigated.
“We found that the sandbox never exercised a second page. The connector now passes multi-page and restart tests. The current production lookup pattern still needs at least four hours for the full import, so it cannot meet the one-hour deadline. We propose validating a bulk data path, or agreeing a longer bootstrap followed by one-hour change freshness. Required-field access and deletion coverage remain launch gates.”
Do not declare the original full-import target achieved by quietly indexing fewer records. If the customer chooses a limited cohort, document its exact boundary and the consequence for answers. If no feasible path exists by the deadline, hold the affected launch scope and give a concrete alternative rather than presenting sandbox success as readiness.
8. Interview follow-ups
- The vendor cannot provide a production-like sandbox. Record the gap, use faithful local fixtures and negotiate a bounded production verification plan. Do not relabel the gap as covered.
- The canary works but a full scan fails. Compare request fanout, shared quotas, cursor latency and index capacity. Small-volume correctness does not establish large-volume feasibility.
- The customer changes the service principal. Repeat access and field-availability checks; prior evidence belongs to the old principal.
- A daily allocation also applies. Include it in the budget and consider exports or change feeds. A per-second limit alone does not establish daily feasibility.
- The deadline is fixed. Offer an explicit scope or freshness trade-off backed by calculations. Do not silently truncate or bypass permissions.
Self-review rubric
A strong answer identifies what the sandbox did not test, catches the pagination failure, derives the detail-request budget and separates rate, concurrency and latency. It defines evidence layers, preserves authorization, verifies ID sets and makes incomplete states visible. An excellent FDE answer ties each unresolved capability to an owner and launch decision while clearly distinguishing an initial import from incremental freshness.
Sources and attribution
- Stripe: Rate limits — provider-specific examples of rate/concurrency limits and sandbox performance differences.
- Stripe: Pagination — an example of documented cursor traversal; verify the actual customer endpoint’s contract separately.
Page publication dates were unstated; both retrieved September 27, 2026. The fictional CRM contract, prompt, calculations and customer decision are original practice material. No company interview attribution is claimed.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.