Free SnowPro Advanced Data Engineer Exam Braindumps
SnowPro Advanced Data Engineer Questions 46–50 (page: 11)

Updated On: 10-Feb-2026

A Data Engineer enables a result cache at the session level with the following command:

ALTER SESSION SET USE_CACHED_RESULT = TRUE;

The Engineer then runs the following SELECT query twice without delay:

SELECT *
FROM SNOWFLAKE_SAMPLE_DATA.TPCH_SF1.CUSTOMER
SAMPLE(10) SEED (99);

The underlying table does not change between executions.

What are the results of both runs?

  1. The first and second run returned the same results, because SAMPLE is deterministic.
  2. The first and second run returned the same results, because the specific SEED value was provided.
  3. The first and second run returned different results, because the query is evaluated each time it is run.
  4. The first and second run returned different results, because the query uses * instead of an explicit column list.

Answer(s): B



A company built a sales reporting system with Python, connecting to Snowflake using the Python Connector. Based on the user's selections, the system generates the SQL queries needed to fetch the data for the report. First it gets the customers that meet the given query parameters (on average 1000 customer records for each report run), and then it loops the customer records sequentially. Inside that loop it runs the generated SQL clause for the current customer to get the detailed data for that customer number from the sales data table.

When the Data Engineer tested the individual SQL clauses, they were fast enough (1 second to get the customers, 0.5 second to get the sales data for one customer), but the total runtime of the report is too long.

How can this situation be improved?

  1. Increase the size of the virtual warehouse.
  2. Increase the number of maximum clusters of the virtual warehouse.
  3. Define a clustering key for the sales data table.
  4. Rewrite the report to eliminate the use of the loop construct.

Answer(s): D



A Data Engineer is building a pipeline to transform a 1 TB table by joining it with supplemental tables. The Engineer is applying filters and several aggregations leveraging Common Table Expressions (CTEs) using a size Medium virtual warehouse in a single query in Snowflake.

After checking the Query Profile, what is the recommended approach to MAXIMIZE performance of this query if the Profile shows data spillage?

  1. Enable clustering on the table.
  2. Increase the warehouse size.
  3. Rewrite the query to remove the CTEs.
  4. Switch to a multi-cluster virtual warehouse.

Answer(s): B



A Data Engineer needs to know the details regarding the micro-partition layout for a table named Invoice using a built-in function.

Which query will provide this information?

  1. SELECT SYSTEM$CLUSTERING_INFORMATION('Invoice');
  2. SELECT $CLUSTERING_INFORMATION('Invoice');
  3. CALL SYSTEM$CLUSTERING_INFORMATION('Invoice');
  4. CALL $CLUSTERING_INFORMATION('Invoice');

Answer(s): A



What action could a Data Engineer take to increase the query performance of an external table?

  1. Add a clustering key to the external table.
  2. Enable the search optimization service on the external table.
  3. Create a materialized view on the external table.
  4. Set the USE_CACHED_RESULTS parameter to True for the external table.

Answer(s): C

Explanation:

External tables in Snowflake store metadata about files in external cloud storage (e.g., Amazon S3, Azure Blob Storage, Google Cloud Storage) rather than the data itself. Since external tables do not benefit from Snowflake's micro-partitioning or clustering, query performance can be improved by a materialized view (MV) precomputes and stores query results, reducing the need to scan external storage repeatedly.



Viewing page 11 of 24
Viewing questions 51 - 55 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!