
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
Why Option D is correct:
USAGE privilege on a database allows users/groups to see the database and its contents (tables, views, etc.)GRANT USAGE ON DATABASE customers TO team; grants the team group permission to access and view the database structureWhy other options are incorrect:
Option A: GRANT VIEW ON CATALOG customers TO team;
VIEW is not a valid privilege for catalogs in Databricks Unity Catalogcustomers is a database, not a catalogOption B: GRANT CREATE ON DATABASE customers TO team;
CREATE privilege allows creating objects (tables, views) within the databaseOption C: GRANT USAGE ON CATALOG team TO customers;
team is a group, not a catalogKey Concepts:
USAGE privilege on a database allows:
GRANT USAGE ON DATABASE <database_name> TO <group_name>; is the correct syntax for granting database access