exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 803 discussion

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

What is the recommended way to change the existing file format type in my_format from CSV to JSON?

  • A. ALTER FILE FORMAT my_format SET TYPE=JSON;
  • B. ALTER FILE FORMAT my_format SWAP TYPE WITH JSON;
  • C. CREATE OR REPLACE FILE FORMAT my_format TYPE=JSON;
  • D. REPLACE FILE FORMAT my_format TYPE=JSON;
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
0e504b5
9 months ago
Selected Answer: C
C A doesn't work, I tested: --- 803 CREATE FILE FORMAT ET_803 TYPE=CSV; DESCRIBE FILE FORMAT ET_803; ALTER FILE FORMAT ET_803 SET TYPE =JSON; ---File format type cannot be changed. CREATE OR REPLACE FILE FORMAT ET_803 TYPE=JSON; DESCRIBE FILE FORMAT ET_803; DROP FILE FORMAT ET_803;
upvoted 1 times
...
romega2
1 year, 1 month ago
Selected Answer: C
ALTER FILE FORMAT does not support the following actions: - Changing the type (CSV, JSON, etc.) for the file format. To make any of these changes, you must recreate the file format.
upvoted 2 times
...
Heetec
1 year, 1 month ago
Selected Answer: C
C correct - https://docs.snowflake.com/en/sql-reference/sql/create-file-format
upvoted 1 times
...
Kuma007
1 year, 1 month ago
Answer C is correct
upvoted 1 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