Courseiva

DEA-C02 · topic practice

Data Transformation practice questions

This domain covers transforming data inside Snowflake: SQL window functions, QUALIFY, Python and Java UDFs, stored procedures, Snowpark, and Change Tracking. Questions present a transformation goal and ask you to choose the most efficient, correct Snowflake-native construct, or to identify which features deliver the stated benefit.

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: Data Transformation

What the exam tests

What to know about Data Transformation

Be able to pick the right Snowflake transformation primitive for a given workload and write it correctly. The single most important thing: use QUALIFY to filter window-function results, and reserve Snowpark or vectorized UDFs for complex, stateful, large-volume logic.

Filtering window-function output with QUALIFY instead of wrapping the query in a subquery

Choosing vectorized Python UDFs or Snowpark for large-scale string and row transformations

Using Change Tracking and streams to process only changed rows during incremental transforms

Selecting SQL window functions versus Snowpark or stored procedures for stateful processing

Watch out for

Common Data Transformation exam traps

  • ▸Trying to reference a window function alias in WHERE; Snowflake requires QUALIFY or an outer query instead.
  • ▸Assuming scalar Python UDFs are vectorized by default; without the vectorized decorator they run row by row and scale poorly.
  • ▸Confusing Change Tracking metadata with actual change data, and forgetting streams must be consumed to advance the offset.

Practice set

Data Transformation questions

20 questions · select your answer, then reveal the explanation

A data engineer is designing a pipeline using Snowflake Streams and Tasks to process CDC data. Which TWO characteristics correctly describe the behavior of a standard table stream when consumed by a DML statement? (Choose TWO)

Refer to the exhibit. A data engineer needs to produce a flattened result set where each row represents a single product item linked to its customer_id. Which approach using the FLATTEN function will correctly extract the 'prod' and 'qty' values for all orders?

Exhibit

{
  "customer_id": 101,
  "orders": [
    {"id": "A1", "items": [{"prod": "widget", "qty": 2}, {"prod": "bolt", "qty": 5}]},
    {"id": "A2", "items": [{"prod": "gear", "qty": 1}]}
  ]
}

A data engineering team is evaluating the use of Dynamic Tables for a new transformation pipeline. Which THREE statements accurately describe the behavior and limitations of Dynamic Tables? (Choose THREE)

A data engineer needs to transform a flat table containing organizational hierarchy (employee_id, manager_id) into a format that shows the depth of each employee from the CEO. Which SQL construct should be used to perform this recursive transformation?

Refer to the exhibit. If the staging table contains a record with an ID that already exists in the target table and its status is 'DELETED', what is the final outcome for that record in the target table after the MERGE execution?

Exhibit

MERGE INTO target_table t
USING staging_table s
ON t.id = s.id
WHEN MATCHED AND s.status = 'DELETED' THEN DELETE
WHEN MATCHED THEN UPDATE SET t.val = s.val
WHEN NOT MATCHED THEN INSERT (id, val) VALUES (s.id, s.val);

A data engineer needs to provide a transformed view of a massive dataset that requires complex joins and aggregations. The source tables are updated frequently, but the users require the highest possible query performance. Why might the engineer choose a Materialized View over a Dynamic Table in this scenario?

When transforming data using Snowflake's External Functions, which THREE components are required to establish the connection between Snowflake and the remote service? (Choose THREE)

A data engineer is optimizing a large table for better query performance. Which TWO actions are considered best practices for maintaining efficient micro-partitioning through clustering? (Choose TWO)

A data engineer needs to calculate the cumulative sum of transactions over time, but the calculation must reset whenever a specific 'gap' of more than 24 hours occurs between consecutive transactions. Which advanced transformation technique is best suited for this?

A data engineer is using a stream on a view to capture changes from multiple source tables. Which TWO constraints must be met for a stream to be created on a view? (Choose TWO)

An engineer is using Dynamic Tables to handle incremental transformations. Which TWO conditions must be met for the refresh to succeed?

Which THREE of the following are valid approaches to optimize data transformation pipelines using Streams?

Which TWO of the following are true regarding the behavior of the 'IGNORE NULLS' clause in transformation functions?

A Data Engineer needs to transform semi-structured JSON data into a relational table. Which transformation strategy offers the best performance for frequently queried nested attributes while minimizing storage costs?

A Data Engineer is using Dynamic Tables to handle incremental transformations. Which condition is required for the Dynamic Table to automatically maintain its data?

Which TWO statements are true regarding the use of Streams and Tasks for data transformation in Snowflake?

Question 17mediummulti select
Read the full wireless explanation →

Which THREE features are provided by Snowpark for data transformation?

A Data Engineer is using the `FLATTEN` table function to parse a JSON array. If the array contains empty objects that must be ignored, which parameter should be set?

When transforming data using User-Defined Functions (UDFs), which language choice offers the highest level of performance for complex, compute-intensive operations?

A data engineer needs to extract values from a VARIANT column named 'raw_data' which contains a JSON structure. One of the keys, 'user_id', is sometimes missing from the JSON. Which function or syntax should be used to safely handle missing keys and return a SQL NULL instead of an error or a literal 'null' string?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Data Transformation sessions

Start a Data Transformation only practice session

Every question in these sessions is drawn from the Data Transformation domain — nothing else.

Related practice questions

Related DEA-C02 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the DEA-C02 exam test about Data Transformation?
Be able to pick the right Snowflake transformation primitive for a given workload and write it correctly. The single most important thing: use QUALIFY to filter window-function results, and reserve Snowpark or vectorized UDFs for complex, stateful, large-volume logic.
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 Data Transformation questions in a focused session?
Yes — the session launcher on this page draws every question from the Data 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 DEA-C02 topics?
Use the topic links above to move to related areas, or go back to the DEA-C02 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 DEA-C02 exam covers. They are not copied from any real exam or dump site.