Snowflake SnowPro Core Practice Test - Questions Answers, Page 6
List of questions
Related questions
Question 51

A user unloaded a Snowflake table called mytable to an internal stage called mystage.
Which command can be used to view the list of files that has been uploaded to the staged?
Explanation:
The commandlist @mystage;is used to view the list of files that have been uploaded to an internal stage in Snowflake. Thelistcommand displays the metadata for all files in the specified stage, which in this case ismystage. This command is particularly useful for verifying that files have been successfully unloaded from a Snowflake table to the stage and for managing the files within the stage.
Snowflake Documentation on Stages
SnowPro Core Certification Study Guide
Question 52

Which of the following Snowflake capabilities are available in all Snowflake editions? (Select TWO)
Explanation:
In all Snowflake editions, two key capabilities are universally available:
B) Automatic encryption of all data: Snowflake automatically encrypts all data stored in its platform, ensuring security and compliance with various regulations. This encryption is transparent to users and does not require any configuration or management.
D) Object-level access control: Snowflake provides granular access control mechanisms that allow administrators to define permissions at the object level, including databases, schemas, tables, and views. This ensures that only authorized users can access specific data objects.
These features are part of Snowflake's commitment to security and governance, and they are included in every edition of the Snowflake Data Cloud.
Snowflake Documentation on Security Features
SnowPro Core Certification Exam Study Guide
Question 53

Which command is used to unload data from a Snowflake table into a file in a stage?
Explanation:
TheCOPY INTOcommand is used in Snowflake to unload data from a table into a file in a stage. This command allows for the export of data from Snowflake tables into flat files, which can then be used for further analysis, processing, or storage in external systems.
Snowflake Documentation on Unloading Data
Snowflake SnowPro Core: Copy Into Command to Unload Rows to Files in Named Stage
Question 54

How often are encryption keys automatically rotated by Snowflake?
Explanation:
Snowflake automatically rotates encryption keys when they are more than 30 days old. Active keys are retired, and new keys are created. This process is part of Snowflake's comprehensive security measures to ensure data protection and is managed entirely by the Snowflake service without requiring user intervention.
Understanding Encryption Key Management in Snowflake
Question 55

What are value types that a VARIANT column can store? (Select TWO)
Explanation:
A VARIANT column in Snowflake can store semi-structured data types. This includes:
B) OBJECT: An object is a collection of key-value pairs in JSON, and a VARIANT column can store this type of data structure.
D) ARRAY: An array is an ordered list of zero or more values, which can be of any variant-supported data type, including objects or other arrays.
The VARIANT data type is specifically designed to handle semi-structured data like JSON, Avro, ORC, Parquet, or XML, allowing for the storage of nested and complex data structures.
Snowflake Documentation on Semi-Structured Data Types
SnowPro Core Certification Study Guide
Question 56

A user has an application that writes a new Tile to a cloud storage location every 5 minutes.
What would be the MOST efficient way to get the files into Snowflake?
Explanation:
The most efficient way to get files into Snowflake, especially when new files are being written to a cloud storage location at frequent intervals, is to use Snowpipe with auto-ingest. Snowpipe is Snowflake's continuous data ingestion service that loads data as soon as it becomes available in a cloud storage location. By setting up cloud provider notifications, Snowpipe can be triggered automatically whenever new files are written to the storage location, ensuring that the data is loaded into Snowflake with minimal latency and without the need for manual intervention or scheduling frequent tasks.
Snowflake Documentation on Snowpipe
SnowPro Core Certification Study Guide
Question 57

Which of the following are best practice recommendations that should be considered when loading data into Snowflake? (Select TWO).
Explanation:
When loading data into Snowflake, it is recommended to:
C) Load files that are approximately 100-250 MB (or larger): This size is optimal for parallel processing and can help to maximize throughput. Smaller files can lead to overhead that outweighs the actual data processing time.
D) Avoid using embedded characters such as commas for numeric data types: Embedded characters can cause issues during data loading as they may be interpreted incorrectly. It's best to clean the data of such characters to ensure accurate and efficient data loading.
These best practices are designed to optimize the data loading process, ensuring that data is loaded quickly and accurately into Snowflake.
Snowflake Documentation on Data Loading Considerations
[COF-C02] SnowPro Core Certification Exam Study Guide
Question 58

A user has 10 files in a stage containing new customer data. The ingest operation completes with no errors, using the following command:
COPY INTO my__table FROM @my__stage;
The next day the user adds 10 files to the stage so that now the stage contains a mixture of new customer data and updates to the previous data. The user did not remove the 10 original files.
If the user runs the same copy into command what will happen?
Explanation:
When theCOPY INTOcommand is executed in Snowflake, it processes all files present in the specified stage that have not been ingested before or marked as already loaded. Since the user did not remove the original 10 files after the first load, running the sameCOPY INTOcommand again will result in all 20 files being processed. This means that the data from the original 10 files will be appended to the table again, along with the data from the new 10 files, potentially leading to duplicate records for the original data set.
Snowflake Documentation on Data Loading
SnowPro Core Certification Study Guide
Question 59

A user has unloaded data from Snowflake to a stage
Which SQL command should be used to validate which data was loaded into the stage?
Explanation:
Thelistcommand in Snowflake is used to validate and display the list of files in a specified stage. When a user has unloaded data to a stage, running thelist @file__stagecommand will show all the files that have been uploaded to that stage, allowing the user to verify the data that was unloaded.
Snowflake Documentation on Stages
SnowPro Core Certification Study Guide
Question 60

What happens when a cloned table is replicated to a secondary database? (Select TWO)
Explanation:
When a cloned table is replicated to a secondary database in Snowflake, the following occurs:
C) The physical data is replicated: The actual data of the cloned table is physically replicated to the secondary database.This ensures that the secondary database has its own copy of the data, which can be used for read-only purposes or failover scenarios1.
E) Metadata pointers to cloned tables are replicated: Along with the physical data, the metadata pointers that refer to the cloned tables are also replicated.This metadata includes information about the structure of the table and any associated properties2.
It's important to note that while the physical data and metadata are replicated, the secondary database is typically read-only and cannot be used for write operations. Additionally, while there may be additional storage costs associated with the secondary account, this is not a direct result of the replication process but rather a consequence of storing additional data.
SnowPro Core Exam Prep --- Answers to Snowflake's LEVEL UP: Backup and Recovery
Snowflake SnowPro Core Certification Exam Questions Set 10
Question