0
0
Snowflakecloud~20 mins

Creating tables (permanent, temporary, transient) in Snowflake - Practice Exercises

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Snowflake Table Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Difference in data retention for table types

Which type of Snowflake table retains data even after the user session ends and supports Time Travel and Fail-safe features?

ATemporary table
BTransient table
CExternal table
DPermanent table
Attempts:
2 left
💡 Hint

Think about which table type is designed for long-term storage with full data protection.

service_behavior
intermediate
2:00remaining
Session scope of temporary tables

What happens to a temporary table in Snowflake when the user session that created it ends?

AThe temporary table is automatically dropped and data is lost.
BThe temporary table persists and can be accessed by other sessions.
CThe temporary table is converted to a permanent table.
DThe temporary table is archived for 7 days.
Attempts:
2 left
💡 Hint

Consider the lifespan of temporary tables relative to user sessions.

Configuration
advanced
2:30remaining
Creating a transient table with clustering

Which SQL statement correctly creates a transient table named sales_data with clustering on the region column?

ACREATE TABLE TRANSIENT sales_data (id INT, region STRING) CLUSTER ON region;
BCREATE TRANSIENT TABLE sales_data (id INT, region STRING) CLUSTER BY (region);
CCREATE TRANSIENT TABLE sales_data (id INT, region STRING) CLUSTERED BY region;
DCREATE TRANSIENT TABLE sales_data (id INT, region STRING) CLUSTER BY region;
Attempts:
2 left
💡 Hint

Check the correct syntax for clustering keys in Snowflake table creation.

security
advanced
2:00remaining
Data protection differences between permanent and transient tables

Which statement correctly describes the difference in data protection features between permanent and transient tables in Snowflake?

APermanent tables support Time Travel and Fail-safe, transient tables do not support Fail-safe.
BPermanent tables support Time Travel and Fail-safe, transient tables support only Time Travel.
CTransient tables support Time Travel and Fail-safe, permanent tables do not.
DBoth permanent and transient tables do not support Fail-safe.
Attempts:
2 left
💡 Hint

Recall which table type skips Fail-safe to reduce storage costs.

Architecture
expert
2:30remaining
Choosing table type for temporary session data with no recovery needs

You need to store intermediate data during a user session that should be automatically removed when the session ends. The data does not require Time Travel or Fail-safe. Which table type should you choose?

AExternal table
BTransient table
CTemporary table
DPermanent table
Attempts:
2 left
💡 Hint

Consider the table type that exists only during the session and does not keep data after.