Courseiva
Data Movement →easyMultiple Choice

DEA-C02 Data Movement Practice Question

A data engineer must load semi-structured JSON from an external stage where each file contains a top-level array of objects. The engineer wants each object in the array to become one row, with each object's keys exposed as columns. Which file format option should be configured?

⚠ Common exam trap

The trap here is reaching for a general JSON cleanup option such as STRIP_NULL_VALUES when the actual need is to change how the outer array is parsed into rows.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

STRIP_OUTER_ARRAY = TRUE

When JSON files contain a top-level array, Snowflake by default loads the entire array as one row. Setting STRIP_OUTER_ARRAY to TRUE in the JSON file format removes the outer brackets so each element of the array is parsed as an individual row. This aligns each object with a table row while preserving the object keys as columns or variant fields.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    STRIP_NULL_VALUES = TRUE

    Why it's wrong here

    STRIP_NULL_VALUES removes object fields whose value is null when loading JSON, which reduces stored data but does not change how arrays are decomposed into rows. Files with a top-level array would still load as a single row containing the array unless the outer array is stripped, so this option does not address the requirement.

  • ✗

    REPLACE_INVALID_CHARACTERS = TRUE

    Why it's wrong here

    REPLACE_INVALID_CHARACTERS replaces invalid UTF-8 sequences with a replacement character, helping with encoding issues in text data. It does not alter the structure of JSON arrays, so each object would not become its own row. This option addresses data cleanliness, not row formation from an array.

  • ✓

    STRIP_OUTER_ARRAY = TRUE

    Why this is correct

    STRIP_OUTER_ARRAY removes the outer brackets of a top-level JSON array so that each element is treated as a separate row during loading. This is exactly the behavior needed when files contain an array of objects and each object should map to a row. It is a property of the JSON file format used by COPY INTO.

  • ✗

    SKIP_HEADER = 1

    Why it's wrong here

    SKIP_HEADER applies to delimited files such as CSV, where it skips a specified number of header lines. It is not a JSON file format option and has no effect on array decomposition. Applying it to JSON would not produce one row per object and would leave the top-level array intact.

About these practice questions

This DEA-C02 question is part of Courseiva's 229-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed September 2026 · checked against the official Snowflake exam blueprint

This DEA-C02 practice question is part of Courseiva's free Snowflake certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DEA-C02 exam.