QuestionQ250

VerifiedEnsuring Data Security and Compliance

The data architect determined that, after data is ingested from external sources into the Databricks Lakehouse, table access controls will be used to administer permissions for all production tables and views.

The following commands were run to grant the core engineering group privileges for interactive queries against a production database.

GRANT USAGE ON DATABASE prod TO eng;  
GRANT SELECT ON DATABASE prod TO eng;  

Assuming these are the only privileges granted to the eng group and that its users are not workspace administrators, which statement describes their privileges?

Explanation

In the legacy Hive metastore access-control model, USAGE is required to act on objects in a database, and SELECT grants read access. Privileges granted on a database are inherited by its tables and views. CREATE, MODIFY, and named-function creation are separate privileges, so these grants permit querying only and do not permit creating or editing objects or data.

Learn more

Community Discussion

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