Courseiva

DEA-C01 Data Ingestion and Transformation Practice Question

A data engineer is using AWS Glue to run an ETL job that reads from Amazon S3, performs a join between two large datasets, and writes the result to Amazon Redshift. The job is taking longer than expected, and the engineer suspects data skew. Which technique can help mitigate data skew in the join?

⚠ Common exam trap

The trap here is assuming that adding more resources or using broadcast join will solve skew, when in fact skew requires specific runtime optimization techniques like AQE.

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

✓

Enable the 'spark.sql.adaptive.enabled' configuration and set 'spark.sql.adaptive.skewJoin.enabled' to true.

Enabling Adaptive Query Execution with skew join handling allows Spark to dynamically detect and split skewed partitions during the join. This redistributes the workload more evenly across executors, mitigating the performance bottleneck caused by data skew.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Enable the 'spark.sql.adaptive.enabled' configuration and set 'spark.sql.adaptive.skewJoin.enabled' to true.

    Why this is correct

    Adaptive Query Execution (AQE) in Spark dynamically optimizes query plans at runtime. Enabling skew join handling allows AQE to detect skewed partitions and split them into smaller sub-partitions, balancing the workload. This significantly reduces the impact of data skew during joins, improving job performance.

  • ✗

    Use AWS Glue's 'groupFiles' option to combine small files before the join.

    Why it's wrong here

    Grouping small files can improve read performance, but it does not address data skew during a join. Data skew occurs when certain keys have disproportionately more data, causing some partitions to be much larger. Grouping files does not redistribute the skewed keys.

  • ✗

    Increase the number of DPUs to provide more memory for the join operation.

    Why it's wrong here

    Adding more DPUs increases overall resources but does not directly address skew. Skewed partitions will still be processed by a single task, potentially causing out-of-memory errors or long runtimes. More DPUs can help with overall throughput but not with the imbalance caused by skew.

  • ✗

    Use a broadcast join to replicate the smaller dataset across all nodes.

    Why it's wrong here

    Broadcast join is effective when one dataset is small enough to fit in memory, but here both datasets are large. Broadcasting a large dataset would cause memory issues and is not feasible. It does not address skew in the larger datasets.

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

Courseiva writes every DEA-C01 question from scratch — 1,321 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 →

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.