Interview's MateData Engineer
Interview's Mate

Data Engineer

SQL · Spark · Lakehouse · Streaming

Visualizer

DSA Visualizer
All 32 lessons
Custom Playground
Try your own examples

Learning

System Design
31 architecture topics
SQL Learning
160 foundations → production topics
AI Engineering
160 LLM → backend topics
Data Science
160 Python → MLOps topics
Data Engineer
160 SQL → streaming topics
Docker
160 Docker learning topics
Kubernetes
160 K8s fundamentals → cloud
Java LearnSoon
Coming soon
Python Learn
Interview Q&A & internals
JavaScript Learn
Closures, async & DOM Q&A
Tech Learn
Search, practise & track Q&A
AI DSA Practice
Solve coding problems
Theme
Home
Data Engineer topics
Lesson 147/ 160
08. Data Quality, Governance, Security & AI Infrastructure

Master Data Management (MDM) & Entity Resolution

Resolve entities across systems into golden records with MDM and matching/merging techniques.

AdvancedMDM · Entity Resolution · Golden Record3 quiz questions
Practice Generative AI Q&A
In plain wordsDiagramTheoryStep by stepWhen to use itInterview cluesMistakes to avoidQuiz (3)Practice

In plain words

Canonical phone, email, names, dates, addresses. Next, narrow candidate pairs with reliable indexed keys. Finally, trusted fields, links, confidence, and audit.

Think of it like…

Entity resolution is a librarian reconciling variant card names: exact library numbers are certain, nearby handwritten names are candidate matches, and a desk stamp records which card won and why.

Where you’ve seen it

Email/phone exact matches link accounts, then normalized name + date-of-birth + address generate candidates for a model; a steward reviews uncertain 0.75–0.95 scores while golden_customer_id retains every member source key.

Words you’ll hear

MDM
The governance process for authoritative enterprise entities, identifiers, ownership, quality, and lifecycle.
Entity Resolution
Matching, linking, or deduplicating records believed to refer to the same real-world entity across systems.
Golden Record
A governed cross-source entity record plus lineage of member records, selected attributes, and match decisions.
Operational boundary
A fuzzy-name merge can join two people with similar data, deterministic and ML scores drift by population, and overwriting all source values creates an unauditable golden record when a source later corrects itself. Separate exact keys and probabilistic candidates, standardize names/phones/addresses, block by indexed attributes, calibrate precision/recall on reviewed pairs, and store source links, match confidence, rules, overrides, and survivorship.

Visual diagram

Loading interactive diagram

Theory & deep dive

MDM: the working mechanism

Master Data Management defines governed golden entities, while entity resolution compares identifiers and fuzzy attributes across systems, links or merges duplicates, and retains evidence/survivorship provenance.

Canonical phone, email, names, dates, addresses. Narrow candidate pairs with reliable indexed keys, then deterministic rules, ML, thresholds, and review; this exposes the state governed by Golden Record.

Master Data Management & Entity Resolution in one concrete design

Email/phone exact matches link accounts, then normalized name + date-of-birth + address generate candidates for a model; a steward reviews uncertain 0.75–0.95 scores while golden_customer_id retains every member source key.

Key takeaway: Master Data Management defines governed golden entities, while entity resolution compares identifiers and fuzzy attributes across systems, links or merges duplicates, and retains evidence/survivorship provenance

Master Data Management & Entity Resolution: failure mode and production response

A fuzzy-name merge can join two people with similar data, deterministic and ML scores drift by population, and overwriting all source values creates an unauditable golden record when a source later corrects itself.

Separate exact keys and probabilistic candidates, standardize names/phones/addresses, block by indexed attributes, calibrate precision/recall on reviewed pairs, and store source links, match confidence, rules, overrides, and survivorship. Track Precision as "matched pairs that are truly the same entity", and make Recall visible to the dataset owner.

Key takeaway: Separate exact keys and probabilistic candidates, standardize names/phones/addresses, block by indexed attributes, calibrate precision/recall on reviewed pairs, and store source links, match confidence, rules, overrides, and survivorship.

How it works, step by step

Step 1 of 4
MDM

1. Standardize

Canonical phone, email, names, dates, addresses. Master Data Management defines governed golden entities, while entity resolution compares identifiers and fuzzy attributes across systems, links or merges duplicates, and retains evidence/survivorship provenance.

canonical phone, email, names, dates, addresses
Key numbers at this step
Precision
matched pairs that are truly the same entity
Entity Resolution
Matching, linking, or deduplicating records believed to refer to the same real-world entity across systems.

When to use it & trade-offs

What it is

Master Data Management defines governed golden entities, while entity resolution compares identifiers and fuzzy attributes across systems, links or merges duplicates, and retains evidence/survivorship provenance. Email/phone exact matches link accounts, then normalized name + date-of-birth + address generate candidates for a model; a steward reviews uncertain 0.75–0.95 scores while golden_customer_id retains every member source key.

Why it matters: A fuzzy-name merge can join two people with similar data, deterministic and ML scores drift by population, and overwriting all source values creates an unauditable golden record when a source later corrects itself. Separate exact keys and probabilistic candidates, standardize names/phones/addresses, block by indexed attributes, calibrate precision/recall on reviewed pairs, and store source links, match confidence, rules, overrides, and survivorship.

