SnowPro Core Exam QuestionsBrowse all questions from this exam

SnowPro Core Exam - Question 249


A sales table FCT_SALES has 100 million records.

The following query was executed:

SELECT COUNT (1) FROM FCT_SALES;

How did Snowflake fulfill this query?

Show Answer
Correct Answer: D

Snowflake fulfills the query SELECT COUNT(1) FROM FCT_SALES by querying against the metadata cache. This approach is efficient for aggregations like COUNT because Snowflake stores metadata about the tables which can quickly provide the number of records without scanning the entire 100 million records in the sales table.

Discussion

5 comments
Sign in to comment
EmiBOption: D
Mar 11, 2023

D. Query against the metadata cache >> METADATA-BASED RESULT

SV1122Option: D
Dec 27, 2022

D. Query against the metadata cache

MultiCloudIronManOption: D
Jul 13, 2023

Correct

_yyuktaOption: D
Feb 26, 2024

D is correct

Mallikharjuna452Option: D
Jul 22, 2024

D.Query against the metadata cache