Question 41

A provider is developing a Snowflake Native Application that uses a managed task to perform critical data transformations. The provider wants to ensure the managed task is only ever executed when the application is in a 'RUNNING' state. They have defined a secure view which returns a single row and a column named 'status' of type VARCHAR. The provider intends to use the 'EXECUTE MANAGED TASK' privilege in conjunction with a user-defined function (UDF) to control task execution. Which of the following approaches, utilizing a UDF and the 'EXECUTE MANAGED TASK' privilege, will correctly and securely prevent the managed task from running unless the application status is 'RUNNING'? Assume the UDF is created with the 'SECURE keyword.
  • Question 42

    You are developing a Snowflake Native App that requires specific database privileges to be granted to the application role during installation. Which sections of the 'manifest.yml' file are primarily responsible for defining these required privileges, and how does Snowflake interpret and enforce them during the installation process?
  • Question 43

    A customer is attempting to install your Snowflake Native Application from the Snowflake Marketplace, but the installation fails. You need to troubleshoot the issue. Which of the following steps would provide the most direct and relevant information for diagnosing the cause of the installation failure?
  • Question 44

    You are deploying a containerized application within a Snowflake Native App using Snowpark Container Services (SPCS). This application needs to interact with Snowflake's metadata, specifically retrieving information about tables and views within the customer's account. Which of the following methods is the MOST appropriate and secure way to achieve this?
  • Question 45

    You are tasked with deploying a new version of your Snowflake Native Application. The new version introduces significant schema changes to the data warehouse used by the application. What steps should you take during the deployment process to ensure a smooth transition and minimize downtime?