0
0
Snowflakecloud~20 mins

Snowpipe for event-driven loading in Snowflake - Practice Problems & Coding Challenges

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

Snowpipe automates data loading into Snowflake. Which method does Snowpipe use to detect new files for loading?

AIt requires manual triggering by the user for each file.
BIt continuously polls the cloud storage location for new files.
CIt uses a scheduled batch job to scan and load files every hour.
DIt relies on event notifications from the cloud storage service.
Attempts:
2 left
💡 Hint

Think about how Snowpipe reacts instantly when new data arrives.

Configuration
intermediate
2:00remaining
Which Snowpipe configuration enables event-driven loading from AWS S3?

You want Snowpipe to load data automatically when new files arrive in an AWS S3 bucket. Which configuration step is required?

AConfigure an S3 event notification to send messages to an SQS queue subscribed by Snowpipe.
BSet up an S3 event notification to send messages to an SNS topic subscribed by Snowpipe.
CCreate an SQS queue and configure Snowpipe to poll it every 5 minutes.
DManually upload files to Snowflake stage to trigger Snowpipe.
Attempts:
2 left
💡 Hint

Snowpipe listens to messages from a queue service for event-driven loading.

Architecture
advanced
2:00remaining
What is the main benefit of using Snowpipe with event-driven loading over batch loading?

Compare Snowpipe event-driven loading with traditional batch loading. What is the primary advantage of event-driven loading?

AIt reduces data latency by loading files immediately after arrival.
BIt lowers storage costs by compressing files before loading.
CIt allows manual control over when data is loaded.
DIt batches multiple files to load only once per day.
Attempts:
2 left
💡 Hint

Think about how quickly data becomes available for queries.

security
advanced
2:00remaining
Which IAM permission is essential for Snowpipe to access files in an AWS S3 bucket for event-driven loading?

To enable Snowpipe to load data from an AWS S3 bucket using event notifications, which IAM permission must be granted?

As3:DeleteObject to remove files after loading.
Bs3:PutObject to upload files to the bucket.
Cs3:GetObject to read files from the bucket.
Ds3:ListBucket to list all buckets in the account.
Attempts:
2 left
💡 Hint

Snowpipe needs to read files to load data.

service_behavior
expert
2:00remaining
What happens if Snowpipe receives duplicate event notifications for the same file?

Snowpipe is configured for event-driven loading. If it receives multiple event notifications for the same file, what is the expected behavior?

ASnowpipe loads the file multiple times, causing duplicate data.
BSnowpipe ignores duplicates and loads the file only once.
CSnowpipe raises an error and stops loading further files.
DSnowpipe deletes the file after the first load to prevent duplicates.
Attempts:
2 left
💡 Hint

Consider how Snowpipe ensures data consistency.