Question 126

You are tasked with building a dashboard in Looker Studio to visualize data from a Snowflake database. The data contains sensitive information, and the security team requires that only authorized users can access specific data based on their role. The Snowflake database has roles defined: 'ANALYST, 'MANAGER, and 'EXECUTIVE. The 'SALES DATA' table contains a 'REGION' column. 'ANALYST' should only see data for their assigned region, 'MANAGER should see data for their region and direct reports regions, and 'EXECUTIVE should see all regions. Which of the following is/are the MOST secure and efficient way(s) to implement row-level security in Snowflake and integrate it with Looker Studio without duplicating the data?
  • Question 127

    You have a large dataset of sensor readings stored as Parquet files in an external stage. The Parquet files are compressed using Snappy compression. You need to create a Snowflake table that allows you to efficiently query this data, minimizing storage costs and maximizing query performance. Which of the following options represents the MOST efficient approach, considering both storage and query performance, along with any configuration changes needed?
  • Question 128

    When dealing with semi-structured data in Snowflake, what advantages do native data types offer over traditional relational data types?
  • Question 129

    In Snowflake, what factors determine the effectiveness of using materialized views for query optimization?
  • Question 130

    You are working with a table named 'PRODUCT DESCRIPTIONS that contains product descriptions in a 'description' (VARCHAR) column. You need to implement a solution to identify potentially sensitive information within these descriptions, specifically looking for mentions of credit card numbers or social security numbers (SSNs). You want to flag any description that contains either of these patterns. Which of the following Snowflake SQL snippets, leveraging scalar string functions and regular expressions, provides the most efficient and accurate way to achieve this? (Assume that valid credit card numbers are 16 digits and valid SSNs are in the format 'XXX-XX-XXXX'). Select all correct options.