Courseiva

DEA-C02 · topic practice

Performance Optimization practice questions

This domain covers how Snowflake executes queries efficiently and how to reduce latency and cost through caching, pruning, and clustering. Questions present a scenario — repeated queries, range filters on large unclustered tables, join-heavy workloads — and ask you to identify the responsible Snowflake feature or the best design choice.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Performance Optimization

What the exam tests

What to know about Performance Optimization

A candidate must diagnose why a query is fast or slow and choose the right optimization: Result Cache for identical reruns, natural micro-partition pruning for range filters, and clustering keys aligned to join and filter columns. Getting the cache-invalidation and pruning rules right is most important.

Result Cache reuse when identical query text and unchanged micro-partitions allow near-zero-time reruns

Micro-partition pruning using min/max metadata for range filters like BETWEEN on TRANSACTION_DATE

Choosing clustering keys that align with frequent join and filter columns to improve pruning

Warehouse sizing, query profiling, and avoiding unnecessary re-clustering or spills on large tables

Watch out for

Common Performance Optimization exam traps

  • ▸Assuming the Result Cache applies after any data change; it is invalidated when underlying micro-partitions change.
  • ▸Believing an unclustered table cannot prune; natural micro-partition min/max metadata still prunes range filters.
  • ▸Picking a clustering key on a low-cardinality or rarely filtered column, which yields little pruning benefit.

Practice set

Performance Optimization questions

20 questions · select your answer, then reveal the explanation

A data engineer notices a significant spike in warehouse credit consumption after implementing a complex join on high-cardinality columns. Which optimization strategy will most effectively reduce execution time without increasing warehouse size?

A data engineer is analyzing slow-running queries. Which TWO of the following metrics in the Query Profile are primary indicators of remote disk I/O bottlenecks? (Select TWO)

A data engineer identifies that a large table has poor pruning performance. Which THREE actions can improve the efficiency of queries filtering on this table? (Select THREE)

Which TWO factors should be considered when deciding between a Materialized View and a standard table with a clustering key for optimization? (Select TWO)

Which TWO of the following practices are recommended to minimize query queueing and optimize warehouse utilization?

A developer wants to optimize a query that frequently joins two very large tables, 'Fact_Sales' and 'Dim_Products'. The query profile indicates high network transfer costs. What is the best strategy to reduce this?

Which feature should be used to prevent a runaway query from consuming excessive warehouse credits?

Which THREE factors can negatively impact the 'Clustering Depth' of a table in Snowflake?

A data engineer notices that a warehouse is consistently showing 100% load, but queries are not queueing. What is the most likely cause?

A data engineer needs to optimize a set of recurring complex queries that involve expensive aggregations and joins on a large dataset that is updated every few minutes. Which TWO factors should be considered when deciding whether to use Materialized Views instead of regular views or caching? (Select TWO)

A data engineer is tasked with improving the performance of a Query Acceleration Service (QAS) eligible workload. Which THREE types of queries are most likely to benefit from the Query Acceleration Service? (Select THREE)

A data engineer observes that an external table is performing poorly. Which TWO actions can be taken to improve the query performance on external tables? (Select TWO)

A Snowflake data engineer is investigating a query that runs significantly slower than expected. The query includes a join between a very large fact table and a small dimension table. The Query Profile shows a CartesianJoin operator, and the join condition uses an equality predicate between the two tables. What is the most likely cause of the CartesianJoin?

A data engineer is optimizing a query that performs a large aggregation over a clustered table. The Query Profile shows that the aggregation step is spilling to local disk. The warehouse size is currently Medium. The engineer wants to reduce spilling without increasing warehouse size. Which action is most likely to improve performance?

A data engineer is designing a table that will be frequently queried with filters on both a high-cardinality column (e.g., ORDER_ID) and a low-cardinality column (e.g., STATUS). The table is very large. Which TWO actions will most effectively improve query performance? (Choose two.)

A data engineer is analyzing a Query Profile for a query that joins two large tables. The profile shows a significant amount of time spent in the 'Remote Disk Spilling' step. The warehouse is a 2XL. The engineer wants to reduce remote spilling without increasing warehouse size. Which optimization is most likely to be effective?

A data engineer is optimizing a query that selects a few columns from a very wide table (100+ columns). The query applies a filter on a non-clustered column and returns a small number of rows. The engineer notices that the query reads a large amount of data despite the filter. Which action will most improve performance?

A data engineer notices that a recurring batch query joining a 2 TB fact table with a 200 GB dimension table consistently spills to local disk. The Query Profile shows a HashJoin operator with a large number of bytes spilled. The warehouse is an X-Large. The join key on the dimension table is not the clustering key. Which change is most likely to eliminate the local spilling while keeping credit usage reasonable?

A data engineer is optimizing a Snowflake environment where multiple users run concurrent queries on the same large table. The table is frequently filtered on a high-cardinality column, and queries often scan large portions of the table. The engineer wants to reduce the amount of data scanned and improve overall concurrency. Which two actions should the engineer take? (Choose two.)

A data engineering team runs nightly ELT where transformations execute on a dedicated warehouse while dashboards query a separate reporting warehouse. Analysts complain that morning dashboards are slow, and the team wants to reduce query latency without increasing the size of the reporting warehouse. Which TWO actions should the team take? (Choose two.)

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Performance Optimization sessions

Start a Performance Optimization only practice session

Every question in these sessions is drawn from the Performance Optimization domain — nothing else.

Related practice questions

Related DEA-C02 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the DEA-C02 exam test about Performance Optimization?
A candidate must diagnose why a query is fast or slow and choose the right optimization: Result Cache for identical reruns, natural micro-partition pruning for range filters, and clustering keys aligned to join and filter columns. Getting the cache-invalidation and pruning rules right is most important.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Performance Optimization questions in a focused session?
Yes — the session launcher on this page draws every question from the Performance Optimization domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other DEA-C02 topics?
Use the topic links above to move to related areas, or go back to the DEA-C02 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the DEA-C02 exam covers. They are not copied from any real exam or dump site.