QuestionQ263

VerifiedData Governance & Quality

Using the Databricks workspace UI with Unity Catalog enabled, a data engineer opens Data Explorer and navigates to catalog corp_marketing, then schema campaigns, where they find table email_stats.

The engineer needs to grant the growth-analysts group the ability to:

  • Read email_stats from their SQL warehouses
  • NOT be able to create, alter, or delete any objects within corp_marketing or campaigns

Which sequence of actions satisfies this requirement?

Explanation

Unity Catalog uses a hierarchical privilege model where access to an object requires the USE CATALOG privilege on its parent catalog and the USE SCHEMA privilege on its parent schema, in addition to the specific object-level privilege (such as SELECT) needed to interact with the object itself. Granting USE CATALOG on corp_marketing and USE SCHEMA on campaigns allows the group to traverse into and see the schema/table without granting any ability to create new objects, while granting SELECT only (not MODIFY) on email_stats provides read-only access. Granting MODIFY or CREATE SCHEMA would exceed the stated requirement by allowing data changes or new schema creation, and omitting USE CATALOG would prevent the group from accessing anything inside the catalog at all.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!