Databricks Data Engineer Professional · Section 6 · 8% of the exam
Apply least-privilege access control lists (ACLs) to secure Unity Catalog securable objects and workspace resources.
One of the objectives of the Databricks Certified Data Engineer Professional exam, in the section “Ensuring Data Security and Compliance”. Here is what it covers, the points to remember and a question to try.
What it covers
Production security combines Unity Catalog privileges on data securables with workspace ACLs on jobs, pipelines, compute and secrets. This lesson builds least-privilege designs for both planes, then scales row and column protection across hundreds of tables with governed tags and ABAC policies.
Points to remember
- Least privilege spans two planes: Unity Catalog privileges on securables and workspace ACLs on notebooks, jobs, pipelines, compute, warehouses and secret scopes.
- Reading needs
USE CATALOG+USE SCHEMA+SELECT; grant at the schema level to groups;ALL PRIVILEGESexcludesMANAGE,READ METADATA,EXTERNAL USE SCHEMAandEXTERNAL USE LOCATION. - Unity Catalog has no
DENY SELECT: revoke where granted, restructure groups, or filter and mask; ABAC DENY policies (Beta) cover onlyMANAGE ACCESS CONTROL. - Jobs run as their Run as identity whoever triggers them: use a service principal,
CAN MANAGE RUNfor operators andCAN MANAGEonly for release owners; a group cannot beIS OWNER. - ABAC = governed tags + policies on a catalog, schema or table (metastore in Beta); policies cover current and future matching tables and owners cannot override them.
Try a question
Finance analysts must be able to open every notebook in the workspace folder /Workspace/Shared/finance-reports, including notebooks that will be added later, but must not edit or run them. What is the least-privilege way to give the finance-analysts group this access?
- A
CAN VIEWon each notebook in the folder, reapplied by a script whenever a new notebook appears - B
CAN EDITon the folder, because folders have no view-only permission level of their own - C
CAN RUNon the folder, which lets users open notebooks but not attach them to compute - D
CAN VIEWon the folder, which every current and future notebook in it inherits
Show the answer
D. Objects in a folder inherit all permission settings of that folder, so one grant on the folder covers the notebooks already there and any added later. CAN VIEW is the view-only level (called CAN_READ in the Permissions API); CAN RUN adds attaching notebooks and running commands, and CAN EDIT adds editing cells.
Written for practice in the style of the exam: never a question from the real exam.
In the course
The lesson Least Privilege and ABAC at Scale teaches this objective (about 55 minutes), and 12 practice questions test it. The course has lessons, exam-style questions, timed practice exams and an AI tutor for every objective, and a pass prediction that tells you when you're ready to book.
More in this section
- Apply attribute-based access control (ABAC) policies with governed tags to enforce row filters and column masks at scale.
- Apply anonymization and pseudonymization methods — such as hashing, tokenization, suppression, and generalization — to confidential data (e.g., using column masks and related Unity Catalog features).
- Implement a compliant data pipeline that enforces PII detection and masking controls across batch and streaming workloads using Unity Catalog features.
- Implement a data purging strategy that satisfies data retention and deletion policies (e.g., GDPR right-to-erasure, GDPR right-to-be-forgotten deletion) using Delta Lake and Unity Catalog features.