Free SnowPro Advanced Data Engineer Exam Braindumps
SnowPro Advanced Data Engineer Questions 51–55 (page: 12)

Updated On: 10-Feb-2026

When using a stored procedure in Snowflake, how many threads can the Snowflake API run concurrently?

  1. 1
  2. 8
  3. An unlimited number
  4. The number is dependent on the size of the virtual warehouse.

Answer(s): A

Explanation:

In Snowflake, stored procedures written in JavaScript execute synchronously within a single thread. The Snowflake API executes stored procedures in a single-threaded manner. Stored procedures do not support parallel execution or multi-threading.
Even if a virtual warehouse has multiple clusters, the stored procedure itself will always run on one thread at a time.



Given the following cron expression "0 1 * * * America/Los_Angeles", how will the task behave when changing from Daylight Savings Time to Standard Time, moving the clock one hour back?

  1. The task will run once.
  2. The task will run twice.
  3. The task will not run.
  4. The task will fail with an error.

Answer(s): B

Explanation:

The cron expression "0 1 * * * America/Los_Angeles" schedules the task at 1:00 AM PST/PDT.
When Daylight Savings Time (DST) ends, clocks move back from 2:00 AM PDT to 1:00 AM PST, causing 1:00 AM to occur twice. Snowflake executes the task in both instances, running it twice.



A company has many nested JSON files in cloud storage. The company would like to use these files in complex JOIN operations.

Which method would provide the BEST performance?

  1. Create an external table on the cloud storage without ingesting files into Snowflake.
  2. Create a materialized view over an external table, flattening the JSON.
  3. Use the COPY INTO command on all the JSON files into a permanent table as a VARIANT and use the table for JOINS.
  4. Use the COPY INTO command on all the JSON files into an internal stage and use the stage for JOINS.

Answer(s): C

Explanation:

Loading JSON files into a permanent table as a VARIANT column provides the best performance for complex JOIN operations because:
Snowflake optimizes queries on VARIANT columns.

Indexed micro-partitions improve query performance.

JSON functions (FLATTEN, LATERAL) allow efficient querying and joining.

Unlike external tables, permanent tables support Snowflake's query optimization features.



Data is loaded into a staging table every day. From there, several departments perform transformations on the data and load it into different production tables.

How should the staging table be created and used to MINIMIZE storage costs and MAXIMIZE performance?

  1. Create it as an external table, which is not covered by Time Travel.
  2. Create it as a transient table with a retention time of 0 days.
  3. Create it as a temporary table with a retention time of 0 days.
  4. Create it as a permanent table with a retention time of 0 days.

Answer(s): B

Explanation:

Transient tables do not incur Fail-Safe storage costs and do not retain historical data, reducing storage costs.
Setting DATA_RETENTION_TIME_IN_DAYS = 0 ensures that no additional storage is used for Time Travel, maximizing performance and cost efficiency.
Unlike temporary tables, transient tables are available across sessions, allowing multiple departments to access the data.



A Data Engineer is reviewing Python data pipeline code that is dynamically scaling warehouse HOL_WH:



What effect is the WAIT_FOR_COMPLETION clause having on the pipeline?

  1. The initial ALTER WAREHOUSE command will be blocked until all existing processes on the HOL_WH have completed.
  2. The second ALTER WAREHOUSE command will be blocked until the data processing code between the two ALTER WAREHOUSE statements have completed.
  3. The WAIT_FOR_COMPLETION clause will block the return of the first ALTER WAREHOUSE command until the resize has finished provisioning all compute resources.
  4. The WAIT_FOR_COMPLETION clause will allow the processes to run in parallel while the first resize finishes provisioning the compute resources.

Answer(s): C

Explanation:

The WAIT_FOR_COMPLETION = TRUE clause in ALTER WAREHOUSE ensures that the command does not return until the warehouse resize operation is fully completed.
This prevents subsequent operations from executing until all compute resources are provisioned at the new size. Without this clause, the command would return immediately and resizing would occur in the background.



Viewing page 12 of 24
Viewing questions 56 - 60 out of 162 questions


Post your Comments and Discuss Snowflake SnowPro Advanced Data Engineer exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!