Databricks Unity Catalog and Data Governance Interview Questions and Answers

Data governance, security, and lineage are major focus areas in senior Databricks interviews. Here are the key Unity Catalog interview questions and answers.

1. What is the three-level namespace in Databricks Unity Catalog?

Answer: Unity Catalog organizes data assets using a Catalog → Schema (Database) → Table/View/Volume/Model hierarchy (for example, prod_catalog.sales.orders), allowing teams to isolate environments, business units, and domains cleanly.

2. How does Unity Catalog differ from the legacy Hive Metastore?

Answer: The legacy Hive Metastore was workspace-scoped and lacked fine-grained governance. Unity Catalog provides an account-level metastore shared across all workspaces with centralized RBAC, row/column-level security, automated data lineage, audit logs, and governance for unstructured files (Volumes) and AI models.

3. How do Managed Tables and External Tables differ in Unity Catalog?

Answer: For Managed Tables, Unity Catalog controls both metadata and underlying storage files—dropping the table deletes the data after a retention period, and Databricks automatically optimizes storage layout. For External Tables, you specify an external cloud path; dropping the table removes only metadata while leaving files intact.

4. How do you implement Row-Level and Column-Level security in Unity Catalog?

Answer: Use Row Filters (SQL UDFs attached to a table) to restrict which rows a user or group can see, and Column Masks (SQL UDFs) to redact or hash sensitive columns like PII based on is_account_group_member() checks.

5. What is Delta Sharing?

Answer: Delta Sharing is an open protocol integrated into Unity Catalog for securely sharing live Delta tables, views, notebooks, and AI models across organizations or clouds in real time without duplicating or copying data.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top