DATABRICKS-CERTIFIED-DATA-ENGINEER-ASSOCIATE · Question #71
A new data engineering team team. has been assigned to an ELT project. The new data engineering team will need full privileges on the database customers to fully manage the project. Which of the…
The correct answer is E. GRANT ALL PRIVILEGES ON DATABASE customers TO team. The correct SQL syntax to grant all permissions on a database in Databricks is: GRANT ALL PRIVILEGES ON DATABASE <database_name> TO <principal>. Option E correctly names the database (customers) and the grantee (team). Option A only grants USAGE, which is insufficient for full…
Question
Options
- AGRANT USAGE ON DATABASE customers TO team;
- BGRANT ALL PRIVILEGES ON DATABASE team TO customers;
- CGRANT SELECT PRIVILEGES ON DATABASE customers TO teams;
- DGRANT SELECT CREATE MODIFY USAGE PRIVILEGES ON DATABASE customers TO team;
- EGRANT ALL PRIVILEGES ON DATABASE customers TO team;
How the community answered
(56 responses)- A4% (2)
- B2% (1)
- C2% (1)
- D7% (4)
- E86% (48)
Explanation
The correct SQL syntax to grant all permissions on a database in Databricks is: GRANT ALL PRIVILEGES ON DATABASE <database_name> TO <principal>. Option E correctly names the database (customers) and the grantee (team). Option A only grants USAGE, which is insufficient for full management. Option B reverses the database and team names. Option C only grants SELECT. Option D uses an invalid syntax listing individual privileges without correct SQL structure.
Topics
Community Discussion
No community discussion yet for this question.