Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam ARA-R01 Topic 1 Question 35 Discussion

Actual exam question for Snowflake's ARA-R01 exam
Question #: 35
Topic #: 1
[All ARA-R01 Questions]

A table for IOT devices that measures water usage is created. The table quickly becomes large and contains more than 2 billion rows.

The general query patterns for the table are:

1. DeviceId, lOT_timestamp and Customerld are frequently used in the filter predicate for the select statement

2. The columns City and DeviceManuf acturer are often retrieved

3. There is often a count on Uniqueld

Which field(s) should be used for the clustering key?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Shenika
24 hours ago
Ooh, this is a tricky one! I'm gonna have to go with C. DeviceId and CustomerID seem like the perfect combo to keep that massive table humming along.
upvoted 0 times
...
Alica
12 days ago
I disagree with Rozella, using lOT_timestamp seems more logical for this scenario.
upvoted 0 times
...
Leota
15 days ago
Haha, UniqueID as the clustering key? That's like trying to use a snowflake as a doorstop - it just doesn't make sense! Gotta go with C on this one.
upvoted 0 times
Harrison
3 days ago
Yeah, I agree. Deviceld and Customerld seem like the best choice for the clustering key.
upvoted 0 times
...
Elli
9 days ago
UniqueID as the clustering key? That's like trying to use a snowflake as a doorstop - it just doesn't make sense! Gotta go with C on this one.
upvoted 0 times
...
...
Rozella
16 days ago
I believe Deviceld and Customerld should be used for the clustering key.
upvoted 0 times
...
Maryann
17 days ago
I agree with Veronika, lOT_timestamp makes sense for efficient filtering.
upvoted 0 times
...
Veronika
22 days ago
I think the clustering key should be lOT_timestamp.
upvoted 0 times
...
Mollie
29 days ago
I'm torn between B and C. The frequent use of City and DeviceManufacturer is tempting, but the fact that DeviceId and CustomerID are used in the filter predicate makes me lean towards C.
upvoted 0 times
...
Gussie
1 months ago
For a table with over 2 billion rows, the clustering key should definitely include the frequently used DeviceId and CustomerID. That's a no-brainer!
upvoted 0 times
Nidia
24 hours ago
A) lOT_timestamp
upvoted 0 times
...
...

Save Cancel