Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Databricks · Databricks Data Engineer Professional

Privileges, permissions, tags, and comments

Databricks Data Engineer Professional · Lesson 16 of 21 · 2:10:03

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Prepare for the Databricks Certified Data Engineer Professional exam. In this lesson: least privilege in Unity Catalog, workspace object permissions, and tags and comments for governance and discovery. Includes three original practice questions.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

Too much access, too little context

To make things work quickly, Quayside Eats gave its analysts all privileges on the gold catalog, and a contractor can edit notebooks that the contractor should only run. Meanwhile, nobody can tell which table holds what, and analysts keep picking the wrong revenue column. This lesson covers least privilege in Unity Catalog, permissions on workspace objects, and tags and comments for discovery.

Least privilege in Unity Catalog

Least privilege means granting only what a task needs, and granting it to groups, rather than to individual users. To read a table, a principal needs use catalog on its catalog, use schema on its schema, and select on the table, and writing to it takes modify. Privileges inherit downward: select granted on a schema or on a catalog applies to every table inside, including tables created later. The owner of an object, and principals with manage on it, can grant privileges on it to others. Browse lets users discover objects and their metadata in Catalog Explorer and search, without reading the data. And avoid all privileges, which grants far more than most tasks need.

Workspace object permissions

Notebooks, folders, jobs, and compute use their own access control lists, separate from Unity Catalog privileges. On a notebook, can view lets a user read it, can run lets the user run it, can edit lets the user change it, and can manage also lets the user change its permissions. On a job, can view shows its runs, can manage run lets a user start and cancel runs, and can manage lets the user change the job. Objects in a folder inherit the permissions of the folder, so grant on folders, and to groups.

Tags and comments

Tags are key and value pairs on catalogs, schemas, tables, columns, volumes, and other objects, and they help users discover and search data. Governed tags are defined at the account level, with allowed values, and only users with the assign permission can apply them, which keeps tags consistent. A tag on a catalog or a schema is inherited by the objects inside for access policies, but not down to their columns. Never put sensitive data in a tag, since tags are visible as metadata. Comments describe objects in plain words, with comment on table or comment on column, and they take the modify privilege on the table. AI generated comments can draft them, and good comments help people, search, and Genie find the right data.

Recap

Let's recap. Grant the least privilege, to groups: use catalog, use schema, and select to read, and modify to write. Privileges inherit downward, including to objects created later, and browse allows discovery without reading data. Notebooks, folders, and jobs have their own permissions, like can run, can edit, can manage run, and can manage. Governed tags keep labels consistent, and never hold sensitive data. And comment on table or column describes data for people, search, and Genie.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. The finance group has SELECT on the gold orders table, but every query on it fails with a permission error. Nothing else was granted. What should the data engineer grant?

    • MODIFY on the table
    • Ownership of the table
    • USE CATALOG and USE SCHEMA
    • BROWSE on the catalog
    Show the answer

    USE CATALOG and USE SCHEMA

    Reading a table also takes use catalog on its catalog, and use schema on its schema. “MODIFY on the table” would let the group write to the table, which it does not need. “Ownership of the table” would hand over the table, far beyond least privilege. And “BROWSE on the catalog” would only let the group discover the catalog, not query the table.

  2. A contractor must run the notebooks in the team folder, but must never change them. Which permission fits?

    • CAN EDIT on the folder
    • CAN MANAGE on the folder
    • SELECT on the folder
    • CAN RUN on the folder
    Show the answer

    CAN RUN on the folder

    Can run on the folder lets the contractor run every notebook inside, without editing them. “CAN EDIT on the folder” would let the contractor change the notebooks. “CAN MANAGE on the folder” would also let the contractor change their permissions. And “SELECT on the folder” is a Unity Catalog privilege on tables, not a permission on notebooks.

  3. Analysts keep using the wrong revenue column of the gold orders table. The team wants a plain description of each column, visible in Catalog Explorer and in search. What should the data engineer add?

    • COMMENT ON COLUMN for each column
    • A governed tag named description
    • A README notebook in the team folder
    • A column mask on the wrong column
    Show the answer

    COMMENT ON COLUMN for each column

    Comment on column stores a description of each column, which Catalog Explorer, search, and Genie show. “A governed tag named description” would add a label, not a description, and governed tags only accept allowed values. “A README notebook in the team folder” would keep the description outside Unity Catalog, where search does not find it. And “A column mask on the wrong column” would hide values, not explain the columns.