SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 244


What actions will prevent leveraging of the ResultSet cache? (Choose two.)

Show Answer
Correct Answer: AE

Removing a column from the query SELECT list will change the structure of the query, resulting in not being able to use the cached ResultSet. Changing a column that is not in the cached query can still impact the cached result, as updates to the table schema or data can invalidate the cached results.

Discussion

22 comments
Sign in to comment
SV1122Options: AC
Jun 27, 2023

C is explained here "The table’s micro-partitions have not changed (e.g. been reclustered or consolidated) due to changes to other data in the table." https://docs.snowflake.com/en/user-guide/querying-persisted-results.html

Mike722
Aug 11, 2024

ACE are correct.

markpumc
Aug 13, 2023

should be AB

jayeshtestOptions: AE
Dec 28, 2023

Clustering will not prevent use of cached results, reclustering or consolidation will.

Renvis
Aug 14, 2023

A, C and E is correct. I tried all and the cache was not used

EmiB
Sep 12, 2023

E. Changing a column that is not in the cached query >> bypass RESULT CACHE (TABLE SCAN - Percentage scanned from cache 100.00%). Hitting RESULT CACHE = QUERY RESULT REUSE (Node Execution Time (0ms) 100.0%)

pinkloveOptions: AE
Dec 22, 2023

I checked the last one. it doesn't leverage result set cache

abhijit2683Options: AE
Oct 7, 2024

AE are correct

SatyamKishore
Nov 19, 2023

Why not B ?

Sk_3
Apr 12, 2024

B says when VW is suspended ,but query result cache does not interact with VW while quering so it has no impact

umidjon03
Jun 7, 2024

ACE are correct. I've checked the case of E, and persisted query cache was not retrieved

majewOptions: AE
Aug 3, 2024

I think it's not REclustering so C is not correct

NPassOptions: AE
Jan 12, 2025

Re-clustering data does not invalidate the ResultSet cache. The cache is based on query text and the state of the data, not how the data is physically stored. Answer: AE

MultiCloudIronManOptions: AE
Jan 17, 2025

Clustering does not change data or query results but makes a query more efficient.

37ceea2
Feb 19, 2025

Clustering changes the micro-partitions. Of course, here clustering means re-clustering.

N89Options: AC
Aug 14, 2023

AC correct option

RajuNaikOptions: AC
Oct 27, 2023

AC correct option

MultiCloudIronManOptions: AC
Jan 13, 2024

Correct

arsalanramin
Feb 26, 2024

Should be A, B

NEMMELAOptions: AC
Mar 7, 2024

AC is correct

Jangelovska
May 9, 2024

A -- Correct E -- Correct Tested with update on column that is not part of the cached query, after that cached cannot be used.

sandy91
Jul 19, 2024

By clustering you are reorganizing the micro partitions thereby preventing resultset cache to reuse.. So A and C ae correct

_yyuktaOptions: AC
Aug 26, 2024

A and C are correct

rogerek077
Oct 2, 2024

If "Changing a column that is not in the cached query" means changing such column's name or updating the data of that column then ACE are correct answers.

JRayanOptions: AE
Feb 7, 2025

AE is the correct answer

ChewyRemedyOptions: AC
Feb 12, 2025

If you modify the query, such as by removing or adding a column, the ResultSet cache cannot be leveraged since the query is now different from the one that was previously cached. Clustering changes the physical storage of the data, which affects the query results and prevents the use of the ResultSet cache.