
Ultimate access to all questions.
A new data engineering team has been assigned to work on a project. The team will need access to database customers in order to see what tables already exist. The team has its own group team. Which command can be used to grant the necessary permission on the entire database to the new team?
A
GRANT VIEW ON CATALOG customers TO team;
B
GRANT CREATE ON DATABASE customers TO team;
C
GRANT USAGE ON CATALOG team TO customers;
D
GRANT USAGE ON DATABASE customers TO team;
Explanation:
Correct Answer: D. GRANT USAGE ON DATABASE customers TO team;
GRANT USAGE ON DATABASE <database_name> TO <group_name> is the proper Databricks Unity Catalog command for granting database-level access.A. GRANT VIEW ON CATALOG customers TO team; - Incorrect because:
VIEW is not a valid privilege for catalog-level accessB. GRANT CREATE ON DATABASE customers TO team; - Incorrect because:
CREATE permission allows creating new tables, not viewing existing onesC. GRANT USAGE ON CATALOG team TO customers; - Incorrect because:
GRANT <privilege> ON <object_type> <object_name> TO <principal>This permission allows the team to run commands like SHOW TABLES IN customers or browse the database in the Databricks UI to see existing tables.