Courseiva

DEA-C01 Data Ingestion and Transformation Practice Question

A company is ingesting data from multiple sources into S3 using AWS Glue. The data engineer notices that the Glue job is failing with an OutOfMemory error. Which step should be taken to resolve this issue?

⚠ Common exam trap

Many exam-takers think they can directly increase memory settings (Option B) or reduce data volume (Option A), but AWS Glue abstracts memory management through DPUs, and the correct approach is to increase DPU allocation to provide more 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

AWS Glue jobs run on Apache Spark, which distributes data processing across multiple executors. An OutOfMemory error typically indicates that the data being processed exceeds the memory available to the executors. Increasing the number of DPUs (Data Processing Units) allocates more memory and compute resources to the job, allowing it to handle larger datasets without running out of memory.

Answer analysis

Option-by-option breakdown

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

  • ✗

    Reduce the volume of incoming data

    Why it's wrong here

    Reducing incoming data volume changes business scope rather than fixing the job's execution; the OutOfMemory persists if partitioning and shuffle behaviour remain unchanged. It tempts as an intuitive capacity fix, but the correct approach adjusts Glue worker memory or repartitions data to relieve executor heap pressure.

  • ✗

    Configure the job to use a larger memory setting

    Why it's wrong here

    Increasing memory setting raises the executor heap, but Glue OutOfMemory typically arises from skewed partitions or inefficient shuffles, so more memory only delays the failure. It tempts because it directly targets the error message, yet the correct remedy addresses data distribution or worker type configuration.

  • ✗

    Use a smaller file size for input

    Why it's wrong here

    Smaller input files increase the number of objects and tasks, raising per-executor overhead rather than lowering memory pressure. It tempts as a tuning lever, but Glue's OutOfMemory stems from executor heap limits, so the fix is raising worker memory or repartitioning data, not shrinking individual files.

  • ✓

    Increase the number of DPUs allocated to the Glue job

    Why this is correct

    Glue allocates memory per executor across its DPUs; OutOfMemory errors during ingestion indicate insufficient memory for the workload's partitions. Increasing DPU count adds executors and memory capacity, directly resolving the resource constraint causing the job failure.

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

This DEA-C01 question is part of Courseiva's 1,321-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 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.