Skip to content
Tech Interview Prep
Technical interview guide

Data Catalog & Lineage

Making data discoverable and traceable: what a dataset means, where it came from, and what depends on it.

Minutes to read
3
Practice MCQs
25
Interview Q&A
25
Edition
v5
Editorial status
Reviewed
Relevant for
Data Architect

Scope: W3C DCAT 3 and PROV-O, OpenLineage 1.53 object model/facets, Google Cloud Knowledge Catalog lineage, dbt manifest artifacts, Apache Atlas lineage API, and UK metadata guidance current 2026-08-31.

Overview

Curated: · Written: · Reviewed:

Data Catalog & Lineage

In one line

A data catalog records what a dataset is: its definition, owner, schema, classification and certification status. Lineage records where it came from and what depends on it. Reach for both when deciding whether a dataset is safe to reuse, change, retire or trust.

Key definitions

  • Logical dataset: the conceptual asset. A distribution is one accessible form of it, such as a CSV file, a Parquet file or an API (DCAT 3 terms).
  • Stable identity: an immutable ID assigned at creation. Display names and aliases are mutable attributes.
  • Upstream root-cause tracing: walking backward from a wrong number to the earliest source of the anomaly.
  • Downstream impact analysis: the transitive closure from a proposed change, enumerating what breaks.
  • Static lineage: what the pipeline declares at build time, such as dbt's manifest.json or parsed SQL. Dynamic lineage: what actually executed, from run events and query logs.
  • Job, run, dataset (OpenLineage): a job has a namespace and name; each execution is a run with its own UUID; a dataset has a namespace and name.

How it works

Harvesters populate technical metadata such as schema, location and statistics. Accountable humans maintain business meaning and policy. Orchestrators and engines emit run events at execution boundaries. The ingestion service keys each event by run identity, applies lifecycle states and publishes edges. Declared and observed lineage are reconciled, and each edge records its capture method, version and evidence time. Search and impact queries run over that graph, and access control filters what each user can see.

Orchestrator and engine events Ingestion keyed by run ID dbt manifest and SQL parser Declared edges Observed edges with run and version Reconciled graph Impact and root-cause queries Catalog search and asset pages

When to use and when not to

DecisionTable-level lineageColumn-level lineage
Triage after a dataset rebuildSufficientNot needed
Dropping or retyping a columnFinds consumers onlyRequired, with recent-use evidence
Tracing a classified field, such as a hashed email into a dashboardInsufficientRequired
Debugging a shared metricPartialRequired
Retiring an assetStarting pointAdd query telemetry and owner confirmation

Traps interviewers probe

  1. Treating the catalog as lineage. A search box answers what a dataset is, not what breaks if it changes. Fix: name both traversals and the graph behind them.
  2. Trusting a START event. START shows the run began, not that it wrote valid data. Fix: publish output edges on COMPLETE, record FAIL and ABORT as states, and never let an older event overwrite a completed run.
  3. Keying lineage by display name. A rename fragments history, and a reused name conflates two tables. Fix: key by an immutable asset ID and keep names and aliases as attributes.
  4. Reading completeness as accuracy. A dashboard at 98% completeness shows that fields are filled, not that they are correct. Fix: sample values and measure accuracy separately.
  5. Assuming the declared graph is the whole truth. Static parsers miss runtime branches and dynamically built SQL. Fix: reconcile against run evidence and recent query use, and label the blind spots.

Interview tips

Open by separating the two artifacts: the catalog answers what the dataset is, and lineage answers where it came from and what breaks. Then name the decision the question serves.

Expect these follow-ups: how a rename keeps history intact, how failed runs appear in the graph, how you would audit lineage completeness for a regulator, who is accountable for each metadata field, and what column scope a dropped column needs.

30-second outline: "The catalog tells me what a dataset means. Lineage tells me where it came from and what depends on it. For this change I would run downstream impact at column level, intersect the result with actual recent queries, and name the consumers the graph cannot see. Edges come from reconciled declared and observed lineage, keyed by stable IDs. For a wrong number I trace upstream from run-level evidence: which run, which code version, and which input versions it read. I confirm any retirement with owners before acting."

Feedback on this overview

Log in free to save your progress and keep bookmarks and notes for a quick revision before your interview.