CertLumen

Databricks Data Engineer Professional · Section 7 · 5% of the exam

Demonstrate understanding of the Unity Catalog permission inheritance model as a mechanism for managing access control across catalogs, schemas, and objects.

One of the objectives of the Databricks Certified Data Engineer Professional exam, in the section “Data Governance”. Here is what it covers, the points to remember and a question to try.

What it covers

Unity Catalog metadata makes data findable and access manageable: comments explain what objects and columns mean, tags classify them for search, automation and ABAC, and the privilege inheritance model decides how one grant on a catalog or schema flows to everything beneath it.

Points to remember

  • Comments describe objects and columns; workspace search indexes them, and Genie Agents and Genie Code (formerly Databricks Assistant) use them. Set them with COMMENT ON, ALTER TABLE … ALTER COLUMN … COMMENT or CREATE … COMMENT.
  • Table comments need ownership or MODIFY; view comments need ownership; catalog and schema comments need ownership or MANAGE.
  • AI-generated comments are per-object suggestions in Catalog Explorer: review before saving, saving runs an ALTER, and they are not for PII classification.
  • Applying a tag needs ownership or APPLY TAG plus usage privileges; a governed tag also needs ASSIGN. Keys are case-sensitive; up to 50 tags per object.
  • Governed tags are account-level with allowed values and CREATE / ASSIGN / MANAGE permissions; system tags such as system.certification_status and class.* are predefined.

Try a question

An engineer owns prod.crm.contacts, which has column mapping enabled, and runs ALTER TABLE prod.crm.contacts DROP COLUMN fax_number. The statement fails. The column carries the governed tag pii = phone, which an ABAC column mask policy matches. What must happen before the column can be dropped?

  1. AThe ABAC policy that matches the tag must be dropped, because policies lock the columns they mask
  2. BThe governed tag must be removed from the column, for example with UNSET TAG, then the drop rerun
  3. CThe statement must be run by a metastore admin, who can drop columns that still carry governed tags
  4. DThe engineer must be granted ASSIGN on the tag, which also permits dropping tagged columns
Show the answer

B. Dropping a column that has one or more governed tags fails; you must first remove the governed tags from the column (for example with UNSET TAG or ALTER TABLE ... ALTER COLUMN ... UNSET TAGS) and then drop it. The rule stops ABAC policies from silently losing the columns they protect, so the removal is a deliberate, auditable step.

Written for practice in the style of the exam: never a question from the real exam.

In the course

The lesson Tags, Comments and the Inheritance Model teaches this objective (about 45 minutes), and 17 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

← Previous objective · All 45 objectives · Next objective →