Databricks interview questionsQuestion 1 of 1
Databricks interview question · Question 1 of 1
What is Unity Catalog used for?
Short answer
Unity Catalog is Databricks' central governance layer. It gives every table, view, volume and model a three-level name (catalog.schema.table), manages permissions with SQL grants to users, groups and service principals, supports row filters and column masks for sensitive data, and records lineage and audit logs. Because it lives in a metastore shared by workspaces, the same access rules apply wherever the data is used.
On this page
Detailed explanation
| Capability | What it gives you |
|---|---|
| Three-level namespace | Clear organisation by environment or domain |
| Grants | GRANT SELECT ON TABLE ... TO group |
| Row filters, column masks | Fine-grained protection of sensitive data |
| Lineage | Impact analysis and traceability down to columns |
| Audit logs | Who accessed what, and when |
Example
GRANT USE CATALOG ON CATALOG prod TO `analysts`;
GRANT USE SCHEMA ON SCHEMA prod.sales TO `analysts`;
GRANT SELECT ON TABLE prod.sales.orders TO `analysts`;
Common mistakes
- Granting to individuals.
- Forgetting catalog/schema privileges.
- Confusing managed and external tables when dropping them.
Progress is saved in this browser only. No account needed.