Snowflake SnowPro Associate: Platform Certification SOL-C01 Exam Questions

Page: 1 / 14
Total 214 questions
Question 1

When loading data into a table using the COPY INTO command, what is the default error-handling setting?



Answer : A

By default, Snowflake usesON_ERROR = ABORT_STATEMENTfor COPY INTO. This means that if a single row fails to load due to issues such as type mismatches or malformed data, Snowflake immediately stops the entire load operation. This behavior ensures data integrity by preventing partial or incomplete loads when errors occur.

Other error-handling modes must be explicitly specified: CONTINUE skips erroneous rows, SKIP_FILE skips whole files with errors, and VALIDATE is part of the validation mode feature, not a default COPY behavior.

Thus, unless explicitly changed, COPY INTO always uses ABORT_STATEMENT.

==================


Question 2

When loading CSV data, what FILE FORMAT option allows you to skip the header row?



Answer : D

Snowflake's file format options allow granular control over CSV ingestion. The SKIP_HEADER = 1 parameter instructs Snowflake to ignore the first line of the file, typically containing column headers. This is the correct and official parameter within FILE FORMAT objects or inline COPY INTO options. Other options listed---such as SKIP_FILE_HEADER, IGNORE_HEADER, or HEADER_SKIP---are not valid Snowflake parameters. When SKIP_HEADER is applied, Snowflake begins reading data rows starting from line 2. This ensures proper alignment between file contents and table structure during ingestion. SKIP_HEADER can also be set to values greater than 1 if multiple header rows exist. This behavior is essential when loading structured data where the header row is not intended for table consumption.

=======================================


Question 3

Which SQL keyword is used to constrain the number of rows returned by a query in Snowflake? (Select TWO)



Answer : A, D

Snowflake supports bothTOPandLIMITas valid SQL mechanisms for restricting the number of rows returned by a query. They function similarly but are used in different syntactic positions.

LIMITappears at the end of the query:

SELECT * FROM my_table LIMIT 10;

This tells Snowflake to return only the specified number of rows.

TOPis used in the SELECT clause:

SELECT TOP 10 * FROM my_table;

Both approaches are equivalent in functionality and are supported to maintain compatibility with ANSI SQL and other SQL dialects.

The other options are not correct row-limiting mechanisms:

*SELECTis a required keyword but does not limit rows on its own.

*GETis not a SQL keyword for row restriction; GET is used for downloading files from internal stages.

*ROW_NUMBERis a window function used for ranking rows, not constraining row count.

Therefore, TOP and LIMIT are the only correct SQL keywords in Snowflake for controlling how many rows are returned by a query.

==================


Question 4

Which of the following Snowflake functions is used to generate pre-signed URLs for accessing files in a stage?



Answer : C

GET_PRESIGNED_URL() is the official Snowflake function used to create atemporary, secure, time-limited pre-signed URL, which provides controlled-access retrieval of a file stored in a Snowflake internal or external stage. Pre-signed URLs are essential for secure file sharing without exposing credentials or granting direct stage access to external users. The function accepts the stage name and file path and optionally allows specifying an expiration period. GET_STAGE_LOCATION() retrieves metadata about where a stage points, not access URLs. BUILD_STAGE_FILE_URL() constructs a basic URL but does not sign it, meaning it cannot authorize secure download access. GET_RELATIVE_PATH() provides path-only details, not a secure download link. GET_PRESIGNED_URL ensures that external consumers can access staged files safely, making it an important feature for secure distribution workflows, data export pipelines, partner integrations, and temporary file sharing scenarios.


Question 5

Which feature does Snowsight provide for query management?



Answer : D

Snowsight includes a modern, fully capableSQL editordesigned for rich query development, execution, and analysis. The editor offers features such as syntax highlighting, intelligent auto-complete, contextual error display, and result-set visualization. Users can organize work with worksheets, folders, tagging, and versioning-like behavior.

Snowsight is built for both simple and complex SQL workloads. It supports multi-statement execution, script-like workflows, stored procedure development, materialized views, and advanced analytics queries.

Unsupported options include:

Manual data storage configuration: Snowflake abstracts storage management completely.

Pre-built queries only: Snowsight allows fully custom SQL.

Limited to simple queries: It supports enterprise workloads, BI query chains, and operational SQL.


Question 6

How can you load JSON data into a Snowflake table from stage?



Answer : B

Snowflake uses the COPY INTO <table> command as the primary mechanism for bulk loading semi-structured data, including JSON, from internal or external stages. COPY INTO is optimized for large file ingestion and supports file format specifications, such as TYPE=JSON, enabling Snowflake to parse, validate, and store JSON into the VARIANT data type. Unlike INSERT INTO, which is suitable for row-level inserts, COPY INTO supports large-scale ingestion with parallelization and error-handling parameters. Commands such as LOAD DATA or UPLOAD JSON are not part of Snowflake's SQL interface. COPY INTO works seamlessly with both internal stages (USER, TABLE, or NAMED stages) and external cloud storage stages (S3, Azure Blob, GCS). Once the JSON is loaded, users can query nested fields using dot or bracket notation, flatten arrays for relational use, and build transformations directly in SQL. Therefore, the COPY INTO command is the correct and supported method for loading JSON files from a Snowflake stage.

=======================================


Question 7

Which of the following are types of tables in Snowflake? (Choose any 3 options)



Answer : A, B, C

Snowflake provides three main table types:Permanent,Transient, andTemporary. Permanent tables support full Time Travel and Fail-safe, and are designed for long-term storage. Transient tables do not include Fail-safe and are best suited for intermediate or less durable datasets. Temporary tables exist only for the duration of the user session that created them, making them ideal for staging or ephemeral workloads. Snowflake does not have a table type called ''Virtual''; therefore, the correct options are Permanent, Temporary, and Transient.

=======================================


Page:    1 / 14   
Total 214 questions