SnowPro Advanced: Data Engineer — Question 44

A CSV file, around 1 TB in size, is generated daily on an on-premise server. A corresponding table, internal stage, and file format have already been created in Snowflake to facilitate the data loading process.
How can the process of bringing the CSV file into Snowflake be automated using the LEAST amount of operational overhead?

Answer options

Correct answer: B

Explanation

Option B is correct because it efficiently schedules the file transfer using SnowSQL and waits for the file to be ready before executing the COPY INTO statement. Option A incorrectly assumes direct access to the on-premise server from Snowflake, which is not feasible. Option C relies on Snowpipe, which, while automated, involves more complexity and setup. Option D adds unnecessary complexity by using Python to read and insert data, rather than leveraging the existing Snowflake capabilities.