When to reach for it

  • Resolve entities across systems into golden records with MDM and matching/merging techniques.
  • Choose MDM because it provides this capability: The governance process for authoritative enterprise entities, identifiers, ownership, quality, and lifecycle.
  • Keep evidence for Precision at "matched pairs that are truly the same entity" so the last production stage-Survive/publish - trusted fields, links, confidence, and audit-remains testable.

When to avoid or be careful

  • A fuzzy-name merge can join two people with similar data, deterministic and ML scores drift by population, and overwriting all source values creates an unauditable golden record when a source later corrects itself.
  • Do not conflate Entity Resolution with MDM. The second concept contributes different behavior: Matching, linking, or deduplicating records believed to refer to the same real-world entity across systems.
  • Release only after this guardrail is in place: Separate exact keys and probabilistic candidates, standardize names/phones/addresses, block by indexed attributes, calibrate precision/recall on reviewed pairs, and store source links, match confidence, rules, overrides, and survivorship.

MDM / Entity Resolution / Golden Record - roles, limits, and operating cost

MDM
Best for: The governance process for authoritative enterprise entities, identifiers, ownership, quality, and lifecycle.

Strengths: The governance process for authoritative enterprise entities, identifiers, ownership, quality, and lifecycle. Master Data Management defines governed golden entities, while entity resolution compares identifiers and fuzzy attributes across systems, links or merges duplicates, and retains evidence/survivorship provenance.

Watch out: A fuzzy-name merge can join two people with similar data, deterministic and ML scores drift by population, and overwriting all source values creates an unauditable golden record when a source later corrects itself.

Entity Resolution
Best for: Matching, linking, or deduplicating records believed to refer to the same real-world entity across systems.

Strengths: Matching, linking, or deduplicating records believed to refer to the same real-world entity across systems. In this workflow it supports: Score/match - deterministic rules, ML, thresholds, and review.

Watch out: The operating cost is real: true duplicate pairs found.

Golden Record
Best for: A governed cross-source entity record plus lineage of member records, selected attributes, and match decisions.

Strengths: A governed cross-source entity record plus lineage of member records, selected attributes, and match decisions. Its output can be checked with Unresolved threshold band.

Watch out: Operating guardrail: Separate exact keys and probabilistic candidates, standardize names/phones/addresses, block by indexed attributes, calibrate precision/recall on reviewed pairs, and store source links, match confidence, rules, overrides, and survivorship.

Interview signals & numbers to know

When this topic comes up

  • “Where is the failure boundary for MDM, and how would Precision reveal it?”
  • “Why is Entity Resolution distinct from this behavior: a governed cross-source entity record plus lineage of member records, selected attributes, and match decisions?”
  • Production clue: A fuzzy-name merge can join two people with similar data, deterministic and ML scores drift by population, and overwriting all source values creates an unauditable golden record when a source later corrects itself.
  • Design probe: Separate exact keys and probabilistic candidates, standardize names/phones/addresses, block by indexed attributes, calibrate precision/recall on reviewed pairs, and store source links, match confidence, rules, overrides, and survivorship.

Benchmarks & rules of thumb

Precision -
matched pairs that are truly the same entity
Recall -
true duplicate pairs found
Unresolved threshold band -
scores requiring human review rather than auto merge

Common mistakes & follow-ups

Common interview mistakes

  • A fuzzy-name merge can join two people with similar data, deterministic and ML scores drift by population, and overwriting all source values creates an unauditable golden record when a source later corrects itself.
  • Reporting success from a job exit code without checking Precision and Recall.
  • Treating this example as complete without replay, rollback, or access boundaries: Email/phone exact matches link accounts, then normalized name + date-of-birth + address generate candidates for a model; a steward reviews uncertain 0.75–0.95 scores while golden_customer_id retains every member source key.

Likely interviewer follow-ups

  • How would you prove this contract instead of only checking that the command ran: The governance process for authoritative enterprise entities, identifiers, ownership, quality, and lifecycle.
  • What does the recovery plan do when this occurs? A fuzzy-name merge can join two people with similar data, deterministic and ML scores drift by population, and overwriting all source values creates an unauditable golden record when a source later corrects itself.
  • When is MDM insufficient for Recall, and what does adding Entity Resolution cost in Precision?
Interview tip: Lead with the data path and failure boundary: Master Data Management defines governed golden entities, while entity resolution compares identifiers and fuzzy attributes across systems, links or merges duplicates, and retains evidence/survivorship provenance. Then make the answer operational: Separate exact keys and probabilistic candidates, standardize names/phones/addresses, block by indexed attributes, calibrate precision/recall on reviewed pairs, and store source links, match confidence, rules, overrides, and survivorship.

Knowledge check

Loading quiz

Put it into practice

Practice related interview Q&A

Apply Master Data Management (MDM) & Entity Resolution with data engineer interview Q&A and hands-on practice.

Open Data Engineer Q&A →Machine Learning Q&A
Previous topic
Data Catalogs & Discovery Platforms (DataHub, OpenMetadata, Amundsen)
Next topic
Data Governance Frameworks, Ownership & Stewardship