Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 198 discussion

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

What affects whether the query results cache can be used?

  • A. If the query contains a deterministic function
  • B. If the virtual warehouse has been suspended
  • C. If the referenced data in the table has changed
  • D. If multiple users are using the same virtual warehouse
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
SnowProCertDec22
Highly Voted 1 year, 11 months ago
answer correct is C https://community.snowflake.com/s/article/Understanding-Result-Caching
upvoted 8 times
...
pranalig
Most Recent 5 months ago
answer correct is C
upvoted 1 times
...
PrashantGupta1616
5 months, 2 weeks ago
Selected Answer: C
In Snowflake, the query results cache can be used based on certain conditions. Specifically, whether the referenced data in the table has changed affects the use of the query results cache. If the data has changed since the last query, the cache cannot be used. Therefore, the correct answer is: C. If the referenced data in the table has changed Changes to the underlying data will invalidate the cached results, necessitating a new query execution to retrieve the updated data.
upvoted 1 times
...
_yyukta
8 months, 4 weeks ago
Selected Answer: C
C. If the referenced data in the table has changed
upvoted 1 times
...
Aaron_w_mendelson
9 months, 2 weeks ago
Selected Answer: C
Results set cache lives in the cloud services layer not the warehouse
upvoted 1 times
...
BobFar
1 year, 1 month ago
Answer is C. A is wrong because non-deterministic function has impact on result cache except current_date Answer B is wrong because : If a virtual warehouse is suspended, it won't be available to execute any queries, so the result cache won't come into play for queries that would have been processed by that warehouse. When a virtual warehouse is resumed after being suspended, any query that benefits from the result cache will continue to do so. The result cache is independent of the state of the virtual warehouse. The result cache is a feature that helps optimize query performance regardless of the state (active or suspended) of the virtual warehouse. Answer D is wrong because same query returns from the cache.
upvoted 1 times
...
shanksund
1 year, 1 month ago
This is 100% B, the Cache is cleared whenever a VW is suspended
upvoted 1 times
Mike722
9 months, 1 week ago
Only the local disk cache is lost when the VW is suspended. Result Cache is in the service layer and will survive (at least 24 hours) even if all warehouses are suspended.
upvoted 4 times
...
...
Thaiya
1 year, 2 months ago
Answer A - if count() sum() or predictable query is used, not C - if data in table is changed the saved answer in cache will become incorrect
upvoted 1 times
Thaiya
1 year, 2 months ago
My bad, i didnt read question properly. affects then correct answer is C.
upvoted 2 times
...
...
MultiCloudIronMan
1 year, 4 months ago
Selected Answer: C
Correct
upvoted 1 times
...
bonniezl
1 year, 5 months ago
Selected Answer: C
C is correct
upvoted 1 times
...
mighty_kafta
1 year, 8 months ago
Selected Answer: C
C is the correct answer
upvoted 2 times
...
n21007
1 year, 9 months ago
Selected Answer: C
C is the correct answer
upvoted 1 times
...
muks86
1 year, 9 months ago
Moderator should update database with correct answers,as in this case it should be C
upvoted 4 times
...
KarBiswa
1 year, 9 months ago
Selected Answer: C
C is correct agree
upvoted 1 times
...
JRayan
1 year, 9 months ago
agree C is the right answer
upvoted 1 times
...
jtm22
1 year, 9 months ago
Selected Answer: C
C appears correct
upvoted 1 times
...
Naah
1 year, 10 months ago
Answer: C Result Cache: Which holds the results of every query executed in the past 24 hours. These are available across virtual warehouses, so query results returned to one user is available to any other user on the system who executes the same query, provided the underlying data has not changed.
upvoted 4 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 ...