SnowPro Advanced: Data Engineer — Question 76

How should a Data Engineer build a pipeline that executes a stored procedure to parse and load unstructured data files as the files arrive in a stage?

Answer options

Correct answer: D

Explanation

The correct answer is D because it effectively uses a directory table and a stream to monitor the stage for new files and trigger the task to execute the stored procedure when files arrive. Options A and B do not directly relate to executing a stored procedure upon file arrival, and option C does not provide a mechanism for automatic execution when files land in the stage.