Courseiva
Data Operations and Support →mediumMultiple Choice

DEA-C01 Data Operations and Support Practice Question

A data pipeline uses AWS Glue to process data from Amazon S3. The job fails with an 'OutOfMemoryError' during the transformation phase. Which action should the data engineer take to resolve this issue?

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 (Data Processing Units) for the Glue job.

The OutOfMemoryError occurs because the Glue job does not have enough memory allocated. Increasing the number of DPUs (Data Processing Units) increases both memory and processing capacity, directly resolving the issue. Option A (S3 server-side encryption) affects data security, not memory. Option B (increasing data partitions) may help parallelism but does not directly increase memory per executor. Option C (changing to Parquet) can reduce data volume but does not guarantee sufficient memory for transformation.

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 S3 server-side encryption.

    Why it's wrong here

    Server-side encryption protects data at rest and has no bearing on executor heap consumption, so it cannot prevent an OutOfMemoryError during transformation. It tempts because encryption is a common S3 security control, yet it would be the correct answer only if the requirement were compliance or data-protection, not memory exhaustion.

  • ✗

    Increase the number of partitions in the input data.

    Why it's wrong here

    Adding input partitions increases the number of small files and tasks, raising per-task overhead and shuffle pressure rather than freeing executor memory. It tempts because partitioning is a genuine Glue tuning lever, yet it would be correct when the problem is skewed, oversized partitions causing a single task to spill, not overall heap exhaustion.

  • ✗

    Change the data format from CSV to Parquet.

    Why it's wrong here

    Converting CSV to Parquet reduces storage and scan volume, but the OutOfMemoryError arises during transformation, where the executor heap is exhausted; columnar layout does not shrink in-memory shuffle or aggregation state. It tempts because Parquet is the standard Glue performance recommendation, yet it would be right when the bottleneck is S3 read throughput or crawler cost.

  • ✓

    Increase the number of DPUs (Data Processing Units) for the Glue job.

    Why this is correct

    Adding DPUs increases the total executor memory and parallelism available to the Glue job, letting Spark distribute transformation partitions across more workers. This directly addresses the OutOfMemoryError caused by insufficient memory per executor during the transformation phase.

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,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 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.