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.
| Kind | Who defines keys and values | Marker in the tag picker | Can the definition be edited? |
|---|---|---|---|
| Ordinary tag | Whoever applies it | Listed under Other | No central definition to edit |
| User-governed tag | An admin with CREATE, through a tag policy | Lock icon, grouped under Governed | Yes, by users with MANAGE |
| System tag | Databricks | Wrench icon, shown with the Include system tags toggle | No, 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.
Ordinary tags have no central definition, so they drift. User-governed tags follow an admin's tag policy, which users with MANAGE can edit. System tags are governed tags that Databricks defines, and their keys and values can't be changed. You can still control who may assign them.
“System tags cannot be updated or deleted, even by users with the MANAGE privilege.”Source: docs.databricks.com
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.
| Permission | What it allows | Scope | Default holders |
|---|---|---|---|
| CREATE | Create new governed tags | Account | Account admins; workspace admins unless an account admin revokes it |
| MANAGE | Edit, delete, and grant permissions on governed tags | Account or individual governed tag | Account admins; the user who created the tag |
| ASSIGN | Assign governed tags to Unity Catalog objects | Account or individual governed tag | Account 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:
-- 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?
Object privileges decide who may tag the table. Using a governed tag needs a separate ASSIGN permission on that tag, which someone with MANAGE on it grants. The value was allowed, and CREATE exists only at account scope, so neither of those is the problem.
“To add a governed tag to Unity Catalog securable objects, you must also have the ASSIGN permission on the governed tag.”Source: docs.databricks.com
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?
Deleting a governed tag does not remove the tag from objects. It removes governance, so the tags become ordinary tags that anyone with APPLY TAG can modify.
“If a governed tag is deleted, the associated tags become ungoverned. The tags remain on objects”Source: docs.databricks.com
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:
- Click Catalog in the sidebar and select the object.
- On the Overview page, under Tags, click Add tags. If the object already has tags, click the Add/Edit tags icon.
- 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.
- 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:
-- 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');You tag a column with ALTER <object> ... SET TAGS, which works on Databricks Runtime 13.3 and above. SET TAG belongs to the separate SET TAG ON ... statement form. TBLPROPERTIES sets table properties, not tags. Each ALTER TABLE statement can tag only one column.
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?
Correct answer: C — Governed tag policies can restrict which specific allowed values a user may assign, so the steward needs that value-level permission granted separately by the tag administrator.
- A. This is incorrect because governed tags apply to tables and even individual columns, not just catalogs and schemas, so the object type is not the problem here.
- B. This is incorrect because nothing in the scenario indicates the table is near a tag limit, and hitting a count cap would not produce a permission-specific rejection tied to one value.
- C. This is correct because governed tag policies can restrict assignment down to the value level, so a user can be authorized for the catalog and schema yet still lack permission to apply one specific allowed value.
- D. This is incorrect because a session timeout would block all Catalog Explorer actions uniformly, not fail selectively on a single tag value while other privileges already work.
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?
Correct answer: B — On the analytics schema itself and on the daily_metrics table, since tables automatically inherit tags from their parent schema, but individual columns like customer_id do not.
- A. This is incorrect because tags do inherit from a schema down to the tables it contains automatically, so manual reapplication at the table level is not required.
- B. This is correct because objects within a catalog or schema automatically inherit governed tags applied at that level, with the documented exception that individual columns do not inherit them.
- C. This is incorrect because the inheritance explicitly stops short of columns, so
customer_idwould not receive the tag automatically even though the table does. - D. This is incorrect because the schema itself retains the tag that was directly applied to it; inheritance only adds the tag to child objects, it does not remove it from the source.
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?
Correct answer: D — APPLY TAG on the profiles table, plus USE SCHEMA on its parent schema and USE CATALOG on its parent catalog, since tagging requires traversing the full namespace.
- A. This is incorrect because tagging is governed by its own
APPLY TAGprivilege rather than being folded intoMODIFY, and it still requires the surrounding namespace privileges. - B. This is incorrect because tagging does not require catalog ownership; a narrower combination of object- and namespace-level privileges is sufficient for a non-owner to apply a tag.
- C. This is incorrect because tagging an existing column is not a table-creation action, so
CREATE TABLEis unrelated to whether the tag statement succeeds. - D. This is correct because assigning a tag requires
APPLY TAGon the object being tagged along withUSE SCHEMAandUSE CATALOGto traverse the namespace down to that object.
Sources1
Sources
(4)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 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.
“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.
“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.
“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