0
0
Snowflakecloud~5 mins

Column-level security with masking policies in Snowflake - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is column-level security in Snowflake?
Column-level security restricts access to specific columns in a table, allowing control over who can see sensitive data in those columns.
Click to reveal answer
beginner
What is a masking policy in Snowflake?
A masking policy defines rules to hide or obfuscate sensitive data in columns based on the user's role or context.
Click to reveal answer
intermediate
How does a masking policy work in Snowflake?
When a user queries a column with a masking policy, Snowflake applies the policy's logic to show either the real data or masked data depending on the user's permissions.
Click to reveal answer
intermediate
Can masking policies be applied to multiple columns in Snowflake?
Yes, you can create multiple masking policies and apply them to different columns as needed to protect sensitive information.
Click to reveal answer
advanced
What is the benefit of using masking policies over just restricting access to columns?
Masking policies allow users to query data without errors but see masked values if they lack permission, improving usability while protecting sensitive data.
Click to reveal answer
What does a masking policy in Snowflake do?
AEncrypts the entire database
BDeletes sensitive columns from tables
CHides or masks data in columns based on user roles
DCreates backups of sensitive data
Which Snowflake object do you create to implement column-level masking?
AStage
BMasking policy
CWarehouse
DRole
If a user lacks permission, what will they see when querying a masked column?
AMasked or obfuscated data
BAn error message
CThe full original data
DNo rows returned
Can a single masking policy be reused for multiple columns?
AOnly for numeric columns
BNo, each column needs a unique policy
COnly for columns in different tables
DYes, if the masking logic applies to those columns
What is a key advantage of masking policies compared to simply revoking column access?
AUsers can still query data without errors but see masked values
BIt permanently deletes sensitive data
CIt speeds up queries
DIt encrypts data at rest
Explain how column-level security with masking policies works in Snowflake.
Think about how data visibility changes depending on who queries it.
You got /4 concepts.
    Describe the benefits of using masking policies for protecting sensitive data in Snowflake.
    Consider why masking is better than just hiding columns.
    You got /4 concepts.