SnowPro Advanced Data Engineer Query Practice Questions
The free SnowPro Advanced Data Engineer questions that deal with query, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #2
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?
Correct answer: B
Explanation
The recommended approach to maximize performance of this query if the Profile shows data spillage is to increase the warehouse size. Data spillage occurs when the query requires more memory than the warehouse can provide and has to spill some intermediate results to disk. This can degrade the query performance by increasing the disk IO time. Increasing the warehouse size can increase the amount of memory available for the query and reduce or eliminate data spillage.
Question #4
A large table with 200 columns contains two years of historical data. When queried. the table is filtered on a single day Below is the Query Profile: Using a size 2XL virtual warehouse, this query look over an hour to complete What will improve the query performance the MOST?

Correct answer: D
Explanation
Adding a date column as a cluster key on the table will improve the query performance by reducing the number of micro-partitions that need to be scanned. Since the table is filtered on a single day, clustering by date will make the query more selective and efficient.
Continue with SnowPro Advanced Data Engineer
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in SnowPro Advanced Data Engineer, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
