CertLumen

Databricks Platform Architect · Section 4 · 15% of the exam

Monitor and meet compliance needs with audit logs, system tables, the compliance security profile and enhanced security monitoring.

One of the objectives of the Databricks Platform Architect accreditation (AWS, Azure or GCP) exam, in the section “Platform Access and Security”. Here is what it covers, the points to remember and a question to try.

What it covers

Databricks records every audited action as an event you can query in system.access.audit or deliver to your own cloud, which works differently on AWS, Azure and GCP. This lesson covers audit delivery and queries, verbose audit logs, the system tables that matter for security, the compliance security profile and its standards per cloud, enhanced security monitoring, automatic cluster update, the Security Analysis Tool and an incident response playbook.

Points to remember

  • Query audit events in system.access.audit (Public Preview, 365 days free; account-level events have workspace_id 0).
  • Delivery: AWS log delivery configuration to S3; Azure diagnostic settings to Log Analytics, storage or Event Hubs; GCP log delivery to a GCS bucket.
  • AWS and GCP allow two enabled account-level delivery configurations per log type; they can be disabled but never deleted.
  • CloudTrail, the Azure Activity Log and Cloud Logging hold cloud API calls, not Databricks workspace events.
  • Verbose audit logs (off by default) add command and query text; enabling them is logged as workspaceConfEdit.

Try a question

A security analyst must list everyone who read secrets from the etl-prod scope in the past week. The query selects event_time and user_identity.email from system.access.audit and filters event_date to the last 7 days. Which additional filter returns the right events?

  1. AWHERE service_name = 'secrets' AND action_name = 'getSecret' AND request_params.scope = 'etl-prod'
  2. BWHERE service_name = 'unityCatalog' AND action_name = 'getSecret' AND request_params.scope = 'etl-prod'
  3. CWHERE service_name = 'secrets' AND action_name = 'putSecret' AND request_params.scope = 'etl-prod'
  4. DWHERE service_name = 'secrets' AND action_name = 'getSecret' AND workspace_id = 0
Show the answer

A. Secret reads are logged with service_name secrets and action_name getSecret, with the scope and key in the request_params map. putSecret records writes, and workspace_id 0 marks account-level events, which secret reads in a workspace are not. Filtering on event_date keeps the query efficient.

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

In the course

The lesson Audit Logs, Monitoring and Compliance teaches this objective (about 50 minutes), and 15 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 19 objectives · Next objective →