Data Contracts & Governance
Agree data contracts and data-product ownership, record lineage and metadata in a catalog, and control access to, protect and retain sensitive data.
5 objectives 6 steps about 145 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Write a data contract covering schema, semantics, quality expectations, freshness SLA, owner and version, enforce it at the producer boundary, and roll out a breaking change with a deprecation window.
- Capture table- and column-level lineage (for example with OpenLineage) and use it to assess the impact of a change or incident.
- Register datasets in a catalog with owners, descriptions and sensitivity classifications, and apply role-based access, column masking and row-level filters.
- Implement retention and erasure requirements for personal data across raw, cleaned and modeled layers.
- Protect sensitive fields with encryption in transit and at rest, tokenization or keyed-hash pseudonymization, least-privilege grants and access audit logs, and explain why pseudonymized data is still personal data.
Lesson plan
6 steps, about 145 min · 5 of 5 lessons available so far
- Data Products, Data Mesh and Contracts Between Teams Concept · 20 min
- Lab: Enforcing a Contract and Shipping a Breaking Change Lab · 25 min
- Lineage: Recording and Querying the Data Graph Worked example · 25 min
- Lab: Catalog Entries, Classification and Access Control Lab · 25 min
- Protecting Personal Data: Pseudonymize, Encrypt, Retain, Erase Worked example · 30 min
- Check: Governance Review of a Pipeline Knowledge check · 10 questions
Practise it
For a pipeline you built, write a versioned data contract for its main output and a CI check that enforces it, emit OpenLineage events from two jobs and inspect the lineage graph, mask an email column for an analyst role with a restricted masking view or column privileges, and enforce tenant row isolation with a separate row-level policy, replace the customer identifier with a keyed-hash token before it leaves the raw layer (key held outside the warehouse), and script an erasure request that removes one customer from every layer. Replay an old raw partition after erasure and verify the subject stays erased in derived outputs; document how restricted backups age out and how deletion records are reapplied after a restore.
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.