Courseiva

DEA-C01 Data Ingestion and Transformation Practice Question

A data engineer is building an AWS Glue ETL job that reads from an Amazon S3 bucket containing nested JSON files and must flatten the nested structures before writing to Amazon Redshift. The job uses the Glue DynamicFrame API. The engineer wants the transformation to run as a single pass without an intermediate shuffle. Which operation should the engineer use?

⚠ Common exam trap

Candidates often confuse ResolveChoice, which resolves type ambiguity, with Relationalize, which unnest nested structures; only Relationalize performs the flattening required by the scenario.

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

✓

Relationalize

Relationalize is the Glue DynamicFrame transform specifically designed to unnest nested JSON into multiple flat frames in one traversal. It produces a root frame and one frame per nested array, each with a join key back to the parent. This matches the requirement to flatten nested structures before loading into Redshift without an intermediate shuffle.

Answer analysis

Option-by-option breakdown

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

  • ✗

    ResolveChoice

    Why it's wrong here

    ResolveChoice handles ambiguous column types by casting or retaining them, but it does not flatten nested structures. It is used when a column contains mixed types, not when a column is a nested struct or array. Applying it here would not produce the flat columns needed for Redshift and would leave the nested schema unchanged.

  • ✗

    ApplyMapping

    Why it's wrong here

    ApplyMapping selects, renames, and casts top-level fields but does not flatten nested structures. It operates on the schema's flat column list, so nested structs remain nested after the transformation. It would not produce the flattened output the pipeline requires and would leave nested JSON intact in the target Redshift table.

  • ✓

    Relationalize

    Why this is correct

    Relationalize flattens nested DynamicFrames into a set of related flat DynamicFrames in a single pass, producing one frame per nested array or struct. It is designed exactly for unnesting JSON before loading into a relational target such as Redshift, and it avoids a full shuffle because it processes the frame as a single traversal.

  • ✗

    DropNullFields

    Why it's wrong here

    DropNullFields removes columns that contain only null values. It does not flatten nested JSON or restructure the schema. Using it in this scenario would simply drop empty columns and leave the nested arrays and structs in place, so the output would still not match the flat Redshift target schema.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

One of 1,321 original DEA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 Amazon Web Services exam blueprint

This DEA-C01 practice question is part of Courseiva's free Amazon Web Services 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-C01 exam.