Courseiva
Data Ingestion and TransformationmediumMultiple SelectObjective-mapped

DEA-C01 Data Ingestion and Transformation Practice Question

A company is using AWS Glue to run ETL jobs that read from Amazon S3 and write to Amazon Redshift. The jobs are failing intermittently with 'Out of Memory' errors. Which TWO actions should the data engineer take to resolve this issue? (Choose TWO.)

⚠ Common exam trap

It's easy for candidates to confuse increasing shuffle partitions (Option D) with a direct fix for OOM errors, when in fact it can increase memory pressure due to more concurrent tasks and metadata overhead, while the correct approach is to allocate more DPUs to scale memory and compute resources.

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

Increase the number of DPUs allocated to the Glue job

Increasing the number of DPUs allocated to the Glue job (Option B) directly addresses the 'Out of Memory' errors by providing more memory and compute resources per executor. AWS Glue uses Apache Spark under the hood, where each DPU provides 4 vCPU and 16 GB of memory; adding more DPUs increases the total memory available for data processing, reducing the likelihood of OOM errors during shuffle or aggregation operations.

Answer analysis

Option-by-option breakdown

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

  • Switch the output to Amazon S3 instead of Redshift

    Why it's wrong here

    Does not address the memory issue.

  • Increase the number of DPUs allocated to the Glue job

    Why this is correct

    More DPUs provide more memory.

  • Reduce the number of partitions in the input data

    Why it's wrong here

    Reducing partitions may reduce parallelism and increase memory per task, but could also cause OOM if data skew exists.

  • Increase the spark.sql.shuffle.partitions parameter

    Why it's wrong here

    May help but not the primary fix for OOM.

  • Enable job metrics in CloudWatch to monitor memory usage

    Why this is correct

    Monitoring helps diagnose the issue.

Visual reference

Client Recursive Resolver Root DNS (13 root servers) TLD DNS (.com, .org, …) Authoritative example.com query IP addr answer

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,711 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 by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.