Snowflake SnowPro Core (COF-C03) · 14% practice allocation

Snowflake COF-C03: Performance monitoring and optimization Practice Questions

5 free sample questions from the Performance monitoring and optimization domain, with answers and explanations. The full COF-C03 bank has 354 questions across 7 domains. Questions are scenario-based and written from the official Snowflake exam guide.

1.

A data engineer notices that a query's Query Profile shows a large amount of data being written to local disk during execution. Which term describes this condition, and what is the MOST effective first step to resolve it?

  • A. Result cache miss; enable the Search Optimization Service on the table
  • B. Query spilling; increase the warehouse size to provide more memory✓ Correct
  • C. Partition pruning failure; add a clustering key to the table
  • D. Join explosion; rewrite the query to use a semi-join instead
Explanation

When intermediate query data exceeds the available memory of the warehouse nodes, Snowflake writes the overflow to local disk (and potentially remote storage). This is called 'spilling.' The most direct remedy is to increase the warehouse size, which provides larger per-node memory and reduces or eliminates the spill. — Option C is wrong: partition pruning relates to micro-partition scanning, not memory overflow. — Option D is wrong: a join explosion causes excessive row multiplication, not disk writes per se, and rewriting with a semi-join addresses row count, not memory limits. — Option A is wrong: the Result Cache stores final query results and has no bearing on in-flight memory pressure during execution.

2.

A Snowflake administrator needs to enforce strict cost controls so that if a specific warehouse exceeds 200 credits in a single day, all running and queued queries are immediately killed. Which Resource Monitor configuration achieves this?

  • A. Set CREDIT_QUOTA = 200, interval = DAILY, and add an action: NOTIFY at 100%.
  • B. Set CREDIT_QUOTA = 200, interval = DAILY, and add an action: SUSPEND_IMMEDIATE at 100%.✓ Correct
  • C. Set CREDIT_QUOTA = 200, interval = DAILY, and add an action: SUSPEND at 100%.
  • D. Set CREDIT_QUOTA = 200, interval = MONTHLY, and add an action: SUSPEND_IMMEDIATE at 100%.
Explanation

Correct (B): SUSPEND_IMMEDIATE kills all currently running and queued queries immediately when the threshold is reached, then suspends the warehouse. Combined with a DAILY interval and a quota of 200, this matches the requirement exactly. Incorrect (A): NOTIFY only sends an alert; it does not stop any queries or suspend the warehouse. Running and queued queries continue uninterrupted. Incorrect (C): SUSPEND waits for currently running queries to complete before suspending the warehouse. This does not 'immediately kill' running queries, which is the stated requirement. Incorrect (D): A MONTHLY interval means the 200-credit quota is measured over the entire month, not per day. The requirement is a daily limit, so the interval must be DAILY.

3.

A table in Snowflake stores IoT sensor data and is queried almost exclusively with filters on the SENSOR_ID and EVENT_TIMESTAMP columns. The table has grown to 5 TB and query performance has degraded significantly. Automatic Clustering is enabled on (SENSOR_ID, EVENT_TIMESTAMP). Which TWO statements correctly describe the cost impact of enabling Automatic Clustering on this table? (Select TWO)

  • A. Clustering credits are only consumed during the initial full-table cluster operation and not afterward
  • B. Frequent DML operations (inserts/updates) on the table will increase clustering credit consumption✓ Correct
  • C. Automatic Clustering is free of charge because it runs in the background without user intervention
  • D. Automatic Clustering consumes Snowflake credits via serverless compute, billed separately from virtual warehouses✓ Correct
  • E. Automatic Clustering reduces storage costs by compressing micro-partitions more aggressively
Explanation

Automatic Clustering uses Snowflake-managed serverless compute credits charged to the account separately from warehouse credits. Tables that receive frequent DML (especially out-of-order inserts or updates that disrupt existing clustering) require more frequent re-clustering operations, directly increasing credit consumption. — Option C is wrong: Automatic Clustering is NOT free; it incurs serverless credit charges. — Option A is wrong: clustering is an ongoing maintenance operation; as new data is ingested and disrupts the cluster depth, Snowflake continuously re-clusters, generating recurring costs. — Option E is wrong: clustering organises micro-partitions by column value ranges to improve pruning; it does not apply additional compression algorithms or reduce storage costs.

4.

Which of the following factors does Snowflake consider when determining whether the Query Acceleration Service (QAS) will benefit a query? (Select TWO)

  • A. Whether the querying user has the SYSADMIN role.
  • B. Whether the query's warehouse has auto-suspend enabled.
  • C. Whether the query performs selective filtering that allows significant partitions to be pruned.
  • D. Whether the query contains parts that can be parallelized and offloaded to shared serverless compute.✓ Correct
  • E. Whether the query contains large scan operations that represent a disproportionate portion of overall query time (outlier queries).✓ Correct
Explanation

Correct (E): QAS is specifically designed for 'outlier' queries — queries where a single large, parallelizable operation (typically a large table scan or heavy processing step) consumes a disproportionate share of execution time. Snowflake identifies these automatically. Correct (D): QAS works by offloading eligible portions of a query to Snowflake-managed shared compute resources that can scale beyond the warehouse's own capacity. The query must have components that are parallelizable and suitable for this offload. Incorrect (B): Auto-suspend affects warehouse idle behavior but has no bearing on QAS eligibility or effectiveness. Incorrect (C): Partition pruning reduces the data scanned before execution; it is a complementary optimization but is not a criterion Snowflake uses to determine QAS eligibility. Highly pruned queries may not even need QAS. Incorrect (A): QAS eligibility is based on query characteristics, not on the role or identity of the user executing the query.

5.

A Snowflake architect is reviewing credit usage and notices that the Query Acceleration Service (QAS) is generating unexpected charges on a warehouse. Which TWO characteristics of QAS credit billing are correct? (Select TWO)

  • A. Enabling QAS on a warehouse guarantees that all queries will run faster, because every query is offloaded to serverless compute
  • B. QAS credits are only charged when the QAS-accelerated portion of a query completes successfully; failed queries are not billed
  • C. QAS has its own separate credit cost multiplier (scale factor) that applies on top of the warehouse's credit consumption✓ Correct
  • D. QAS is free for warehouses of size XL and larger because Snowflake absorbs the serverless cost at that tier
  • E. QAS only activates for queries that Snowflake's optimizer determines will benefit; not every query uses QAS✓ Correct
  • F. QAS credits are charged at the same rate as the virtual warehouse credits for that warehouse size
Explanation

QAS billing has two important characteristics: it uses a scale factor (a multiplier applied to the warehouse's per-credit rate) to determine QAS-specific charges, meaning costs can compound beyond the base warehouse cost (C); and the optimizer selectively identifies eligible queries — only those with large, non-uniform scans benefit, so QAS is not invoked for every query (E). — Option F is wrong: QAS has its own scale factor and is NOT billed at the same flat rate as the warehouse. — Option A is wrong: QAS does not accelerate every query; the optimizer evaluates eligibility, and many queries are unaffected. — Option B is wrong: there is no provision in Snowflake's billing model that waives QAS charges for failed queries. — Option D is wrong: Snowflake does not provide a free tier for QAS based on warehouse size; charges apply regardless of warehouse size when QAS is enabled and used.

Test yourself across every COF-C03 domain

The free COF-C03 practice test mixes about 20 questions weighted like the exam. The full 354-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Performance monitoring and optimization study guide (COF-C03) →

Other COF-C03 domains

← All Snowflake SnowPro Core study resources