Which TWO of the following are common indicators that a query is poorly optimized and requires tuning?
Remote disk spilling indicates that the query has exhausted its local compute memory and is relying on remote storage, which is much slower. This is a clear indicator that the query needs more resources or better optimization to ensure operations stay within the faster, local memory space.
Why this answer
High 'Remote Disk Spilling' and low partition pruning efficiency are classic indicators of poor performance. Spilling suggests that memory is insufficient for the data volume, while low pruning indicates that the query is forced to scan a large portion of the table, often due to missing clustering keys or inefficient filter predicates. Both issues are easily detectable via the Query Profile.
Exam trap
Candidates often look only at execution duration, ignoring core underlying hardware indicators like disk spilling and poor pruning efficiency.