exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 485 discussion

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

What type of function can be used to estimate the approximate number of distinct values from a table that has trillions of rows?

  • A. MD5
  • B. Window
  • C. External
  • D. HyperLogLog (HLL)
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
fahfouhi94
Highly Voted 1 year, 8 months ago
Selected Answer: D
Snowflake uses HyperLogLog to estimate the approximate number of distinct values in a data set. HyperLogLog is a state-of-the-art cardinality estimation algorithm, capable of estimating distinct cardinalities of trillions of rows with an average relative error of a few percent. HyperLogLog can be used in place of COUNT(DISTINCT …) in situations where estimating cardinality is acceptable.
upvoted 6 times
...
PrasantSadangi
Most Recent 1 month ago
Selected Answer: D
https://docs.snowflake.com/en/sql-reference/functions/hll Uses HyperLogLog to return an approximation of the distinct cardinality of the input (i.e. HLL(col1, col2, ... ) returns an approximation of COUNT(DISTINCT col1, col2, ... )). For more information about HyperLogLog, see Estimating the Number of Distinct Values.
upvoted 1 times
...
_yyukta
8 months ago
Selected Answer: D
D. HyperLogLog (HLL)
upvoted 1 times
...
MultiCloudIronMan
1 year, 6 months ago
Selected Answer: D
Correct
upvoted 2 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