ExamGecko
Question list
Search
Search

Question 659 - COF-C02 discussion

Report
Export

Why would a Snowflake user load JSON data into a VARIANT column instead of a string column?

A.
A VARIANT column is more secure than a string column
Answers
A.
A VARIANT column is more secure than a string column
B.
A VARIANT column compresses data and a string column does not.
Answers
B.
A VARIANT column compresses data and a string column does not.
C.
A variant column can be used to create a data hierarchy and a string column cannot
Answers
C.
A variant column can be used to create a data hierarchy and a string column cannot
D.
A VARIANT column will have a better query performance than a string column.
Answers
D.
A VARIANT column will have a better query performance than a string column.
Suggested answer: C

Explanation:

A VARIANT column in Snowflake is specifically designed to store semi-structured data, such as JSON, and allows for the creation of a data hierarchy. Unlike string columns, VARIANT columns can natively handle JSON data structures, enabling complex querying and manipulation of hierarchical data using functions designed for semi-structured data.

References:

Snowflake Documentation: VARIANT Data

asked 23/09/2024
Luke Swetland
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first