Courseiva

DEA-C01 Data Ingestion and Transformation Practice Question

A data engineer uses AWS Glue to process data from S3. The Glue job frequently fails with 'Out of Memory' errors. The job reads several large compressed files. What is the MOST effective way to resolve this issue without changing the code?

⚠ Common exam trap

Test-takers frequently confuse 'Out of Memory' errors with performance issues and choose to reduce parallelism (Option C) or increase timeout (Option D), not realizing that memory exhaustion requires more memory per executor, not fewer tasks or longer runtime.

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 G.1X workers or use G.2X workers

Increasing the number of G.1X workers or switching to G.2X workers directly addresses the 'Out of Memory' errors by allocating more memory per Spark executor. G.1X provides 16 GB of memory per worker, while G.2X provides 32 GB, which is critical when processing large compressed files because decompression and transformation require additional heap space. This approach resolves the issue without modifying the job code, as it only changes the resource configuration.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Increase the number of G.1X workers or use G.2X workers

    Why this is correct

    Glue workers hold the memory used for shuffles and decompression, so adding G.1X workers or switching to G.2X doubles per-worker memory and vCPU. That relieves the out-of-memory condition caused by large compressed files without editing the job script.

  • ✗

    Convert the compressed files to uncompressed format before processing

    Why it's wrong here

    Uncompressed files are larger, so executors read more bytes per task and memory pressure increases rather than easing. Decompression is tempting because compressed input can complicate splittable reads, but the correct remedy is allocating more memory per worker, not expanding the data volume.

  • ✗

    Repartition the data to fewer partitions

    Why it's wrong here

    Fewer partitions concentrates more data into each executor, raising per-task memory pressure and worsening the out-of-memory failures. Repartitioning is tempting when skew or small-file overhead dominates, but here the fix is raising worker memory or using a larger worker type without touching code.

  • ✗

    Increase the job timeout setting

    Why it's wrong here

    A longer timeout only lets the job run before being killed; the executor still exhausts heap while processing the large compressed files, so the out-of-memory error recurs. Timeout tuning suits jobs terminated prematurely on duration, not memory exhaustion, which requires more worker capacity.

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.