Databricks-DE-Assoc Governance and Security Practice Question
A data engineer is asked to ensure that all queries against a Unity Catalog table are recorded for auditing, including the identity of the user and the query text. Which Databricks feature should the engineer enable to capture this information?
⚠ Common exam trap
Many exam-takers confuse lineage tracking with auditing, when lineage records dependencies rather than user activity and query text.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Enable audit logs at the workspace level and configure delivery to a cloud storage location.
Audit logs in Databricks capture detailed events including query execution, user identity, and access to Unity Catalog objects. Delivering these logs to cloud storage or a SIEM allows security teams to review and retain records for compliance. This is the appropriate feature for recording queries against Unity Catalog tables.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable Unity Catalog metastore-level lineage tracking to record all query statements.
Why it's wrong here
Lineage tracking records table and column dependencies across queries, not the query text or user identity. It is useful for impact analysis and data discovery but does not satisfy an audit requirement for who ran what query. It is not a substitute for audit logs.
- ✓
Enable audit logs at the workspace level and configure delivery to a cloud storage location.
Why this is correct
Audit logs record events such as query execution, user identity, and access to Unity Catalog objects. Enabling audit logs and delivering them to cloud storage provides the required traceability for compliance. This is the standard mechanism for capturing query activity across a workspace.
- ✗
Configure a cluster log delivery to a DBFS path and parse the logs for query text.
Why it's wrong here
Cluster log delivery captures driver and executor logs, which may include some query activity but are not designed as a security audit trail. They lack structured records of user identity and Unity Catalog access events, and parsing them for compliance is unreliable and not the intended mechanism.
- ✗
Enable table access control (legacy) on the cluster to log all table reads.
Why it's wrong here
Table access control (legacy) is a workspace-level access control feature that predates Unity Catalog. It does not provide a comprehensive audit trail of query text and user identity to a central location in the way audit logs do, and it is not the recommended mechanism for Unity Catalog auditing.
About these practice questions
This Databricks-DE-Assoc question is part of Courseiva's 276-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Databricks exam blueprint
This Databricks-DE-Assoc practice question is part of Courseiva's free Databricks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the Databricks-DE-Assoc exam.