The interview problem
Two approved customer datasets must be joined without exposing raw account identifiers to analysts. Design the mapping.
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
Canonicalize identifiers under an agreed contract and derive scoped tokens with a keyed function or controlled mapping service. Keep keys outside analyst access, include a token version and define which datasets may be linkable. Treat tokens as pseudonymous, not anonymous.
2. Trace the design or derivation
Restricted identifier → canonicalization → scoped keyed token → approved join → lineage
Decide whether old and new token versions may coexist during rotation. A bridge table is sensitive because it restores linkage, so it needs the same governance as the mapping service. Avoid exposing raw values in failed-join diagnostics.
3. Calculate the example
The same account must receive the same token within the approved join scope. Giving it a different token per row prevents joining; using one global token across all customers creates unnecessary cross-context linkage.
4. Failure cases and trade-offs
Plain hashes of predictable identifiers are guessable. Canonicalization mistakes merge distinct accounts or split one account. Key rotation can break joins unless version transitions are planned.
5. Validation, follow-ups and self-review
Acceptance: test matching, nonmatching and cross-scope isolation with synthetic identifiers. Follow-up: how are deletion and key rotation handled? Self-review: identify who can relink tokens.
Sources and related practice
Technical reference: docs.python.org — Keyed hashing primitive; pseudonymous join governance is original.
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 Debug with redacted customer evidence; Resolve customer entities across noisy records.
Continue your preparation
Choose a connected learning path or browse more FDE interviews questions. Read our editorial method and attribution policy.