You are a data analyst for an e-commerce company. You need to create a dashboard visualizing sales performance. The dashboard requires two key features: 1) users should be able to filter the data by product category dynamically using a dropdown list. 2) The dashboard should efficiently handle large datasets (millions of rows) without performance degradation. Which Snowflake features and techniques would you use to achieve these requirements most effectively?
Correct Answer: C
Using materialized views pre-computes aggregates and leverages Snowflake's caching. Dashboard-level filtering (option C) allows for dynamic filtering without querying the base data directly, providing the best performance and scalability. Options A and D are less ideal for real-time filtering; B is an anti-pattern in Snowflake, and E moves data out of Snowflake unnecessarily.