Snowpro Advanced Architect · Free Practice Question Hard

Question 41

A data architect notices that several critical dashboard queries are frequently slow, and the Query Profile shows a significant portion of time spent in the "Local Disk I/O" or "Remote Disk I/O" phases for a "Join" or "Aggregate" operator. Which of the following is the MOST likely cause of this bottleneck?
  • A The warehouse is experiencing memory "spilling" to local or remote disk.
  • B There are too many concurrent queries on the warehouse, leading to queuing.
  • C The table involved is not properly clustered.
  • D The Query Acceleration Service is not enabled.
  • E The warehouse is auto-suspended too frequently.
Reveal correct answer

Correct answer: A

Explanation


✅ The warehouse is experiencing memory "spilling" to local or remote disk.

Explanation:

  • Memory spilling occurs when a Snowflake warehouse runs out of available memory, forcing data to be temporarily stored on local disk or remote cloud storage.

  • This significantly slows down query performance, especially for JOIN and AGGREGATE operations that require large amounts of memory.

  • The Query Profile showing high Local Disk I/O or Remote Disk I/O indicates that data is being spilled, leading to performance bottlenecks.

  • To mitigate this issue, Snowflake recommends:

    • Using a larger warehouse to increase available memory.

    • Optimizing queries to process data in smaller batches.

    • Ensuring proper clustering to reduce unnecessary data scanning.

❌ Why the other options are incorrect?

  • The warehouse is auto-suspended too frequently. → Incorrect, because auto-suspension affects availability, but does not cause memory spilling.

  • The table involved is not properly clustered. → Partially true, but clustering affects scan efficiency, not memory usage.

  • The Query Acceleration Service is not enabled. → Incorrect, as Query Acceleration helps with large scans, but does not directly resolve memory spilling.

  • There are too many concurrent queries on the warehouse, leading to queuing. → Incorrect, because queuing affects execution timing, but does not cause memory spilling.

You can find more details on resolving memory spilling in Snowflake here and understanding Local vs. Remote Disk I/O bottlenecks here.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need