0
0
Snowflakecloud~20 mins

Snowpipe for continuous loading in Snowflake - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Snowpipe Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
How does Snowpipe detect new files for loading?

Snowpipe continuously loads data from files in a cloud storage stage. How does Snowpipe know when new files are ready to be loaded?

ASnowpipe requires manual commands to start loading new files.
BSnowpipe polls the cloud storage every few minutes to check for new files.
CSnowpipe uses event notifications from the cloud storage to trigger loading.
DSnowpipe loads all files in the stage every time it runs, ignoring duplicates.
Attempts:
2 left
💡 Hint

Think about how Snowpipe can react quickly without wasting resources.

Configuration
intermediate
2:00remaining
Which Snowpipe configuration enables automatic file ingestion?

To enable Snowpipe to automatically load files as soon as they arrive in a cloud storage stage, which configuration is required?

ACreate a pipe with AUTO_INGEST = TRUE and configure cloud storage event notifications.
BCreate a pipe with AUTO_INGEST = FALSE and schedule manual COPY commands.
CCreate a pipe with AUTO_INGEST = TRUE but no event notifications are needed.
DCreate a pipe with AUTO_INGEST = FALSE and rely on Snowflake polling.
Attempts:
2 left
💡 Hint

Automatic ingestion requires both pipe setting and cloud storage setup.

Architecture
advanced
3:00remaining
What is the best architecture to minimize data duplication with Snowpipe?

You want to ensure Snowpipe loads files exactly once, avoiding duplicates even if event notifications are delayed or repeated. Which architecture helps achieve this?

AConfigure Snowpipe to load files multiple times and deduplicate data in the target table.
BManually track loaded files in a separate table and filter files before loading.
CUse scheduled batch COPY commands instead of Snowpipe to control loading.
DUse Snowpipe with cloud storage event notifications and rely on Snowflake's internal metadata to track loaded files.
Attempts:
2 left
💡 Hint

Snowpipe has built-in mechanisms to avoid duplicate loads.

security
advanced
3:00remaining
How should you secure Snowpipe's access to cloud storage?

Snowpipe needs to read files from your cloud storage stage. What is the best practice to secure this access?

AGrant Snowflake full admin access to your entire cloud storage account.
BGrant Snowflake a minimal IAM role or service principal with read-only permissions limited to the stage folder.
CUse public URLs for files so Snowpipe can access them without credentials.
DManually download files and upload them to Snowflake to avoid granting access.
Attempts:
2 left
💡 Hint

Least privilege principle is important for security.

Best Practice
expert
4:00remaining
What is the recommended way to monitor Snowpipe continuous loading health?

You want to monitor Snowpipe to detect failures or delays in loading files continuously. Which approach is best?

AQuery Snowflake's LOAD_HISTORY view regularly and alert on errors or long delays.
BRely only on cloud storage event logs to check if files arrived.
CManually check the target table row counts daily.
DUse Snowpipe's automatic retry feature and assume it always works without monitoring.
Attempts:
2 left
💡 Hint

Snowflake provides metadata views for monitoring.