Question 36
When choosing between using a dimensional model and a flattened dataset for BI requirements in Snowflake, what considerations impact the final decision? (Select all that apply)
Question 37
A Snowflake data warehouse contains a table 'CUSTOMER TRANSACTIONS with columns 'CUSTOMER ID, 'TRANSACTION DATE', 'AMOUNT', and 'PRODUCT CATEGORY'. Analysts frequently run queries that aggregate transaction amounts by product category for specific customer segments. The following query pattern is common:
Which of the following strategies, when implemented together, would BEST optimize the performance of this query pattern, considering both result caching and data access patterns?
Question 38
You are tasked with ingesting data from a REST API that provides customer order information in JSON format. The API returns a nested JSON structure with an array of orders, each containing customer details and order items. The data volume is expected to be high. You need to efficiently load this data into Snowflake. Which of the following approaches would be MOST efficient, considering cost and performance, and taking into account potential data quality issues?
Question 39
A company ingests sensor data into a Snowflake table named READINGS with columns (VARCHAR), 'reading_time' (TIMESTAMP NTZ), and 'raw_value' (VARCHAR). The 'raw_value' column contains numeric data represented as strings, but sometimes includes non-numeric characters (e.g., '123.45', 'N/A', '500'). You need to calculate the average of the numeric raw_value' readings for each within the last hour, excluding invalid readings. Which of the following Snowflake SQL statements will correctly accomplish this, handling potential conversion errors and filtering for valid data?
Question 40
When utilizing User-Defined Functions (UDFs) in SQL, which statement accurately describes their usage?
