CertSafari
    Databricks Certified Data Analyst Associate· Lessons

    Domain 2 · Lesson 5/39

    Tagging Unity Catalog assets with governed tags

    Use the Catalog Explorer to tag a data asset with governed tags and view its lineage, including external lineage.

    12 min read
    2.67% of exam
    4 sources
    Published 2 Nov 2026
    Docs as of 31 Oct 2026

    What you will be able to do

    • Tell ordinary tags, governed tags and system tags apart, and name the objects each can be applied to
    • Explain the CREATE, MANAGE and ASSIGN permissions on governed tags and why an allowed value can still be rejected
    • Apply a tag in Catalog Explorer or with SQL, with the right object privileges, and predict where it is inherited

    Key concept

    Governed tag — An account-level tag key with a tag policy. The policy fixes which values the key may take and which users and groups may assign it. Everyone tags the same way, and only authorised people can set the tag.

    1.Tags, governed tags and system tags

    A tag is a key with an optional value that you attach to a Unity Catalog object to organize and categorize it. Tags also drive search. Searching for a tag returns assets that carry it directly and assets that inherit it from a parent catalog or schema. On the Unity Catalog side, you can tag catalogs, schemas, tables, table columns, volumes, views, functions, registered models, model versions, secrets, external metadata objects and services. Dashboards, Genie Agents, Databricks apps and notebooks can also carry tags.

    An ordinary tag is free-form. Anyone allowed to tag an object can choose any key and value, so one team might write Department = finance while another writes department = Finance. Because keys are case-sensitive, those are two separate tags, and a search for one misses the other. Governed tags prevent this kind of drift. An administrator marks a key as governed and attaches a tag policy that lists the allowed values and says who may assign them. A governed sensitivity tag, for example, might allow only public, internal or restricted. The policy applies at the account level, so it holds in every workspace. Governed tags work on Unity Catalog objects and on workspace objects such as dashboards and notebooks. They do not work on compute such as SQL warehouses, or on jobs, which use their own tagging mechanism.

    System tags are governed tags that Databricks defines in advance. You cannot change or delete their keys or values, although you still control who may assign them. They use reserved prefixes such as system., class., sap. and ai.. One example is the class.* family, which Data Classification applies automatically to columns holding sensitive data such as class.email_address. Another is system.certification_status. A certified or deprecated data asset is just an asset with this system tag set to the matching value. You set it through the same Add tag flow as any other tag, and Catalog Explorer then shows a check mark for certified assets or a restricted icon for deprecated ones.

    Three kinds of tag in Catalog Explorer
    KindWho defines keys and valuesMarker in the tag pickerCan the definition be edited?
    Ordinary tagWhoever applies itListed under OtherNo central definition to edit
    User-governed tagAn admin with CREATE, through a tag policyLock icon, grouped under GovernedYes, by users with MANAGE
    System tagDatabricksWrench icon, shown with the Include system tags toggleNo, not even with MANAGE

    Checkpoint 1 of 7· Match them up

    Match each kind of tag to how its keys and values are controlled in Catalog Explorer.

    Tap a term, then the definition that fits it.

    Sources12

    2.Who can create and assign governed tags

    Three permissions control governed tags. Each can be granted at account scope, which covers every governed tag, or on a single governed tag. The exception is CREATE, which exists only at account scope.

    Governed tag permissions
    PermissionWhat it allowsScopeDefault holders
    CREATECreate new governed tagsAccountAccount admins; workspace admins unless an account admin revokes it
    MANAGEEdit, delete, and grant permissions on governed tagsAccount or individual governed tagAccount admins; the user who created the tag
    ASSIGNAssign governed tags to Unity Catalog objectsAccount or individual governed tagAccount admins

    ASSIGN is the permission that most often blocks people. It decides who may use a governed tag, and it is separate from the object privileges that decide who may tag a given table. Picture a data steward who has USE CATALOG and USE SCHEMA and picks restricted, a listed allowed value. The assignment still fails. The value was never the problem. The tag policy lets only authorised users set values on that key, and the steward has not been granted that authority. Someone with MANAGE on the tag has to grant it under Catalog → Govern → Governed Tags → the tag → Permissions. New grants can take 30 seconds or longer to take effect, even though the UI shows them straight away.

    To create a governed tag, go to Catalog → Govern → Governed Tags → Create governed tag. Enter a key, an optional description and the allowed values. You can also do it in SQL:

    Defining a governed tag and its allowed values in SQLsql
    -- Create a governed tag with allowed values.
    CREATE GOVERNED TAG sensitivity_level VALUES ('low', 'medium', 'high');

    You can bring tags that are already in use under governance without reapplying them. Create a governed tag with the same key as an existing one, such as department, and every current department assignment becomes governed immediately. Assignments whose values fall outside the new allowed list stay where they are, but nobody can reassign those out-of-policy values. Deleting a governed tag reverses this: the tags remain on their objects, but they become ungoverned, and anyone with APPLY TAG can change them. An account can have at most 1,000 governed tags.

    Checkpoint 2 of 7· Check yourself

    A data steward has APPLY TAG on a table, USE SCHEMA on its schema and USE CATALOG on its catalog. They try to set the governed tag sensitivity to restricted, which is one of its allowed values, and the assignment fails. What fixes this?

    Checkpoint 3 of 7· Check yourself

    An admin deletes the governed tag department, which is currently applied to dozens of tables. What happens to those existing department tags?

    Sources324

    3.Applying a tag in Catalog Explorer or SQL

    Tagging is an action on the object, so it needs privileges on the object and on the path to it. If you don't own the object, you need APPLY TAG on the object, USE SCHEMA on its parent schema and USE CATALOG on its parent catalog. SELECT doesn't help, and neither does MODIFY on its own. A governed tag adds one more requirement on top of these three: ASSIGN on that tag.

    In Catalog Explorer, the steps are:

    1. Click Catalog in the sidebar and select the object.
    2. On the Overview page, under Tags, click Add tags. If the object already has tags, click the Add/Edit tags icon.
    3. Choose a key and value, or type a new key. Governed tags appear under Governed with a lock icon, and other tags appear under Other.
    4. Turn on Include system tags to see system tags, such as the certification status tag.

    The key is always required. Whether a value is required depends on the key. In SQL, Databricks Runtime 16.1 and above supports SET TAG and UNSET TAG. On Databricks Runtime 13.3 and above, you can use ALTER <object> ... SET TAGS, which is also how you tag a column:

    Tagging a single column with a governed tagsql
    -- Add the governed tag to ssn column
    ALTER TABLE abac.customers.profiles
    ALTER COLUMN SSN
    SET TAGS ('pii' = 'ssn');

    Each ALTER TABLE statement can tag only one column. If five columns hold PII, you need five statements, even though a single COMMENT command can cover several columns.

    Inheritance flows down the namespace and stops at tables. Tag the analytics schema, and the schema plus every table in it, such as daily_metrics, carry env = production. A column such as customer_id does not. To mark a column, tag it directly.

    Tags also have limits, and a large tagging job can run into them:

    • At most 50 tags on a single securable object, whether a table or a column.
    • At most 1,000 column tags in total across all the columns of one table.
    • Keys and values of up to 256 characters, with no leading or trailing spaces.
    • Case-sensitive keys, and tag search that needs an exact term match.

    Checkpoint 4 of 7· Fill the gap

    The analytics schema already carries a governed tag, but columns don't inherit tags, so the SSN column has to be tagged directly. Which keyword completes this column-tagging statement?

    -- Add the governed tag to ssn column
    ALTER TABLE abac.customers.profiles
    ALTER COLUMN SSN
    SET  ?  ('pii' = 'ssn');

    Checkpoint 5 of 7· Exam question

    A data steward already has USE CATALOG and USE SCHEMA on the sales catalog and schema. In Catalog Explorer, they try adding the governed tag data_classification = restricted to the customers table, and the assignment fails, even though restricted is a listed allowed value for that tag. What most likely explains the failure?

    Checkpoint 6 of 7· Exam question

    An admin applies the governed tag env = production directly to the analytics schema. A table named daily_metrics lives inside that schema, and one of its columns is customer_id. Without any further tagging action, where does the env = production tag now appear?

    Checkpoint 7 of 7· Exam question

    A BI analyst wants to tag the ssn column of the profiles table with pii = true by running ALTER TABLE ... ALTER COLUMN ... SET TAGS. They already have SELECT on the table. Which additional privileges do they need before the statement will succeed?

    Sources1

    Sources

    (4)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “Tags are attributes that include keys and optional values that you can use to organize and categorize securable objects in Unity Catalog.”
      ↩︎ Tags, governed tags and system tags
      “System tag definitions (keys and values) are predefined by Databricks.”
      ↩︎ Tags, governed tags and system tags
      “To add a governed tag to Unity Catalog securable objects, you must also have the ASSIGN permission on the governed tag.”
      ↩︎ Applying a tag in Catalog Explorer or SQL
      “You can assign a maximum of 50 tags to a single securable object (table or column).”
      ↩︎ Applying a tag in Catalog Explorer or SQL
      “You cannot assign tags to multiple columns in a single ALTER TABLE command.”
      ↩︎ Applying a tag in Catalog Explorer or SQL
      “To add a governed tag to Unity Catalog securable objects, you must also have the ASSIGN permission on the governed tag.”
      ↩︎ Exam trap 2
      “If a governed tag is deleted, the associated tags become ungoverned.”
      ↩︎ Exam trap 3
      “To add a governed tag to Unity Catalog securable objects, you must also have the ASSIGN permission on the governed tag.”
      ↩︎ Checkpoint
      “If a governed tag is deleted, the associated tags become ungoverned. The tags remain on objects”
      ↩︎ Checkpoint
    2. 2.
      “Governed tags cannot be applied to compute resources, like SQL warehouses, or jobs, which use a separate tagging mechanism.”
      ↩︎ Tags, governed tags and system tags
      “Certified assets display a check mark in Catalog Explorer; deprecated assets display a restricted icon.”
      ↩︎ Tags, governed tags and system tags
      “only users with the appropriate permissions can assign values to that tag”
      ↩︎ Who can create and assign governed tags
      “You can create a maximum of 1,000 governed tags per account.”
      ↩︎ Who can create and assign governed tags
      “Governed tags are account-level tags with built-in rules for consistency and control.”
      ↩︎ Key concept
      “All objects within a catalog or schema automatically inherit governed tags that you apply to that catalog or schema, except individual table columns.”
      ↩︎ Exam trap 1
      “All objects within a catalog or schema automatically inherit governed tags that you apply to that catalog or schema, except individual table columns.”
      ↩︎ Prediction
    3. 3.
      “The ASSIGN privilege controls who can use governed tags.”
      ↩︎ Who can create and assign governed tags
      “System tags cannot be updated or deleted, even by users with the MANAGE privilege.”
      ↩︎ Checkpoint
    4. 4.
      “Existing tag assignments that use values outside the allowed list are not removed, but they cannot be reassigned with the same out-of-policy value.”
      ↩︎ Who can create and assign governed tags

    Continue to part 2 of 2

    Viewing data lineage and external lineage in Unity Catalog

    Spotted a mistake, or was something unclear? Tell us.