
Answer-first summary for fast verification
Answer: Using a larger virtual warehouse
The correct answer is A because using a larger virtual warehouse increases the available memory and local disk space for query operations, which directly reduces the need for data spilling. This is supported by Snowflake documentation and community consensus, where spilling occurs when memory is insufficient for intermediate results, leading to performance degradation. Option B (increasing timeout limit) does not address memory constraints causing spilling. Option C (increasing remote storage) is counterproductive as it relates to remote spilling, which is a consequence to avoid, not a solution. Option D (using CTE instead of temporary table) may optimize query structure but does not inherently resolve memory limitations that lead to spilling.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Which action can minimize data spilling to local disk in Snowflake?
A
Using a larger virtual warehouse
B
Increasing the virtual warehouse maximum timeout limit
C
Increasing the amount of remote storage for the virtual warehouse
D
Using a Common Table Expression (CTE) instead of a temporary table