Question 96
You have a Snowflake table containing order data'. You need to calculate the shipping cost for each order based on the order amount and the destination country. You decide to use a Java UDF for this calculation, as the logic is complex and involves external APIs (simulated here). The UDF should take the order amount (FLOAT) and destination country (VARCHAR) as input and return the calculated shipping cost (FLOAT). The Java code requires external JAR files to be imported. Which of the following options correctly defines and calls the Java UDF in Snowflake, assuming the necessary JAR file has been uploaded to a stage named 'my_stage'?


Question 97
When designing a data collection system, what factors should be considered when assessing how often data needs to be collected? (Select all that apply)
Question 98
A financial institution stores transaction data with various attributes, including transaction ID, account ID, transaction type, amount, and timestamp. They need to build a dashboard to monitor transaction volumes and identify unusual patterns in real-time. The data is streaming continuously. Consider these requirements: near real-time analysis, complex pattern recognition, and the need to store the raw transaction data for auditing. Which of the following approaches is optimal, considering the need for both speed and historical data integrity?
Question 99
You are analyzing a query profile and observe a high percentage of time spent in 'Remote Scan'. Which of the following actions would be MOST effective in reducing this bottleneck and improving query performance?
Question 100
You're building a Snowflake forecasting model to predict website traffic. Your dataset contains 'VISIT DATE (DATE), 'PAGE VIEWS (NUMBER), and 'PROMOTION FLAG' (BOOLEAN, indicating whether a promotion was active that day). You suspect that promotional periods significantly impact traffic, but need to account for days after a promotion that show residual impact. Which of the following strategies can you employ to improve your forecasting model to handle promotion and their lagging effects. Select two correct options.
