Snowflake SnowPro Specialty - Native Apps - NAS-C01 Exam Practice Test
An application provider wants to grant usage privileges on a warehouse named 'APP WAREHOUSE to a consumer account so their application can use the warehouse's compute resources. Which of the following SQL statements would correctly accomplish this goal, ensuring only the necessary privileges are granted to the consumer's application role 'APP ROLE?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
A software company, 'Datalnsights', is developing a Snowflake Native Application that requires restricted access to a source data table in the consumer's account. Datalnsights wants to ensure that only the application can access the data, and the consumer cannot directly query it. What is the MOST secure and recommended approach Datalnsights should use within their application package to grant access?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are designing a Snowflake Native Application that processes customer dat a. To comply with data residency requirements, you need to ensure that the application logic runs within the customer's Snowflake account, but the application code is owned and managed by your organization. Which of the following approaches BEST achieves this requirement while providing version control and updates?
Correct Answer: B,C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are developing a Snowflake Native Application that processes customer order dat a. As part of the setup script, you need to create a shared database and a secure view to expose aggregated order statistics to consumer accounts. Which of the following is the MOST secure and efficient way to achieve this, considering data governance and performance?
Correct Answer: E
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are developing a Snowflake Native Application that utilizes a Streamlit frontend. The application requires access to specific data in the consumer account. You've already defined the necessary roles in your provider account. Which of the following steps are absolutely necessary to grant the Streamlit application the appropriate permissions to access the consumer's data? Assume the provider account has already shared the application package.
Correct Answer: C,D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are tasked with publishing a Snowflake Native Application to the Snowflake Marketplace. Your application relies on specific external packages available through Anacond a. You've already built your application and are preparing to create the listing. Which steps are NECESSARY to ensure that consumer accounts can successfully install and use your application, considering external package dependencies?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
A data analytics company is developing a Snowflake Native App that allows customers to enrich their existing Snowflake data with external, proprietary datasets. The application requires READ access to customer tables and the ability to store processed results within the application's managed database. Which combination of Snowflake Native App Framework privileges and features is MOST appropriate to achieve this functionality?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
A consumer wants to install a Snowflake Native App. They have already identified the app in the Snowflake Marketplace. After attempting to install the application, they receive an error stating 'Insufficient privileges to install application'. Which of the following steps are MOST likely required to resolve this issue? (Select Two)
Correct Answer: C,D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are developing a Snowflake Native Application that allows customers to enrich their dat a. The application involves executing Javascript UDFs. Which of the following practices are considered unacceptable regarding code practices within the UDFs to ensure the Native App complies with Snowflake's requirements and security best practices?
Correct Answer: B,C,D,E
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are developing a Native App on Snowflake that needs to interact with an external REST API. To ensure proper security, you want to store the API key securely within the application package and use it for authentication. Which of the following is the MOST secure and RECOMMENDED method to accomplish this?
Correct Answer: B
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).