SpinTheMic
Pro

Interview practice question

Proving who accessed PII

Data Engineering · Snowflake · Experienced

An auditor asks you to show who accessed customer PII columns in the last 90 days. How do you answer?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Use ACCOUNT_USAGE.ACCESS_HISTORY, which records columns read and written per query (Enterprise Edition).
  • Join with QUERY_HISTORY for user, role and query text.
  • Filter on columns tagged as PII using TAG_REFERENCES.
  • ACCOUNT_USAGE keeps about one year of history.
  • Export results into an audit report and keep a repeatable query.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics