ExamGecko
Question list
Search
Search

Question 292 - SnowPro Core discussion

Report
Export

What type of columns does Snowflake recommend to be used as clustering keys? (Select TWO).

A.
A VARIANT column
Answers
A.
A VARIANT column
B.
A column with very low cardinality
Answers
B.
A column with very low cardinality
C.
A column with very high cardinality
Answers
C.
A column with very high cardinality
D.
A column that is most actively used in selective filters
Answers
D.
A column that is most actively used in selective filters
E.
A column that is most actively used in join predicates
Answers
E.
A column that is most actively used in join predicates
Suggested answer: C, D

Explanation:

Snowflake recommends using columns with very high cardinality and those that are most actively used in selective filters as clustering keys. High cardinality columns have a wide range of unique values, which helps in evenly distributing the data across micro-partitions. Columns used in selective filters help in pruning the number of micro-partitions to scan, thus improving query performance.

Reference: Based on general database optimization principles.

asked 23/09/2024
Hendrik van Bemmel
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first