Which parameter controls how long, in seconds, a warehouse waits with no queries running before it automatically suspends?
- A. STATEMENT_TIMEOUT_IN_SECONDS
- B. AUTO_RESUME
- C. AUTO_SUSPEND✓ Correct
- D. MAX_CONCURRENCY_LEVEL
Explanation
AUTO_SUSPEND is the warehouse parameter that sets the idle-time threshold (in seconds) before the warehouse automatically suspends. STATEMENT_TIMEOUT_IN_SECONDS (option A) controls how long an individual statement is allowed to run before Snowflake cancels it, unrelated to idle suspension. AUTO_RESUME (option B) is a boolean controlling whether the warehouse restarts automatically on a new query, not a timing value. MAX_CONCURRENCY_LEVEL (option D) controls how many statements can execute concurrently on a warehouse cluster, not suspend timing.