Exam DEA-C02 Topic 1 Question 352 Discussion

Actual exam question for Snowflake's DEA-C02 exam
Question #: 352
Topic #: 1
You are loading JSON data into a Snowflake table with a 'VARIANT' column. The JSON data contains nested arrays with varying depths. You need to extract specific values from the nested arrays and load them into separate columns in your Snowflake table. Which approach would provide the BEST performance and flexibility?

Suggested Answer: D Vote an answer

Using a 'COPY command with a 'TRANSFORM' clause and JavaScript UDFs allows for efficient parsing and extraction of values during the load process. This minimizes the amount of data stored in the 'VARIANT column and avoids expensive query-time parsing. Stored procedures perform row by row operations which are inefficient. Using Flatten functions could be useful to denormalise json, but javascript parsing during load is better. Snowpipe and auto-ingest just move the challenge to a real-time streaming scenario, which may not be optimized for transforming data into a relational structure.

by Zebulon at Aug 02, 2025, 07:32 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10