exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 249 discussion

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

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?

  • A. Query against the result set cache
  • B. Query against a virtual warehouse cache
  • C. Query against the most-recently created micro-partition
  • D. Query against the metadata cache
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
kolossal
1 month, 2 weeks ago
The COUNT(1) function is used to count all rows in the specified table. In Snowflake, using COUNT(1) is equivalent to using COUNT(*), as both provide a count of all rows without filtering based on any specific column. The number 1 is simply a placeholder; it does not affect the result. Snowflake optimizes this operation by using metadata statistics, allowing for quick retrieval of row counts without scanning every row.
upvoted 1 times
...
Mallikharjuna452
5 months ago
D.Query against the metadata cache
upvoted 1 times
...
_yyukta
10 months ago
Selected Answer: D
D is correct
upvoted 1 times
...
MultiCloudIronMan
1 year, 5 months ago
Selected Answer: D
Correct
upvoted 1 times
...
EmiB
1 year, 9 months ago
Selected Answer: D
D. Query against the metadata cache >> METADATA-BASED RESULT
upvoted 2 times
...
SV1122
1 year, 12 months ago
Selected Answer: D
D. Query against the metadata cache
upvoted 1 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