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
Deepika_s
2 months, 2 weeks ago
Selected Answer: C
Although, USE WAREHOUSE and SET WAREHOUSE commands serve the same purpose -w.r.t. SNOWFLAKE we use USE WAREHOUSE command, so Ans is C.
upvoted 1 times
...
jeny12138
2 months, 3 weeks ago
Selected Answer: C
c is correct
upvoted 1 times
...
jeny12138
2 months, 3 weeks ago
Selected Answer: D
D or C
upvoted 1 times
...
reachbharathan
3 months, 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
5 months ago
Selected Answer: C
c.use warehouse <warehouse name>
upvoted 1 times
...
Mallikharjuna452
11 months, 2 weeks ago
C. USE WAREHOUSE <<warehouse name>>;
upvoted 1 times
...
Vivek121
1 year, 1 month ago
Why NOT B?
upvoted 2 times
...
AnireddySaikiranReddy
1 year, 4 months ago
C. USE WAREHOUSE <<warehouse name>>;
upvoted 1 times
...
_yyukta
1 year, 4 months ago
Selected Answer: C
C.USE WAREHOUSE <<warehouse name>> . C is correct
upvoted 1 times
...
KHarish
1 year, 6 months ago
USE WAREHOUSE <<warehouse name>> . C is correct
upvoted 1 times
...
VS3497
2 years ago
C. USE WAREHOUSE <<warehouse name>>;
upvoted 1 times
...
instride
2 years 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
2 years, 1 month ago
Selected Answer: C
C is correct
upvoted 1 times
...
rajivgupta780
2 years, 5 months ago
Selected Answer: C
C is correct
upvoted 2 times
...
Tapasgup007
2 years, 7 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
Percy2112
2 years, 10 months ago
Selected Answer: C
Use Warehouse command.
upvoted 1 times
...
LuciBhish
3 years, 4 months ago
Selected Answer: C
USE WAREHOUSE <VWH>;
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 ...