Databricks Data Engineer Professional · Section 6 · 8% of the exam
Apply attribute-based access control (ABAC) policies with governed tags to enforce row filters and column masks at scale.
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
After governance adds an ABAC column mask policy to catalog prod, a nightly job that reads prod.crm.customers on dedicated compute with Databricks Runtime 15.4 LTS starts failing. Its service principal still has SELECT on the table. Workloads on serverless compute read the same table and see masked values. What should the engineer do?
- AGrant the service principal
EXECUTEon the mask function so that the older runtime is able to apply it - BSwitch the cluster to standard access mode on Runtime 15.4 LTS, which evaluates ABAC policies
- CGive the service principal
MANAGEon the catalog so that its queries skip the policy checks - DRun the job on serverless, or on dedicated Runtime 16.4+ with fine-grained access control filtering
Show the answer
D. Reading ABAC-secured tables needs serverless compute, standard compute on Databricks Runtime 16.4 or above, or dedicated compute on 16.4 or above with fine-grained access control filtering. Standard and dedicated compute on older runtimes can't access these tables at all. If a workload truly can't be upgraded, the docs suggest scoping the policy so that its principal is in EXCEPT.
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 least-privilege access control lists (ACLs) to secure Unity Catalog securable objects and workspace resources.
- 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.