Databricks interview questionsQuestion 1 of 3
Databricks interview question · Question 1 of 3
What is Unity Catalog used for?
Short answer
Unity Catalog is Databricks' central place for governing data and AI. It gives every table, view, volume and model a three-part name (`catalog.schema.table`). It controls who can do what with SQL grants to users, groups and service principals. It can hide rows with row filters and hide values with column masks. It also records lineage and audit logs automatically. Because one metastore is shared by many 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.

