Which Snowpipe creation command is correct for data hosted on AWS S3?

Master the SnowPro Advanced Architect Test with flashcards, multiple-choice questions, and detailed explanations. Prepare thoroughly for your certification!

Multiple Choice

Which Snowpipe creation command is correct for data hosted on AWS S3?

Explanation:
Auto-ingest with Snowpipe relies on an AWS SNS topic that S3 publishes to when new files arrive. The pipe must specify the ARN of a real AWS SNS topic in the same region as the S3 bucket so Snowflake can receive the notification and trigger the data load. The correct command uses an AWS SNS topic in the us-west-2 region, which aligns with a typical S3 bucket in that AWS region, and provides an SNS topic name that reflects the S3 bucket. The rest of the statement follows the standard Snowpipe syntax: copying from the stage into the target table using a JSON file format. The other options are off because they point to an Azure-based topic or use an invalid AWS region, which would not receive S3 event notifications for Snowpipe. The last option uses an integration name instead of an SNS topic, which is only appropriate if a preconfigured storage integration for that use case exists.

Auto-ingest with Snowpipe relies on an AWS SNS topic that S3 publishes to when new files arrive. The pipe must specify the ARN of a real AWS SNS topic in the same region as the S3 bucket so Snowflake can receive the notification and trigger the data load. The correct command uses an AWS SNS topic in the us-west-2 region, which aligns with a typical S3 bucket in that AWS region, and provides an SNS topic name that reflects the S3 bucket. The rest of the statement follows the standard Snowpipe syntax: copying from the stage into the target table using a JSON file format.

The other options are off because they point to an Azure-based topic or use an invalid AWS region, which would not receive S3 event notifications for Snowpipe. The last option uses an integration name instead of an SNS topic, which is only appropriate if a preconfigured storage integration for that use case exists.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy