ExamGecko
Home / Snowflake / SnowPro Core / Practice Test 2
Ask Question

Snowflake SnowPro Core Practice Test 2

Add to Whishlist
00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

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?

Query against the result set cache
Query against the result set cache
Query against a virtual warehouse cache
Query against a virtual warehouse cache
Query against the most-recently created micro-partition
Query against the most-recently created micro-partition
Query against the metadata excite
Query against the metadata excite
Comment (0)
Suggested answer: D
Explanation:

Snowflake is designed to optimize query performance by utilizing metadata for certain types of queries. When executing aCOUNTquery, Snowflake can often fulfill the request by accessing metadata about the table's row count, rather than scanning the entire table or micro-partitions. This is particularly efficient for large tables likeFCT_SALESwith a significant number of records. The metadata layer maintains statistics about the table, including the row count, which enables Snowflake to quickly return the result of aCOUNTquery without the need to perform a full scan.

Snowflake Documentation on Metadata Management

SnowPro Core Certification Study Guide

asked 23/09/2024
Arash Rind
50 questions