0
0
Snowflakecloud~20 mins

Data classification and tagging in Snowflake - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Data Classification Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Data Classification Tags in Snowflake

Which of the following best describes the purpose of data classification tags in Snowflake?

ATo label data with metadata that helps control access and manage compliance
BTo increase the storage size of tables for better performance
CTo automatically encrypt all data in a database without user input
DTo create backups of data at regular intervals
Attempts:
2 left
💡 Hint

Think about why you would want to add labels to data in a cloud environment.

Configuration
intermediate
2:00remaining
Applying a Tag to a Table Column in Snowflake

Given the tag PII already created, which SQL command correctly applies this tag to the email column of the users table?

AALTER TABLE users ALTER COLUMN email SET TAG PII = true;
BALTER TABLE users MODIFY COLUMN email SET TAG PII = 'true';
CALTER TABLE users ALTER COLUMN email SET TAGS ('PII' = 'true');
DALTER TABLE users ALTER COLUMN email SET TAG PII = 'true';
Attempts:
2 left
💡 Hint

Remember the exact syntax for setting a tag on a column in Snowflake.

Architecture
advanced
2:30remaining
Designing a Tagging Strategy for Sensitive Data

You need to design a tagging strategy in Snowflake to identify and protect sensitive data across multiple schemas and databases. Which approach is best to ensure consistent classification and ease of management?

ACreate a centralized set of tags at the account level and apply them consistently across all schemas and databases
BApply tags only to tables, ignoring columns, to reduce tagging overhead
CCreate unique tags for each schema to allow schema owners full control over classification
DUse tags only on views to avoid modifying base tables
Attempts:
2 left
💡 Hint

Think about how to maintain consistency and simplify management across many data objects.

security
advanced
2:30remaining
Impact of Data Classification Tags on Access Control

How can data classification tags in Snowflake be used to enhance security and access control?

ABy automatically encrypting tagged data without additional configuration
BBy integrating tags with masking policies to restrict sensitive data visibility based on user roles
CBy preventing any user from querying tagged tables unless they have admin rights
DBy duplicating tagged data into a separate secure database
Attempts:
2 left
💡 Hint

Consider how tags can work with other Snowflake features to protect data.

service_behavior
expert
3:00remaining
Behavior of Tag Inheritance in Snowflake

Consider a tag Confidential applied to a database in Snowflake. Which statement best describes how this tag behaves with respect to objects within that database?

AThe tag is inherited only by tables but not by schemas within the database
BThe tag is automatically inherited by all schemas and tables within the database unless explicitly overridden
CThe tag applies only to the database object and does not propagate to schemas or tables
DThe tag is inherited by all objects in the account regardless of their location
Attempts:
2 left
💡 Hint

Think about how tagging works at different object levels in Snowflake.