What Does Data lineage Mean?
On This Page
Quick Definition
Data lineage is like a map that shows where your data came from, how it changed along the way, and where it ended up. It helps you understand the journey of data from its source to its final destination. This is important for finding errors, ensuring quality, and meeting compliance rules.
Commonly Confused With
A data catalog is an inventory of data assets that helps users find, understand, and govern data. It includes metadata like descriptions, schemas, and tags. Data lineage is a specific type of metadata that shows the flow of data between assets. A catalog might contain lineage information, but lineage is not the same as the catalog itself.
Think of a catalog as a library card catalog that lists all books, while lineage is a map showing which books were used as sources for a specific article.
Data provenance is a broader concept that includes the complete history of data, including who created it, who accessed it, and why it was changed. Data lineage is a subset that focuses specifically on the flow and transformation of data through systems. Provenance includes lineage plus access history and change reasons.
Lineage is like a shipping tracking history showing where a package went. Provenance is like that plus signatures of who handled it and notes about why it was delayed.
A data flow diagram is a manually created visual representation of how data moves through a system. Data lineage is an automated, metadata-driven record that is generated by scanning actual data pipelines. A diagram might be outdated quickly, while lineage is updated as pipelines change.
A data flow diagram is like a tourist map drawn by hand. Data lineage is like Google Maps traffic data that updates in real-time.
A data dictionary describes the structure and meaning of data elements, like table names, column names, and data types. Data lineage describes the movement of data between those elements. A dictionary tells you what a column is, while lineage tells you where the data in that column came from.
A dictionary tells you 'customer_id is a number that identifies a customer.' Lineage tells you 'customer_id comes from the sales system, passes through a deduplication step, then goes to the warehouse table.'
Must Know for Exams
In the Microsoft DP-900 exam (Azure Data Fundamentals), data lineage appears primarily in the 'Data Governance' section. The exam measures your understanding of how Azure supports data governance, and data lineage is one of the core capabilities listed. You are expected to know what data lineage is, why it is important, and what Azure service provides it (Microsoft Purview).
The DP-900 exam objectives include 'describe data governance concepts' and 'identify capabilities of Microsoft Purview'. Data lineage is explicitly mentioned as a feature of Purview. You should be comfortable explaining that lineage tracks the flow of data from source to destination, including transformations. You may not need to know the deep technical internals of how Purview parses pipelines, but you must know the business value: data trust, troubleshooting, and compliance.
Questions on this topic are typically scenario-based. For example, you might be asked which Azure service can help a data analyst understand how a specific number in a report was calculated. The correct answer would be Microsoft Purview, and the justification would involve data lineage. You might also see questions that compare lineage to other governance features like data cataloging or data classification.
Another common exam trick is to pair data lineage with data cataloging. Both are features of Purview, but they serve different purposes. The catalog helps users find and understand data assets, while lineage shows the flow and transformation of data. You need to distinguish between the two.
For other related exams, data lineage is covered in more depth. For example, in DP-203 (Data Engineering on Microsoft Azure), you need to understand how to implement lineage in Azure Data Factory and Synapse pipelines. In DP-100 (Designing and Implementing a Data Science Solution on Azure), lineage is important for reproducibility of machine learning models. However, for DP-900, the focus is on foundational knowledge.
You should also be prepared for questions that describe a data quality issue and ask what tool can help trace the source of the error. The correct answer is data lineage, and the specific service is Microsoft Purview. Practice identifying when lineage is the solution versus other governance tools.
Simple Meaning
Think of data lineage like the tracking information for a package you ordered online. When you order something, you can see where it started at the warehouse, every stop it made along the way, and when it finally arrives at your door. If there is a delay or damage, you can look back at the tracking history to find out what went wrong.
Data lineage works the same way for information. When a company collects data, it often moves through many different systems and gets transformed or cleaned at each step. For example, raw sales numbers might be stored in a database, then moved to a spreadsheet where totals are calculated, and finally loaded into a report.
Data lineage creates a visual map of that entire journey. It shows the original source of the data, every operation that changed it, and every destination it reached. This is extremely useful when a number in a final report looks wrong. Instead of guessing where the error happened, you can follow the lineage backward to find the exact point where something went off track.
In everyday life, you might use a GPS to see all the roads you took to get somewhere. Data lineage gives data analysts and IT professionals a similar GPS for data, helping them understand where data comes from and trust that it is accurate.
Full Technical Definition
Data lineage is a detailed record that documents the lifecycle of data from its origin to its consumption. It includes all the data sources, transformations, storage locations, and analytical outputs. In modern data architecture, lineage is captured at both the table level and the column level, meaning you can see exactly which columns in a source table contributed to a specific column in a report.
Technically, data lineage relies on metadata. When data moves through Extract, Transform, Load (ETL) pipelines, the ETL tool records metadata about each operation. This metadata includes the source system, the target system, the transformation logic, and the timestamps of each activity. Tools like Azure Data Factory, Apache Atlas, and Informatica Enterprise Data Catalog automatically scan these pipelines and build a lineage graph.
There are two main types of data lineage: forward lineage and backward lineage. Forward lineage starts at the source and traces how data flows to each downstream consumer. Backward lineage, also called impact analysis, starts at a report or dashboard and works backward to find the original data sources. Both types are critical for data governance and root cause analysis.
In the context of DP-900 (Microsoft Azure Data Fundamentals), data lineage is covered under data governance concepts. Microsoft Azure provides built-in lineage capabilities through services like Azure Purview (now Microsoft Purview). Purview scans data sources like Azure SQL Database, Azure Data Lake Storage, and Azure Synapse Analytics to automatically capture lineage. It can also parse stored procedures, notebooks, and data factory pipelines to understand how data is transformed.
The lineage information includes tables, views, stored procedures, and reports. Each node in the lineage graph represents a data asset, and each edge represents a data movement or transformation. The graph is stored in a metadata repository and can be searched and visualized. Data lineage is a cornerstone of data governance because it enables data cataloging, data quality monitoring, and compliance reporting. Without lineage, it is nearly impossible to know whether data is trustworthy or whether changes to a source will break downstream reports.
Real-Life Example
Imagine you are baking a cake for a friend who has a severe nut allergy. You want to be absolutely sure the cake has no nuts. Instead of just checking the final cake, you would trace every ingredient back to its source. You look at the flour bag to see if it was processed in a facility that handles nuts. You check the sugar, the eggs, the vanilla extract, and the cocoa powder. You need to know the whole journey of each ingredient to guarantee safety.
Data lineage works just like that ingredient traceability. In a business, a data analyst sees that a monthly sales report shows an unusually low number. Before fixing anything, they need to know where that number came from. Was it pulled from the live sales database? Was it aggregated in a data warehouse? Was a filter accidentally applied that excluded certain transactions?
Data lineage provides the full 'ingredient list' for that sales number. It shows that the data started in the point-of-sale system, was moved to a staging table where only completed orders were kept, then went through a data cleansing step that removed duplicate rows, and finally was used in a sales summary view. If the number is wrong, the analyst can look at each step to see which one introduced the error, just like checking each ingredient to see which one might contain nuts.
Why This Term Matters
Data lineage matters because data is only valuable if it is trustworthy. In any IT environment, data moves through multiple systems and transformations. If an error creeps in, it can be extremely hard to find without lineage. Imagine an e-commerce company that uses data to send promotional emails. If a bug in an ETL job duplicates customer records, thousands of customers might receive duplicate emails. That wastes money and hurts the brand. With data lineage, the team can quickly trace the problem back to the specific job that duplicated the records and fix it.
Another reason lineage matters is regulatory compliance. Many industries require companies to prove that their data is accurate and that they know where it came from. For example, in healthcare, HIPAA rules require that patient data is handled correctly from collection to reporting. Data lineage provides an auditable trail that shows every step data followed. This can be critical during audits or legal investigations.
Data lineage also helps with data discovery. When a new analyst joins a team, they can use lineage to understand what data is available and how it is structured instead of relying on outdated documentation. This speeds up onboarding and reduces the risk of mistakes.
In the context of the DP-900 exam, data lineage is an important part of data governance. Microsoft Azure offers Purview to automatically capture lineage. Knowing how to use lineage to improve data quality and trust is a key skill for any data professional. The exam will test your understanding of why lineage matters in a practical, business-driven way.
How It Appears in Exam Questions
In the DP-900 exam, data lineage questions are most often presented as scenario-based multiple-choice questions. A typical pattern is: 'A data analyst notices that a monthly sales report contains an incorrect total sales number. They want to understand how this number was calculated and trace it back to its source. Which Azure service should they use?' The answer is Microsoft Purview, with the explanation that its data lineage capability provides a visual map of data flow.
Another question pattern involves comparing features: 'Which of the following is a benefit of data lineage?' The options might include 'It helps users find data assets' (which is data cataloging), 'It tracks data transformations over time' (which is lineage), and 'It encrypts data at rest' (which is security). You must pick the one that specifically describes tracing data movement and transformation.
Questions may also be phrased with a negative: 'A company wants to ensure they can audit their data to comply with regulations. Which capability of Microsoft Purview is most important for this?' While several features help with compliance, lineage is the most direct because it provides the audit trail of data flow.
You might also see a question where multiple correct statements are listed, and you must select all that apply. For example: 'Which statements about data lineage are true?' Options could include 'It shows the origin of data', 'It shows how data was transformed', 'It shows who accessed the data' (that is auditing, not lineage), and 'It shows where data is stored' (partial, but not the main goal). Only the first two are correct.
Another common pattern is to describe a situation where a data pipeline fails and ask what feature helps identify the impact. For example: 'A developer modifies a source table. The modification accidentally breaks several downstream reports. Which data governance feature helps identify which reports are affected?' This tests your understanding of impact analysis, which is a direct application of data lineage. The correct answer is data lineage.
Finally, always remember that in DP-900, the service name is Microsoft Purview (formerly Azure Purview). The exam may still use the old name 'Azure Purview' in some questions, so be familiar with both.
Practise Data lineage Questions
Test your understanding with exam-style practice questions.
Example Scenario
You work for a retail company that sells clothing online. Every month, the finance team creates a report showing the total revenue from sales. This month, the revenue number in the report is much lower than expected. The finance team asks the data team to investigate.
As a data analyst, you need to find out where the error happened. Without data lineage, you would have to manually examine every system the data passed through: the order database, the data warehouse, the ETL job that cleaned the data, and the reporting tool. This could take days.
With data lineage, you open Microsoft Purview and search for the revenue column used in the report. The lineage graph immediately shows you the entire journey. You see that the data started in the 'Orders' table in a SQL database. Then it was moved to an Azure Data Lake using an Azure Data Factory pipeline. During that movement, a filter was applied that only included orders with a status of 'Completed'.
Next, you see that the data was transformed in Azure Databricks, where a calculation summed all order amounts. Finally, the aggregated data was loaded into a Power BI dataset used by the finance report.
You notice in the lineage that the filter in the Data Factory pipeline was recently changed from including all orders to only including completed orders. But the finance team expected to see all orders, including those that were shipped but not yet marked completed. That is the source of the difference. You correct the filter, rerun the pipeline, and the report now shows the correct total.
This scenario shows how data lineage saves time and provides a clear path to identify and fix data issues.
Common Mistakes
Thinking data lineage is the same as data cataloging.
A data catalog helps users discover and understand data assets, like finding a list of all tables in a database. Data lineage specifically shows the flow and transformation of data between those assets. They are complementary but different.
Remember: catalog = inventory of data assets. Lineage = map of how data moves between those assets.
Believing data lineage only applies to databases.
Data lineage applies to any system that handles data, including files in a data lake, data in cloud storage, data in data warehouses, and even data in streaming platforms like Azure Event Hubs.
Think of lineage as applicable to any data pipeline, not just traditional databases.
Assuming data lineage is automatically captured everywhere.
Lineage is not automatically available in every system. It must be captured by tools like Microsoft Purview that scan data sources and pipelines. You cannot see lineage if the tool has not been configured to scan those sources.
Always check that Purview (or your lineage tool) has been set up to scan the relevant sources and pipelines.
Confusing data lineage with data provenance.
Data provenance is a broader concept that includes the origin and history of data, but also includes who accessed it and why. Data lineage is a subset that focuses specifically on the flow and transformations.
Lineage is about the 'how' and 'where' of data movement. Provenance includes the 'who' and 'why' as well.
Exam Trap — Don't Get Fooled
{"trap":"You are asked which tool provides data lineage in Azure. Options include Azure Data Factory, Azure Data Lake Storage, Microsoft Purview, and Power BI. Many learners pick Azure Data Factory because they know it creates pipelines that move data."
,"why_learners_choose_it":"Learners know Data Factory is used for data movement, so they assume it is also responsible for capturing lineage. However, Data Factory only executes the pipelines, it does not store and visualize lineage. That is the role of Purview."
,"how_to_avoid_it":"Memorize that Microsoft Purview is the central data governance service responsible for data catalog, data lineage, and data classification. Data Factory provides the data movement, but Purview captures the lineage metadata."
Step-by-Step Breakdown
Identify the data source
The first step in data lineage is to discover all sources of data. This could be transactional databases like Azure SQL Database, files in Azure Blob Storage, or real-time streams from Event Hubs. The lineage tool scans these sources and records their schema and metadata.
Capture the data movement
When data moves from one source to another, for example through an Azure Data Factory pipeline, the tool records the connection between the source and target. It logs the pipeline name, the frequency of the movement, and the transformation step(s) involved.
Record transformations
Transformations include any operations that change the data, such as filtering rows, aggregating values, joining tables, or converting data types. The lineage tool parses the script or activity definition to understand what was changed and records this as a node in the lineage graph.
Map to final outputs
The lineage continues to the final destinations where data is consumed, such as Power BI reports, Azure Analysis Services cubes, or custom dashboards. The tool records each output and links it back to the transforms and sources that fed into it.
Visualize the lineage graph
All captured metadata is assembled into a visual graph viewable in the governance portal (e.g., Microsoft Purview). Users can zoom in on specific assets, see how column-level changes propagate, and click on nodes to see detailed transformation logic or view sample data.
Enable impact analysis
With the lineage graph in place, users can run impact analysis. For example, if a source table is about to be modified, the analyst can see all downstream reports and dashboards that depend on that table. This helps prevent breaking changes.
Practical Mini-Lesson
To effectively use data lineage in a real-world Azure environment, you need to understand how Microsoft Purview works. Purview is a unified data governance service that scans your data sources, catalogs them, and captures lineage automatically. It supports sources like Azure SQL Database, Azure Synapse Analytics, Azure Data Lake Storage Gen2, and even on-premises SQL Server with a self-hosted integration runtime.
When you deploy a pipeline in Azure Data Factory, Purview can parse the pipeline definition to understand the flow. For example, if you have a Copy Data activity that moves data from a CSV file in a data lake to a SQL table, Purview will record that relationship. It also supports complex transformations like Data Flows and Stored Procedures. For transformations inside Databricks notebooks, Purview can parse the notebook code (Python/Scala/SQL) to extract lineage if the notebook is registered with Purview.
In practice, data lineage is not always perfectly automated. Some transformations may not be captured fully if they are embedded in custom code that Purview cannot parse. In that case, professionals may need to manually document certain steps. Microsoft is continuously improving the machine learning models that Purview uses to parse code.
What can go wrong? One common issue is stale lineage. If a pipeline is updated but Purview hasn't re-scanned it, the lineage graph will be outdated. Always ensure that Purview scans are scheduled to run after each pipeline update. Another issue is column-level lineage not showing because the source or target does not have explicit schema definitions. For example, column-level lineage for complex JSON files requires explicit schema mapping in the pipeline.
Another pitfall is over-reliance on visual lineage without verifying the actual logic. The lineage shows that data flowed from A to B to C, but it does not guarantee the transformation logic is correct. You still need to validate that the aggregation formulas or filtering conditions are correctly implemented.
For DP-900, you do not need to implement Purview, but you should be able to describe these concepts. In advanced roles like data engineering (DP-203), you would configure Purview scanning, choose appropriate scan rules, and set up the integration runtime for hybrid sources. For now, focus on understanding the value and capabilities.
Memory Tip
Think of data lineage as the 'GPS data history' for your data. GPS tells you where you have been, where you are, and how you got there.
Covered in These Exams
Current Exam Context
Current exam versions that test this topic — use these objectives when studying.
Related Glossary Terms
A 2-in-1 laptop is a portable computer that can switch between a traditional laptop form and a tablet form, usually by detaching or rotating the keyboard.
The 24-pin motherboard connector is the main power cable that connects the computer's power supply unit (PSU) to the motherboard, supplying electricity to the motherboard and its components.
Two-factor authentication (2FA) is a security method that requires two different types of proof before granting access to an account or system.
A 3D printer is a device that creates physical objects by depositing layers of material based on a digital model.
5G is the fifth generation of cellular network technology, designed to deliver faster speeds, lower latency, and support for many more connected devices than previous generations.
The 8-pin CPU connector is a power cable from the power supply that delivers dedicated electricity to the processor on a computer's motherboard.
802.1Q is the networking standard that allows multiple virtual LANs (VLANs) to share a single physical network link by tagging Ethernet frames with VLAN identification information.
802.1X is a network access control standard that authenticates devices before they are allowed to connect to a wired or wireless network.
Frequently Asked Questions
Is data lineage the same as a data catalog?
No. A data catalog is an inventory of data assets with metadata like descriptions and tags. Data lineage is a specific feature that shows the flow of data between those assets, how it was transformed, and where it was used.
Can I get data lineage without using Microsoft Purview?
Yes, other tools like Informatica, Apache Atlas, and Collibra also provide data lineage capabilities. In the Azure ecosystem, Purview is the native solution, and it is the one tested in the DP-900 exam.
Does data lineage help with debugging data errors?
Yes, that is one of its main uses. When a report shows incorrect data, lineage helps you trace back through each transformation to find where the error was introduced, saving hours of manual investigation.
Do I need to write code to use data lineage in Purview?
Not typically. Purview provides a no-code graphical interface to view lineage. However, for advanced scenarios like parsing complex code in notebooks, some configuration may be needed. For DP-900, you only need conceptual knowledge.
Is data lineage a real-time feature?
It depends on the implementation. Some tools can capture lineage in near real-time, but most, including Purview, scan and update lineage on a schedule (e.g., daily). It is not usually instantaneous.
What is the difference between table-level and column-level lineage?
Table-level lineage shows that data moved from Table A to Table B. Column-level lineage shows that a specific column in Table B came from a specific column in Table A, possibly after a transformation. Column-level is more detailed.
Summary
Data lineage is a foundational concept in modern data governance. It provides a clear, automated map of how data moves from its source systems through transformations and into final reports and dashboards. This capability is critical for ensuring data trust, troubleshooting errors, and meeting regulatory compliance requirements.
In the Microsoft Azure ecosystem, Microsoft Purview is the primary service that delivers data lineage. It scans data sources, pipelines, and transformations to build a visual graph that data professionals can explore. For the DP-900 exam, you need to understand the value of lineage, how it differs from other governance features like data cataloging, and when to apply it in a scenario.
The most important takeaway for your exam is to remember that lineage answers the question 'where did this data come from and how was it processed?' It is not about finding data (catalog) or securing data (security). When you see a question about tracing the origin of a number in a report, think lineage and think Microsoft Purview.
Data lineage is not just an exam topic; it is a daily tool for data professionals. Companies that implement lineage effectively save time, reduce risk, and make better decisions. Understanding it deeply will serve you well in any data-focused career.