ExamGecko
Question list
Search
Search

List of questions

Search

Question 70 - ARA-C01 discussion

Report
Export

The following DDL command was used to create a task based on a stream:

Assuming MY_WH is set to auto_suspend -- 60 and used exclusively for this task, which statement is true?

A.
The warehouse MY_WH will be made active every five minutes to check the stream.
Answers
A.
The warehouse MY_WH will be made active every five minutes to check the stream.
B.
The warehouse MY_WH will only be active when there are results in the stream.
Answers
B.
The warehouse MY_WH will only be active when there are results in the stream.
C.
The warehouse MY_WH will never suspend.
Answers
C.
The warehouse MY_WH will never suspend.
D.
The warehouse MY_WH will automatically resize to accommodate the size of the stream.
Answers
D.
The warehouse MY_WH will automatically resize to accommodate the size of the stream.
Suggested answer: B

Explanation:

The warehouse MY_WH will only be active when there are results in the stream. This is because the task is created based on a stream, which means that the task will only be executed when there are new data in the stream. Additionally, the warehouse is set to auto_suspend - 60, which means that the warehouse will automatically suspend after 60 seconds of inactivity. Therefore, the warehouse will only be active when there are results in the stream.Reference:

[CREATE TASK | Snowflake Documentation]

[Using Streams and Tasks | Snowflake Documentation]

[CREATE WAREHOUSE | Snowflake Documentation]

asked 23/09/2024
Gaurav Singh
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first