Menu

Databricks interview question · Question 1 of 3

What is Unity Catalog used for?

  • Easy
  • conceptual
  • ~6 min
  • Medium relevance
  • 2 min read
  • Updated Oct 2026

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
  1. Detailed explanation
  2. Example
  3. Common mistakes

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

  1. Granting to individuals.
  2. Forgetting catalog/schema privileges.
  3. Confusing managed and external tables when dropping them.

By , Data Engineer and Founder of DataDank · Last reviewed Oct 2026 · Describes Databricks as documented in 2026; Databricks renames products frequently, so check current names. Examples were not executed in a Databricks workspace

Progress is saved in this browser only. No account needed.

Search
Filter by type