Question 51
You're building a Streamlit application within a Snowflake Native App that uses the Permissions API (hypothetical) to control access to sensitive dat a. Your security team has mandated that any changes to data access privileges must be audited. How can you effectively log all privilege grant and revoke operations performed via the Permissions API within your Streamlit application running inside Snowflake, assuming you are given the hypothetical 'PermissionsClient' and methods as below?
Question 52
Consider a Snowflake Native App that dynamically creates tables within the consumer's account using stored procedures. The application role is 'APP ROLE. After installation, the application needs to automatically grant 'SELECT privilege on all newly created tables in a specific schema CAPP DATA SCHEMA) to a consumer-defined role (CONSUMER ROLE). Which of the following approaches is the most secure and efficient way to achieve this? Assume the application cannot know the names of tables in advance.
Question 53
You are developing a Snowflake Native Application that processes sensitive customer dat a. You need to ensure that the application is secure and compliant with data privacy regulations. Which of the following security measures are MOST effective when designing your application package? (Select TWO)
Question 54
You are packaging a Snowflake Native App that includes a Streamlit application. You need to define specific permissions for the application to access data in the consumer's account. Specifically, the application needs to read from a table named in the schema within the consumer's database 'consumer_db'. Which of the following steps are required to correctly grant these privileges during the application installation process?
Question 55
A data engineering team is developing a Snowflake Native Application that processes sensitive PII dat a. They need to update the application frequently with bug fixes and performance improvements without disrupting user access. Which of the following strategies BEST balances rapid iteration with data security and minimal downtime? Consider that the application uses a secure UDF that needs to be updated in conjunction with other application code.
