0
0
Snowflakecloud~5 mins

Access history and audit logging in Snowflake - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is Access History in Snowflake?
Access History in Snowflake is a feature that records detailed information about user activities, such as queries run, objects accessed, and the time of access. It helps track who did what and when in your Snowflake account.
Click to reveal answer
beginner
How does Snowflake Audit Logging help in security?
Audit Logging captures all account-level events like login attempts, role changes, and data access. This helps detect unauthorized access, monitor compliance, and investigate security incidents.
Click to reveal answer
intermediate
Which Snowflake view provides access history details?
The view named ACCESS_HISTORY in the SNOWFLAKE.ACCOUNT_USAGE schema provides detailed records of user access to objects, including query IDs, user names, and timestamps.
Click to reveal answer
intermediate
What is the retention period for Access History data in Snowflake?
By default, Access History data is retained for 1 year in Snowflake, allowing long-term auditing and analysis of user activities.
Click to reveal answer
intermediate
How can you query audit logs in Snowflake?
You can query audit logs by selecting from the SNOWFLAKE.ACCOUNT_USAGE.LOGIN_HISTORY and QUERY_HISTORY views to see login events and query executions respectively.
Click to reveal answer
Which Snowflake schema contains the ACCESS_HISTORY view?
ASNOWFLAKE.DATABASES
BINFORMATION_SCHEMA
CSNOWFLAKE.ACCOUNT_USAGE
DPUBLIC
What type of events does Snowflake Audit Logging NOT capture?
AUser login attempts
BQuery executions
CRole changes
DLocal machine file changes
How long is Access History data retained by default in Snowflake?
A1 year
B90 days
CIndefinitely
D30 days
Which view would you query to see user login events in Snowflake?
AACCESS_HISTORY
BLOGIN_HISTORY
CQUERY_HISTORY
DSESSION_HISTORY
What is the main purpose of Access History in Snowflake?
ATo track user activities and data access
BTo store user passwords
CTo manage database backups
DTo optimize query performance
Explain how Access History and Audit Logging help maintain security in Snowflake.
Think about what information is recorded and why it matters for security.
You got /5 concepts.
    Describe how you would find out who accessed a specific table in Snowflake using audit logs.
    Focus on which views to use and what filters to apply.
    You got /5 concepts.