ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 23 - ADA-C01 discussion

Report
Export

A Snowflake Administrator wants to create a virtual warehouse that supports several dashboards, issuing various queries on the same database.

For this warehouse, why should the Administrator consider setting AUTO_SUSPEND to 0 or NULL?

A.
To save costs on warehouse shutdowns and startups for different queries
Answers
A.
To save costs on warehouse shutdowns and startups for different queries
B.
To save costs by running the warehouse as little as possible
Answers
B.
To save costs by running the warehouse as little as possible
C.
To keep the data cache warm to support good performance of similar queries
Answers
C.
To keep the data cache warm to support good performance of similar queries
D.
To keep the query result cache warm for good performance on repeated queries
Answers
D.
To keep the query result cache warm for good performance on repeated queries
Suggested answer: C

Explanation:

According to the Snowflake documentation1, the AUTO_SUSPEND property specifies the number of seconds of inactivity after which a warehouse is automatically suspended. If the property is set to 0 or NULL, the warehouse never suspends automatically. For a warehouse that supports several dashboards, issuing various queries on the same database, setting AUTO_SUSPEND to 0 or NULL can help to keep the data cache warm, which means that the data used by the queries is already loaded into the warehouse memory and does not need to be fetched from the storage layer. This can improve the performance of similar queries that access the same data. Option A is incorrect because setting AUTO_SUSPEND to 0 or NULL does not save costs on warehouse shutdowns and startups, but rather increases the costs by keeping the warehouse running continuously. Option B is incorrect because setting AUTO_SUSPEND to 0 or NULL does not run the warehouse as little as possible, but rather runs the warehouse as much as possible. Option D is incorrect because setting AUTO_SUSPEND to 0 or NULL does not affect the query result cache, which is a separate cache that stores the results of previous queries for a period of time. The query result cache is not dependent on the warehouse state, but on the query criteria2.

asked 23/09/2024
Abdulraheem alsaka
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first