ExamGecko
Question list
Search
Search

Question 678 - COF-C02 discussion

Report
Export

How can a Snowsight user change a Standard virtual warehouse to a Snowpark-optimized virtual warehouse?

A.
Use the ALTER WAREHOUSE command on an active Standard virtual warehouse
Answers
A.
Use the ALTER WAREHOUSE command on an active Standard virtual warehouse
B.
Use the alter warehouse command on an active Snowpark-optimized warehouse.
Answers
B.
Use the alter warehouse command on an active Snowpark-optimized warehouse.
C.
Use the ALTER warehouse command on a suspended Standard virtual warehouse.
Answers
C.
Use the ALTER warehouse command on a suspended Standard virtual warehouse.
D.
Use the ALTER WAREHOUSE command on a suspended Snowpark-optimized warehouse.
Answers
D.
Use the ALTER WAREHOUSE command on a suspended Snowpark-optimized warehouse.
Suggested answer: C

Explanation:

To change a Standard virtual warehouse to a Snowpark-optimized virtual warehouse, the warehouse must be in a suspended state. This ensures that no operations are disrupted during the modification process.

Suspend the Warehouse: Ensure that the warehouse is suspended.

ALTER WAREHOUSE my_warehouse SUSPEND;

Alter the Warehouse: Modify the warehouse to be Snowpark-optimized.

ALTER WAREHOUSE my_warehouse SET WAREHOUSE_TYPE = 'SNOWPARK-OPTIMIZED';

Resume the Warehouse: Resume the warehouse to make it operational.

ALTER WAREHOUSE my_warehouse RESUME;

References:

Snowflake Documentation: Creating Snowpark-Optimized Warehouses

Snowflake Documentation: ALTER WAREHOUSE

asked 23/09/2024
Charles Brono
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first