Skip to content

Turning on audit logging

Unity Catalog automatically captures audit events for data access, permission changes, and administrative actions across catalogs, schemas, and tables. Administrators can access these logs either through Azure Diagnostic settings exported to Log Analytics/Storage/Event Hubs, or by querying the built-in system.access.audit system table directly with SQL.

1 · Learn the must-know

  • Unity Catalog audit events are logged automatically for actions like table reads, grants/revokes, and catalog/schema changes without any extra instrumentation by the user.
  • In Azure, audit logs are enabled by configuring Diagnostic settings on the Azure Databricks workspace resource and selecting relevant log categories (e.g., unityCatalog, account) to route to a Log Analytics workspace, Storage Account, or Event Hub.
  • The system.access.audit system table provides a queryable, SQL-native view of audit logs and must be explicitly enabled by a metastore admin because system schemas are disabled by default.
  • Audit log records include fields such as serviceName, actionName, requestParams, userIdentity, and sourceIPAddress, useful for tracing who did what and when.
  • Configuring diagnostic log export requires Azure-level permissions (e.g., Owner/Contributor on the workspace resource), which is distinct from Unity Catalog metastore admin permissions needed to enable system tables.
  • Audit logging is metastore-wide (account-level) in Unity Catalog, so a single configuration captures activity across all workspaces attached to that metastore, not per-workspace.

2 · Check your understanding

Check this objectiveFree · always available

A data engineer at a financial services company must send Unity Catalog audit events, such as table creation, grant changes, and data access, to a centralized Log Analytics workspace for a compliance team to review. The workspace is deployed in Azure and Unity Catalog is already enabled. What should the engineer configure to meet this requirement?

Your objective map0 tried · 0 answered correctly · 77 untouched

What you have tried across DP-750's objectives, not a readiness score.

Set up and configure an Azure Databricks environment15-20% of the exam0 of 13 tried
Secure and govern Unity Catalog objects15-20% of the exam0 of 12 tried
Prepare and process data30-35% of the exam0 of 28 tried
Deploy and maintain data pipelines and workloads30-35% of the exam0 of 24 tried

3 · Keep going