21. Data Governance#
Every AI system moves data, and much of it is personal or confidential. This chapter covers protecting personal data in AI workflows, the stewardship practices that classify and track data, and the regulations and vendor terms that IT must satisfy.
Privacy: Personal data in prompts, logs, and training sets needs a lawful basis and minimization.
Data Stewardship: Classification, retention, and lineage keep data use known and controlled.
Compliance: Regulations such as the GDPR and the EU AI Act, vendor terms, and audits set the rules AI systems must follow.
Chapter Video
This explainer covers what happens to personal data when it flows through AI systems and why privacy has to be designed in.
How Safe Is Your Data? (AI and Privacy Explained) (5:02) by 365 Data Science
Hosted on YouTube; property of its original creator, embedded here for educational reference only.
Learning Objectives
By the end of this chapter, you will be able to:
Identify personal and sensitive data in AI inputs, outputs, and logs.
Apply data minimization, redaction, and retention rules to AI workflows.
Classify data and trace its lineage through an AI system.
Evaluate AI vendor terms for data use, storage location, and retention.
Detect and redact personal data before model calls in Python.
Chapter Flow
Glossary
# |
Term |
Explanation |
|---|---|---|
1 |
Personal data |
Information that identifies or relates to an identifiable person. |
2 |
Personally identifiable information (PII) |
Data such as names, email addresses, or ID numbers that can identify a person. |
3 |
Consent |
A person’s informed agreement to a specific use of their data. |
4 |
Data minimization |
Collecting and sending only the data a task needs. |
5 |
Redaction |
Removing or masking sensitive data before it is shared or stored. |
6 |
Data governance |
The policies, roles, and processes that control how data is used. |
7 |
Data classification |
Labeling data by sensitivity, such as public, internal, or confidential. |
8 |
Retention policy |
Rules for how long data is kept and when it is deleted. |
9 |
Data lineage |
A record of where data came from and how it has been transformed. |
10 |
Data residency |
Requirements about the country or region where data is stored. |
11 |
Data processing agreement |
A contract that sets how a vendor may handle an organization’s data. |
12 |
Compliance audit |
A review that checks whether practices meet laws and policies. |
13 |
Processing purpose |
The authorized reason information is used. |
14 |
Data custodian |
The role operating technical storage and controls. |
15 |
Lineage graph |
Relationships from sources through derived artifacts. |
16 |
Derived store |
A copy or representation produced from source data. |
17 |
Retention cutoff |
An eligibility boundary under an approved retention rule. |
18 |
Hold |
A policy exception preserving records from ordinary deletion. |
19 |
Dry run |
A report of intended actions without applying them. |
20 |
Processing inventory |
Purposes, data flows, owners, retention, and controls. |
21 |
Pseudonymization |
Replacing identifying values while a reidentification link may still exist. |
22 |
Data steward |
A role responsible for defined data quality and governance duties. |
23 |
Legal hold |
A constraint suspending ordinary deletion for specified records. |
24 |
EU AI Act |
Regulation (EU) 2024/1689, which sets obligations on AI systems by risk tier. |
25 |
Risk tier |
The AI Act’s grouping of systems as unacceptable, high, limited, or minimal risk. |
26 |
High-risk AI system |
A system in an AI Act Annex III area or a regulated product safety component, with provider and deployer obligations. |
27 |
Provider and deployer |
The organization that develops or markets an AI system, and the one that uses it under its own authority. |