Courseiva

COF-C03 · topic practice

Performance Optimization, Querying, and Transformation practice questions

This domain covers transforming semi-structured data, tuning aggregation and join performance, and diagnosing slow queries with Query Profile. Questions present a scenario — VARIANT flattening, high-cardinality GROUP BY, Remote Disk I/O spikes — and ask you to choose the Snowflake feature or technique that fixes it while controlling warehouse credit consumption.

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, Querying, and Transformation

What the exam tests

What to know about Performance Optimization, Querying, and Transformation

Be able to turn VARIANT JSON into relational rows with LATERAL FLATTEN, read Query Profile to find the dominant operator, and pick the fix that addresses the actual bottleneck. The key is matching the symptom — spilling, Remote Disk I/O, or slow GROUP BY — to the correct Snowflake mechanism.

Flattening a VARIANT JSON array with LATERAL FLATTEN and casting values into relational columns

Using Query Profile operators and statistics to locate bottlenecks such as Remote Disk I/O and spilling

Retrieving recent results via RESULT_SCAN or the query history without re-running the warehouse

Reducing aggregation cost on high-cardinality columns through clustering, pruning, and pre-aggregation

Watch out for

Common Performance Optimization, Querying, and Transformation exam traps

  • ▸Assuming RESULT_SCAN re-executes the query; it only reads cached results of a prior query by its query ID.
  • ▸Ignoring that Remote Disk I/O usually signals poor pruning or missing clustering, not insufficient warehouse size.
  • ▸Flattening VARIANT without aliasing the FLATTEN output, causing ambiguous or duplicated column references.

Practice set

Performance Optimization, Querying, and Transformation questions

20 questions · select your answer, then reveal the explanation

Refer to the exhibit. Which SQL snippet correctly extracts the 'total' value of the second order in the JSON object stored in a column named 'src'?

Exhibit

{
  "customer": "Acme Corp",
  "orders": [
    {"id": "O1", "total": 100},
    {"id": "O2", "total": 250}
  ]
}

Which TWO of the following statements are true regarding Snowflake's caching mechanisms? (Choose two)

How can you optimize a query that frequently joins two very large tables that are updated infrequently?

Which THREE actions can help reduce the compute cost of a query? (Choose three)

What is the main function of the Cloud Services layer in Snowflake regarding query performance?

A data engineer notices that a daily aggregation query is performing poorly even though the virtual warehouse is sized correctly. The query filters on a 'transaction_date' column, but the data is loaded into the table in a random order based on 'customer_id'. Which Snowflake feature would most likely resolve this performance issue by optimizing the physical layout of the data?

A large multi-cluster warehouse is configured with the Auto-scale policy. Which TWO factors will cause the warehouse to start a new cluster to handle incoming queries?

Which THREE conditions must be met for a query to successfully use the Result Cache?

A developer needs to load data from an S3 bucket and perform a transformation (e.g., column renaming and data type casting) during the load. Which TWO methods can be used to accomplish this?

A data engineer notices that queries against a massive partitioned table are slow despite clustering. The table is clustered by a high-cardinality column. Which strategy should be applied to improve performance?

Which TWO of the following statements are true regarding the use of Result Caching in Snowflake?

An organization has a dashboard that runs every minute to display the latest data. Which Snowflake feature is most appropriate to optimize performance while minimizing costs?

A data engineer runs a query that joins a large fact table to a small dimension table. The query profile shows a Broadcast Join, and the engineer wants to force a different join strategy that avoids replicating the large table across all nodes. Which session parameter should be set to change the join strategy?

A data engineer runs a query that joins a 2 TB fact table to a small 5 MB dimension table. The Query Profile shows a Cartesian join with a row count far larger than expected, and the join condition was accidentally omitted in the SQL. Which join type should the engineer use to ensure the small dimension table is broadcast to every node instead of shuffling both large tables across the network?

A data engineer runs a query that joins a large fact table to a small dimension table. The Query Profile shows a Broadcast Join, and the query takes much longer than expected. The engineer wants to force a more efficient join strategy by giving the optimizer better cardinality information. Which action should the engineer take?

A data engineer runs a complex query against a large fact table joined to several dimension tables. The Query Profile shows a significant amount of time spent in the 'Join' operator, and the optimizer has chosen a hash join. The engineer wants to improve performance by ensuring the smaller dimension tables are broadcast to all nodes. Which Snowflake feature or technique should be used?

A data analyst runs a query that joins a 2 TB fact table to a small 5 MB dimension table. The Query Profile shows a Broadcast Join, and the query takes 12 minutes. The analyst wants to reduce the execution time by changing how the data is distributed before the join. Which action should the analyst take?

A data analyst needs to transform semi-structured JSON data stored in a VARIANT column into a relational table with separate columns for each attribute. The JSON objects have a consistent schema. Which Snowflake feature should the analyst use to achieve this transformation efficiently?

A data engineer runs a query that joins a 2 TB fact table to a small 10 MB dimension table. The Query Profile shows a CartesianJoin operator and the query returns far more rows than expected. The join condition in the SQL is `ON fact.dim_key = dim.dim_key`. The engineer wants to correct the query so it performs an inner join and avoids the Cartesian product. Which action should the engineer take?

A data engineer runs a complex aggregation against a large fact table in Snowflake. The Query Profile shows the join operator is producing a much larger intermediate result set than expected, and the query is slow. The engineer suspects that the join order chosen by the optimizer is suboptimal. Which action should the engineer take to address this issue?

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, Querying, and Transformation sessions

Start a Performance Optimization, Querying, and Transformation only practice session

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

Related practice questions

Related COF-C03 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the COF-C03 exam test about Performance Optimization, Querying, and Transformation?
Be able to turn VARIANT JSON into relational rows with LATERAL FLATTEN, read Query Profile to find the dominant operator, and pick the fix that addresses the actual bottleneck. The key is matching the symptom — spilling, Remote Disk I/O, or slow GROUP BY — to the correct Snowflake mechanism.
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, Querying, and Transformation questions in a focused session?
Yes — the session launcher on this page draws every question from the Performance Optimization, Querying, and Transformation 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 COF-C03 topics?
Use the topic links above to move to related areas, or go back to the COF-C03 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 COF-C03 exam covers. They are not copied from any real exam or dump site.