1. A Snowflake architect is evaluating whether to enable the Query Acceleration Service (QAS) for a warehouse. Which characteristic of a query makes it MOST eligible for meaningful acceleration by QAS?
- A. A query that performs a small lookup join between two well-clustered tables, returning fewer than 1,000 rows.
- B. A query that scans a large table with selective filters and performs aggregations, where the scan phase dominates total query time.✓ Correct
- C. A query that is blocked in the warehouse queue due to high concurrency, waiting for an available slot.
- D. A query that spills large intermediate results to remote storage during a multi-stage hash join.
Explanation
Correct: QAS is designed for queries that have large, parallelizable scan-and-filter-aggregation patterns — where a significant portion of the query time is spent scanning micro-partitions. QAS offloads the scan portions to additional serverless compute, reducing wall-clock time for these 'outlier' queries. Distractor A is wrong because small lookup joins that already return quickly have little to gain from QAS; the service targets long-running scan-heavy queries. Distractor C is wrong because QAS does not address warehouse queuing/concurrency — that is solved by multi-cluster warehouses or query queuing policies. Distractor D is wrong because spilling during hash joins is a memory pressure problem (solved by increasing warehouse size or rewriting the query), not a scan acceleration problem; QAS primarily accelerates the scan phase, not in-memory hash join operations.