exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 12 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 12
Topic #: 1
[All SnowPro Core Questions]

Which of the following commands sets the Virtual Warehouse for a session?

  • A. COPY WAREHOUSE FROM <<config file>>;
  • B. SET WAREHOUSE = <<warehouse name>>;
  • C. USE WAREHOUSE <<warehouse name>>;
  • D. USE VIRTUAL_WAREHOUSE <<warehouse name>>;
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
reachbharathan
3 weeks ago
Selected Answer: B
Both USE WAREHOUSE and SET WAREHOUSE commands serve the same purpose - they switch the current session to use the specified warehouse. They are completely interchangeable and functionally identical. The only difference is syntactic preference, similar to how both USE SCHEMA and SET SCHEMA are equivalent commands. Example usage: USE WAREHOUSE compute_wh SET WAREHOUSE compute_wh Choose whichever syntax you prefer - they will produce the same result.
upvoted 1 times
...
tharangaweer
2 months ago
Selected Answer: C
c.use warehouse <warehouse name>
upvoted 1 times
...
Mallikharjuna452
8 months, 2 weeks ago
C. USE WAREHOUSE <<warehouse name>>;
upvoted 1 times
...
Vivek121
11 months ago
Why NOT B?
upvoted 2 times
...
AnireddySaikiranReddy
1 year, 1 month ago
C. USE WAREHOUSE <<warehouse name>>;
upvoted 1 times
...
_yyukta
1 year, 1 month ago
Selected Answer: C
C.USE WAREHOUSE <<warehouse name>> . C is correct
upvoted 1 times
...
KHarish
1 year, 3 months ago
USE WAREHOUSE <<warehouse name>> . C is correct
upvoted 1 times
...
VS3497
1 year, 9 months ago
C. USE WAREHOUSE <<warehouse name>>;
upvoted 1 times
...
instride
1 year, 10 months ago
Selected Answer: C
The correct answer is C. According to snowflake docs, "A Snowflake session can only have one current warehouse at a time. The current warehouse for a session can be specified or changed at any time through the USE WAREHOUSE command."
upvoted 2 times
...
Mayuri917233
1 year, 10 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
rajivgupta780
2 years, 2 months ago
Selected Answer: C
C is correct
upvoted 2 times
...
Tapasgup007
2 years, 4 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
Percy2112
2 years, 7 months ago
Selected Answer: C
Use Warehouse command.
upvoted 1 times
...
LuciBhish
3 years, 1 month ago
Selected Answer: C
USE WAREHOUSE <VWH>;
upvoted 3 times
...
Sundarr
3 years, 2 months ago
Answer is C. Example : use warehouse compute_wh;
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago