COF-C02 practice question 19 of 35

True or False: A Virtual Warehouse can be resized while suspended.

Full set: 778 questions
Answer options
A: True Correct answer
B: False
Correct Answer:
A. True
Explanation

A virtual warehouse's properties, including its size, can be modified at any time using the ALTER WAREHOUSE command, regardless of its current state (running, suspended, or resizing). If the warehouse is suspended when it is resized, the new size will be applied when the warehouse is next resumed. This allows administrators to proactively scale resources up or down in anticipation of future workloads without needing to start the warehouse first.

Why Incorrect

False: This is incorrect. The ALTER WAREHOUSE command is independent of the warehouse's operational state and can be executed on a suspended warehouse.

References

- Snowflake Documentation: "Resizing a Warehouse". The documentation states, "A warehouse can be resized at any time, including while it is running and processing statements." This implies it can also be altered while suspended.

- Snowflake Documentation: ALTER WAREHOUSE. The "Usage Notes" section confirms properties can be modified at any time. For resizing, it notes, "The new size is used for all subsequent queries," which for a suspended warehouse means upon its next resume.

Scroll to Top