Question 31
You are designing a setup script for a Snowflake Native Application. This script needs to perform the following actions: 1. Create a secure view that exposes a subset of data from a table owned by the provider account. 2. Grant 'SELECT privilege on this secure view to a specific role within the consumer account, but ONLY if that role already exists in the consumer account. 3. Create a UDF in the provider account which calls external function. This UDF needs access to a secret stored in a Snowflake secret object. Which of the following code snippets BEST implements these requirements, ensuring both security and proper privilege management?
Question 32
A consumer installs a Snowflake Native App that performs data transformations. The consumer wants to monitor the resource consumption (e.g., credits used) of the application. Which of the following SQL queries can the consumer use to retrieve the warehouse- level credit usage information associated with the installed application 'my_app'?
Question 33
A Native App developer is using Snowflake's Event Tables for tracing the execution of their application. They have noticed a significant performance overhead when event logging is enabled, particularly for high-volume UDFs. Which of the following strategies would be MOST effective in mitigating the performance impact of event logging while still capturing valuable tracing information?
Question 34
You are developing a Snowflake Native Application that needs to access user-provided data through a Secure Data Sharing. The consumer must explicitly grant access to their data container. Which approach provides the MOST secure and efficient method for allowing your application to access this data and ensure proper governance?
Question 35
You are developing a Snowflake Native App that allows consumers to enhance their existing customer data with enrichment data provided by your app. The app relies on secure data sharing. To minimize data duplication and maximize query performance within the consumer's account, which of the following approaches offers the MOST optimized and secure way to deliver the enrichment data?
