A data engineer needs to audit which users have accessed a Unity Catalog table containing sensitive data. They want to see a record of all queries that read from the table over the past 30 days. Which Unity Catalog feature should they use?
Audit logs capture detailed information about user activities, including queries executed against Unity Catalog tables. They record who accessed what data and when, making them the correct choice for auditing access to sensitive tables. Audit logs are stored in the metastore's storage location and can be queried for analysis.
Why this answer
Audit logs in Unity Catalog record all access and query activities, including the user, timestamp, and the tables accessed. They are essential for security auditing and compliance. Data lineage, information schema, and Delta transaction logs serve different purposes and do not provide a record of user access.
Exam trap
The trap here is assuming data lineage tracks user access, but it only tracks data flow, not individual queries.