Question 1
You are responsible for maintaining a dashboard that visualizes sales data'. The dashboard relies on a Snowflake view named 'SALES SUMMARY. Users have reported slow refresh times, especially when filtering by date. The 'SALES SUMMARY view is defined as follows:
Which of the following actions could significantly improve the dashboard's performance when filtering by date, assuming 'SALES_TRANSACTIONS' table is large?
Question 2
You are tasked with analyzing website clickstream data stored in a Snowflake table called 'clickstream_events'. Each row represents a click event and contains a 'session_id' , and a 'properties' column of type VARIANT that stores key-value pairs related to the event (e.g., '(page': '[product/123', 'element': You need to extract the 'page' and 'element' values from the 'properties' column and identify the most common 'page'-'element' combinations for each 'session_id'. Furthermore you need to limit the results of your data to the top 5 pages element pair. How can this task be accomplished using Snowflake table functions and analytical functions?
Question 3
When managing Snowsight dashboards, what role do subscriptions and updates play in meeting business requirements?
Question 4
You have a table 'CUSTOMER LOCATIONS with customer IDs and their geographical locations in WGS 84 format stored in 'LATITUDE' (FLOAT) and 'LONGITUDE' (FLOAT) columns. You need to create a new table 'CUSTOMER GEOGRAPHY' with a 'LOCATION' column of GEOGRAPHY type derived from these latitude and longitude values. Which of the following statements, used individually or in combination, are necessary and correct to accomplish this?
Question 5
Which Snowflake feature allows users to encapsulate a series of SQL statements into a reusable database object, facilitating modular code development?
