Data Ingestion and Transformation

A lineage catalog must represent datasets that each depend on several upstream datasets and support finding all downstream dependents. Which data structure BEST represents these relationships?

Show the answer

Correct answerD. A directed graph with datasets as vertices

AWhy not this: Dataset row counts do not encode dependency relationships for traversal.

BWhy not this: A one-parent tree cannot directly represent a dataset with several upstream dependencies.

CWhy not this: Arrival order does not represent dependencies between datasets.

DWhy this is right: Directed edges encode dependency direction, and vertices can have multiple upstream connections.

A directed graph represents datasets as vertices and dependencies as directed edges, supporting traversal to downstream dependents. A rooted tree restricts each nonroot node to one parent and cannot directly represent shared dependencies.