Snowflake SnowPro Specialty - Native Apps - NAS-C01 Exam Practice Test
Question 1
A software company, 'Data Insights Corp', develops a Snowflake Native App. They want to grant users the ability to view limited metadata information about the app's installation without granting them extensive privileges over the app's data or functionality. Which of the following options BEST represent the correct approach for granting Viewer privileges in a Snowflake Native App context to a consumer account user?
Correct Answer: E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 2
You are using the Snowflake Visual Studio Code (VS Code) extension to develop a Snowflake Native App. After making several changes, you encounter an error that seems to stem from a syntax issue. You want to quickly pinpoint the exact location of the error in your SQL code. What functionality of the VS Code extension can best assist you in this scenario?
Correct Answer: A,B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 3
You're designing a Snowflake Native Application that leverages Snowpark Container Services (SPCS) and you are creating a CI/CD pipeline for deploying your application to multiple Snowflake regions. As part of the pipeline, you want to automate the creation of a Compute Pool. Which of the following approaches represents the MOST robust and repeatable method for creating the Compute Pool across all regions, considering factors like consistency and potential differences in available instance families?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 4
You are developing a Snowflake Native Application that performs complex data transformations. As part of your development lifecycle, you need to ensure that your code behaves idempotently even when facing intermittent network errors or unexpected disruptions. Consider the following function written in Snowpark Python that updates a table:

What modification is necessary to make this function idempotent against disruptions during the writing process to Snowflake and unexpected execution?

What modification is necessary to make this function idempotent against disruptions during the writing process to Snowflake and unexpected execution?
Correct Answer: A
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
A Snowflake Native App provider is developing an application that requires a consumer to execute stored procedures owned by the application. These procedures need to access data within the application's container. Which of the following sets of actions are required for a consumer to successfully execute these stored procedures?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 6
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.
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
Consider the following setup script snippet for a Snowflake Native Application:

What is the primary purpose of the 'WHERE NOT EXISTS' clause in the 'INSERT' statement within this setup script?

What is the primary purpose of the 'WHERE NOT EXISTS' clause in the 'INSERT' statement within this setup script?
Correct Answer: E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 8
You are managing a Snowflake Marketplace listing for your native application. You need to update the application logic and schem a. Which of the following actions is the correct sequence to perform the update in a non-breaking way for existing consumers?
Correct Answer: B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 9
You are developing a Snowflake Native Application that integrates with an external API to enrich data within the consumer's account. You need to design the setup script to handle API credentials securely and ensure that consumers can configure their own API keys. Which of the following methods is the MOST secure and recommended approach for managing API credentials within a Snowflake Native Application?
Correct Answer: D
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 10
You are publishing a Snowflake Native Application to the Marketplace. You've completed initial testing, and the application appears to function as expected. However, the security scan consistently fails with a 'Data Exfiltration' error. The application includes a stored procedure that aggregates data from several tables within the application container and writes the results to an external stage using the 'COPY INTO' command. Review the following code snippet:

Which of the following changes is MOST likely to resolve the 'Data Exfiltration' error during the security scan?

Which of the following changes is MOST likely to resolve the 'Data Exfiltration' error during the security scan?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 11
A Native App provider has created an application package and wants to control the versions of the application available to different consumers. They need to ensure that a specific consumer account, 'CUSTOMER R, only has access to version '1.0' of the application. Which of the following steps are necessary to achieve this?
Correct Answer: A
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 12
You are developing a Snowflake Native Application. You need to grant specific privileges on a warehouse named 'APP WH' to the application role 'app_public' to allow application users to execute queries within that warehouse. Which of the following SQL statements is the MOST secure and appropriate way to achieve this, adhering to the principle of least privilege?
Correct Answer: E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 13
You are designing a Snowflake Native Application that needs to store temporary data for processing, which should be cleaned up when the application is uninstalled from the consumer account. Which of the following options would be the MOST appropriate and secure way to manage this temporary data?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 14
You are troubleshooting a Snowflake Native Application installation that consistently fails with a cryptic error message: 'Internal Application Error: Check application logs for details'. You have access to the application's code package but are unsure how to effectively gather detailed logs and telemetry data from the running application. Which strategy would provide the MOST comprehensive and maintainable observability solution within the Snowflake Native App framework?
Correct Answer: E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).

