DEA-C02 Data Movement Practice Question
A data engineer must validate a COPY INTO load from an external stage before promoting it to production. The team wants to confirm which files were loaded, how many rows each contained, and which rows were rejected, without leaving partial or duplicated data in the target table. (Choose two.)
⚠ Common exam trap
The trap here is thinking ON_ERROR = CONTINUE is a validation technique, when it actually commits partial data and hides which rows were rejected.
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
✓
Run VALIDATION_MODE = RETURN_ERRORS in a COPY INTO statement
Pre-production validation combines a dry run that surfaces rejected rows without committing data and a post-attempt audit that reports per-file outcomes. VALIDATION_MODE = RETURN_ERRORS provides the dry run, and the COPY_HISTORY table function provides the file-level audit. Options that load partial data, force reloads, or observe changes after insertion either pollute the target or fail to expose the needed diagnostics.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Run VALIDATION_MODE = RETURN_ERRORS in a COPY INTO statement
Why this is correct
VALIDATION_MODE = RETURN_ERRORS parses the staged files and returns the rejected rows with their error messages without loading anything into the target table. It is exactly the dry-run mechanism for inspecting bad rows and confirming data quality before a real load. Because nothing is committed, it also avoids polluting load metadata or creating duplicates, which fits the pre-production validation goal.
- ✗
Set ON_ERROR = CONTINUE and inspect the target table row counts
Why it's wrong here
ON_ERROR = CONTINUE skips bad rows and loads the rest, which introduces exactly the partial data the team wants to avoid before promotion. Row counts alone would not reveal which rows were rejected or why, and the load would already have modified the target. This option conflates error tolerance with validation and would leave the table in an unclean state during a pre-production check.
- ✗
Use FORCE = TRUE to reload all files and compare checksums
Why it's wrong here
FORCE = TRUE bypasses load metadata and reloads files that may already be loaded, creating duplicates in the target table. Comparing checksums is a manual and indirect way to detect problems, and it does not report row-level rejection reasons. This option increases risk and effort while failing to provide the file-level and row-level diagnostics the team actually needs.
- ✓
Query the COPY_HISTORY table function for the load's file-level results
Why this is correct
The COPY_HISTORY table function returns per-file load results, including row counts, status, and error details for recent COPY INTO operations. It lets the engineer confirm which files loaded and how many rows each contributed, satisfying the audit portion of the requirement. It complements validation by showing actual outcomes after a load attempt rather than predicting them beforehand.
- ✗
Create a stream on the target table and read the change records
Why it's wrong here
A stream captures change data after rows are inserted, so it only helps once data has already landed in the table. It cannot show which staged files were parsed or why rows were rejected, and it does not provide pre-load validation. Using a stream here is a post-hoc observation technique that does not satisfy the requirement to validate before promoting the load.
About these practice questions
Courseiva writes every DEA-C02 question from scratch — 229 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
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.