Question 71

You are responsible for loading data into a Snowflake table named 'CUSTOMER DATA' from a series of compressed JSON files located in a Google Cloud Storage (GCS) bucket. The data volume is significant, and the loading process needs to be as efficient as possible. The JSON files are compressed using GZIP, and they contain a field called 'registration date' that should be loaded as a DATE type in Snowflake. However, some files contain records where the 'registration_date' is missing or has an invalid format. Your goal is to load all valid data while skipping any files that contain invalid dates, and log any files that contain invalid records. You want to choose the most efficient approach. Which of the following options represents the best strategy to achieve this?
  • Question 72

    You've identified a 'Filter' operation in a Snowflake query execution plan that is consuming a significant amount of time. The filter predicate involves a UDF (User-Defined Function) called 'calculate_score(columnl, column2)'. The UDF is written in Python. Analyzing the plan, you observe a high number of rows being processed by this filter. How can you optimize this scenario for faster query execution?
  • Question 73

    You are preparing a CSV file for ingestion into Snowflake, and you need to ensure that the data types are correctly interpreted. The CSV contains a column named 'transaction_amount' that sometimes contains values with leading zeros (e.g., '00123.45'). You want to load this data into a Snowflake table where 'transaction_amount' is defined as NUMBER(IO, 2). Without modifying the CSV file itself, how can you ensure that the leading zeros are handled correctly during the COPY INTO operation?
  • Question 74

    A financial institution needs to build a dashboard to monitor fraudulent transactions. They have transaction data (amount, timestamp, location, merchant category), customer data (age, income, credit score), and fraud flags. They want to identify patterns and correlations that indicate potentially fraudulent activity. Which of the following visualizations and Snowflake features, when used in combination, would be MOST effective for this purpose? (Select TWO)
  • Question 75

    How do row access policies and Dynamic Data Masking affect the creation and maintenance of reports and dashboards?