COF-C03 performance and transformation
Performance optimization, querying and transformation is reported at about 21% of COF-C03. You need to read query behaviour, pick the right tuning feature, and know the tools that transform data inside Snowflake. The common thread is cost against speed: choose the smallest change that solves the stated problem.
Reading query behaviour
The Query Profile in Snowsight shows operators, time spent, rows and partitions scanned. Warning signs include a high ratio of partitions scanned to partitions total (poor pruning), spilling to local or remote storage (the warehouse is too small for the operation), and exploding joins. QUERY_HISTORY views give the same information for many queries. The architecture guide explains the caches that make a repeat query fast.
Tuning options
| Symptom | Typical remedy |
|---|---|
| Single large query is slow or spills | Use a larger warehouse |
| Many queries queue at the same time | Multi-cluster warehouse (Enterprise or higher) |
| Large table scanned for selective filters | Clustering key on the filtered columns |
| Point lookups on a very large table | Search optimization service |
| Occasional large queries that overload a warehouse | Query acceleration service |
| Repeated aggregation on the same data | Materialized view, where it is supported |
Each option has a cost: clustering and search optimization consume serverless credits and storage, and a bigger warehouse spends more credits per hour. Exam answers usually reward matching the feature to the symptom rather than using the biggest hammer.
Transformation
SQL is the main tool: views, CTEs, window functions, joins and semi-structured access. For pipelines Snowflake offers:
- Streams, which record changes on a table (change data capture).
- Tasks, which run SQL on a schedule or when a stream has data.
- Dynamic tables, which keep a query result up to date to a target lag you set.
- Stored procedures and user-defined functions, in SQL and other supported languages.
Dynamic tables are the declarative choice when you want freshness without writing the orchestration; streams plus tasks give more control. The loading guide covers how data gets in first.
Semi-structured and unstructured processing
VARIANT values are queried with path expressions and cast to typed values. FLATTEN expands arrays. Functions exist for parsing and building JSON. For unstructured files, use stage functions and directory tables, and Snowflake’s AI functions where your guide includes them.
Practice
In a trial account, run a query on a large sample table, read the profile, add a clustering key, and compare pruning. Create a stream and a task that copies changes into a second table. Then try the practice test.
Sample questions
Question 1. A query's profile shows heavy spilling to remote storage during a large aggregation. What is the most direct fix?
- A. Extend Time Travel retention
- B. Add a masking policy
- C. Create a share for the table
- D. Run the query on a larger warehouse
Show answer
Answer: D
Spilling means the data did not fit in the warehouse memory, so a larger warehouse gives more memory and often removes the spill. A longer retention period, a masking policy or a share does not change query memory.
Want more questions like this? Full COF-C03 practice tests →
Question 2. A team needs to track which rows changed in a source table so that a task can apply only those changes downstream. Which object records the changes?
- A. A stream
- B. A stage
- C. A resource monitor
- D. A file format
Show answer
Answer: A
A stream records inserts, updates and deletes on a table so that downstream processing can use only the changes. A stage holds files, a resource monitor tracks credits, and a file format describes files.
Want more questions like this? Full COF-C03 practice tests →
Question 3. An analytics table is queried by selective point lookups on a high-cardinality column, and each lookup scans too many partitions. Which feature is designed for this?
- A. Multi-cluster warehouse
- B. Fail-safe
- C. Search optimization service
- D. Reader account
Show answer
Answer: C
The search optimization service speeds up selective lookups on large tables. A multi-cluster warehouse helps concurrency, Fail-safe is recovery, and a reader account is for sharing.
Want more questions like this? Full COF-C03 practice tests →
Next
Finish the domains with data collaboration.