Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake ARA-C01 Exam - Topic 5 Question 70 Discussion

How can the Snowpipe REST API be used to keep a log of data load history?
D) Call loadHistoryScan every 10 minutes for a 15-minute time range.
A) Call insertReport every 20 minutes, fetching the last 10,000 entries.
B) Call loadHistoryScan every minute for the maximum time range.
C) Call insertReport every 8 minutes for a 10-minute time range.

Snowflake ARA-C01 Exam - Topic 5 Question 70 Discussion

Actual exam question for Snowflake's ARA-C01 exam
Question #: 70
Topic #: 5
[All ARA-C01 Questions]

How can the Snowpipe REST API be used to keep a log of data load history?

Show Suggested Answer Hide Answer
Suggested Answer: D

Snowpipe is a service that automates and optimizes the loading of data from external stages into Snowflake tables. Snowpipe uses a queue to ingest files as they become available in the stage.Snowpipe also provides REST endpoints to load data and retrieve load history reports1.

The loadHistoryScan endpoint returns the history of files that have been ingested by Snowpipe within a specified time range.The endpoint accepts the following parameters2:

pipe: The fully-qualified name of the pipe to query.

startTimeInclusive: The start of the time range to query, in ISO 8601 format. The value must be within the past 14 days.

endTimeExclusive: The end of the time range to query, in ISO 8601 format. The value must be later than the start time and within the past 14 days.

recentFirst: A boolean flag that indicates whether to return the most recent files first or last. The default value is false, which means the oldest files are returned first.

showSkippedFiles: A boolean flag that indicates whether to include files that were skipped by Snowpipe in the response. The default value is false, which means only files that were loaded are returned.

The loadHistoryScan endpoint can be used to keep a log of data load history by calling it periodically with a suitable time range. The best option among the choices is D, which is to call loadHistoryScan every 10 minutes for a 15-minute time range. This option ensures that the endpoint is called frequently enough to capture the latest files that have been ingested, and that the time range is wide enough to avoid missing any files that may have been delayed or retried by Snowpipe.The other options are either too infrequent, too narrow, or use the wrong endpoint3.


1: Introduction to Snowpipe | Snowflake Documentation

2: loadHistoryScan | Snowflake Documentation

3: Monitoring Snowpipe Load History | Snowflake Documentation

Contribute your Thoughts:

0/2000 characters
Lamonica
3 days ago
B) is solid for maximum data retrieval!
upvoted 0 times
...
Tora
9 days ago
C) seems too short, 8 minutes is cutting it close.
upvoted 0 times
...
Mabel
14 days ago
Wait, can you really get 10,000 entries every 20 minutes?
upvoted 0 times
...
Benton
19 days ago
I think D) makes more sense for broader coverage.
upvoted 0 times
...
Dalene
24 days ago
A) is the best choice for frequent updates!
upvoted 0 times
...
Rosio
29 days ago
I think D could be a good choice, but I'm uncertain if 10 minutes is the optimal interval for the load history.
upvoted 0 times
...
Kasandra
1 month ago
I feel like option C might be correct since 8 minutes seems reasonable for a short time range, but I can't remember the specifics.
upvoted 0 times
...
Lorrine
1 month ago
I remember practicing with loadHistoryScan, but I can't recall if it should be every minute or if that's too frequent.
upvoted 0 times
...
Garry
1 month ago
I think option A sounds familiar, but I'm not sure if 20 minutes is the right interval.
upvoted 0 times
...

Save Cancel