The interview problem
Your team wants to retire version 1 of a customer integration in six weeks. Version 2 changes identifier and timestamp semantics. Only 0.2% of requests still use version 1, but two customers depend on it. As the FDE, build a migration and retirement plan with evidence-based readiness, bounded exceptions and a rollback strategy.
Original FDE practice, not a reported company interview. Numerical examples are hypothetical. Primary RFCs retrieved September 27, 2026; interview date not applicable.
1. Inventory consumers before counting traffic
Identify tenants, credential owners, installed connector versions, batch schedules, webhook consumers, partners and retry queues. Join runtime usage with account and integration records. Report telemetry gaps and unidentified clients: missing logs cannot establish that consumers are inactive. A customer running a monthly close may produce no calls during a seven-day observation window. No recent traffic is evidence of inactivity during that window, not evidence of migration.
Maintain a migration register with owner, business workflow, current version, last observed call, expected recurrence, blockers, test evidence and planned cutover. Separate acknowledged notice, started migration and verified completion. A support contact reading an email does not prove the customer's production job changed.
Suppose 998 of 1,000 customers generate 998,000 daily requests on version 2. Two customers generate the remaining 2,000 on version 1. Request migration is 99.8% and customer migration is also 99.8% in this constructed example, yet both remaining customers can suffer complete workflow failure. Neither percentage weights business impact. If those customers run settlement or reporting, classify the consequences explicitly rather than assuming low volume means low importance.
2. Write a semantic compatibility matrix
Compare request fields, response fields, identifiers, timestamp zones, enum values, pagination, errors, retries and webhook signatures. A rename is not equivalent to a semantic change. If version 1 exposes numeric IDs and version 2 permits opaque strings, an old integer parser cannot handle every new ID. If a local timestamp lacks an offset, converting it to UTC may require a timezone and a daylight-saving ambiguity policy.
For each difference, define whether a compatibility adapter is lossless, requires customer configuration or is impossible without changing behavior. Reject unsupported conversions visibly. Do not truncate IDs, guess timezones or silently drop new enum values to make contract tests pass.
Build fixtures from approved sanitized customer scenarios, including empty pages, duplicate deliveries, missing optional fields and error paths. Compare business outcomes as well as payload shape. A connector can return HTTP success while associating every record with the wrong entity.
3. Use a migration path with one writer
consumer inventory → compatibility fixtures → customer sandbox
↓
replay / shadow comparison without side effects
↓
tenant-scoped production cutover
↓
reconciliation → observation → retirement gateKeep the old endpoint available during the announced migration window, with version-specific observability. For selected tenants, shadow read-only transformations or run writes against an isolated test sink. Do not execute both old and new production writes merely to compare responses; that can duplicate orders, tickets or payments.
At cutover, establish which connector owns new work and how in-flight tasks finish. Preserve a stable logical operation ID across versions if the backend supports that contract. Otherwise reconcile accepted tasks before resubmission. Keep operations with unknown remote outcomes pending investigation; an absent local acknowledgement is not proof that replay is safe. A new API version string must not accidentally create a new idempotency namespace for the same business operation.
Record checkpoints in a representation understood by the rollback path. If version 2 creates state that version 1 cannot represent, rollback is not just switching a flag. Require a tested reverse transformation, constrain the rollout to compatible operations or choose a forward repair plan. State this limitation before the pilot.
4. Communicate deprecation and retirement separately
Publish the affected scope, replacement, migration steps, support owner and planned retirement date in a stable migration document. HTTP Deprecation and Sunset signals serve different purposes: deprecation communicates lifecycle status, while Sunset signals expected future unavailability. These headers supplement direct customer coordination; clients may ignore them.
Use the syntax defined by each specification rather than assuming their date formats match. RFC 9745 defines Deprecation as a structured date; RFC 8594 uses an HTTP-date for Sunset. The Sunset signal is a hint about availability, not a transport-enforced shutdown or a cache expiration rule. Implement the actual retirement behavior and documentation separately.
Give customer owners an actionable notice containing their affected connector, observed usage, required changes and validation steps. Track replies and engineering appointments. If a customer cannot meet the date, capture the blocker and proposed alternative early. Do not represent silence as acceptance.
5. Make the six-week plan feasible
Use week one for inventory and semantic fixtures, week two for adapter and sandbox validation, weeks three and four for tenant pilots and reconciliation, and weeks five and six for remaining migrations and operational observation. These are example milestones, not a guarantee that every customer's change process fits six weeks.
Suppose the two remaining customers require six and eight engineer-days respectively, and shared regression work takes four days. Total effort is 18 engineer-days. Two engineers with ten working days each provide 20 nominal days; reserve four for incidents and coordination, leaving 16. For this final ten-working-day allocation, the plan is short by two engineer-days even before external approval delays; effort deficit is not the same as calendar delay. Move scope, add qualified capacity or adjust the deadline instead of treating full utilization as certainty.
An exception should name the tenant, allowed operations, owner, expiration, monitoring and next migration milestone. Keep the exception narrow enough to operate and test. An adapter that accepts every legacy behavior forever simply recreates the retired product. Conversely, an arbitrary cutoff without a viable customer path transfers an engineering schedule problem into an outage.
6. Retire on evidence, not a dashboard percentage
Require completed business-workflow tests, reconciled in-flight operations, no unexplained old-version traffic and an observation period covering relevant scheduled jobs. For a quarterly integration, six quiet weeks cannot establish that the next run will work. Arrange an explicit rehearsal and ownership confirmation, or retain a documented exception until the required evidence exists.
Separate stopping new registrations for version 1, stopping new work, draining retries and removing implementation code. Each has different dependencies. Keep a clear error response and migration reference after retirement where practical; do not redirect requests blindly to an incompatible API and claim success.
Monitor customer-level failures, duplicate operations, backlog age and unresolved exceptions during and after cutover. Define who can halt the rollout and which recovery path is valid. Preserve migration evidence and change history after removing the old service so a later incident can distinguish an unsupported client from a regression in the new version.
7. Failure analysis and self-review
Test a dormant customer returning after retirement, a delayed old webhook, a retry crossing versions, an identifier outside the old range, an ambiguous local timestamp and a rollback after new-only state appears. Rehearse the customer-facing error as well as backend behavior.
Trade-offs: A longer overlap reduces customer disruption but increases maintenance and test scope. An adapter speeds adoption only where semantics can be preserved. Per-tenant exceptions reduce immediate risk but need expiry and ownership. Aggressive traffic-only gates miss infrequent critical workflows.
Follow-ups: Does a deprecation header shut down an API? No. Does zero traffic prove completion? No. Can shadow writes safely duplicate production effects? No. Is rollback guaranteed by preserving the old binary? No, data and operation semantics must remain compatible.
Score 0–2 each for consumer inventory, semantic compatibility, side-effect-safe cutover, realistic scheduling and evidence-based retirement. A strong answer identifies the customer workflow that still fails even when the global dashboard looks green.
Sources and next steps
- RFC 8594: Sunset HTTP header — May 2019; expected unavailability signaling and its limits.
- RFC 9745: Deprecation HTTP response header — lifecycle signaling and structured-date syntax.
The customer scenario, migration plan and effort calculations are original. Continue with legacy API contracts for initial integration behavior and integration cutover for execution and reconciliation detail.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.