Question 1,687 of 1,786
Data Ingestion and TransformationmediumMultiple SelectObjective-mapped

Cost-Effective AWS Glue Out-of-Memory Fix

This DEA-C01 practice question tests your understanding of data ingestion and transformation. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is using AWS Glue to run ETL jobs that transform data from Amazon S3 to Amazon Redshift. The jobs are failing intermittently with 'Out of Memory' errors. The team wants to resolve this issue without increasing costs significantly. Which TWO actions should the team take?

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 Spark memory overhead parameter in the Glue job configuration.

Options A and E are both correct. Option A increases the Spark memory overhead parameter (`spark.executor.memoryOverhead`), which allocates additional off-heap memory for Spark operations. This is a cost-effective tuning approach that can prevent 'Out of Memory' errors without adding more workers or changing job types. Option E changes the worker type from 'G.1x' to 'G.2x', doubling the memory per worker. While this increases per-worker cost, it avoids adding more workers (which would increase cost significantly) and is a targeted fix for memory-intensive workloads. Both options address memory pressure without the high cost of increasing the number of workers (Option C) or the performance loss of switching to Python shell (Option D).

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 Spark memory overhead parameter in the Glue job configuration.

    Why this is correct

    Allocates more memory per worker for Spark processing, reducing OOM errors.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Use DynamicFrame instead of Spark DataFrame for transformations.

    Why it's wrong here

    DynamicFrame is built on Spark; memory usage is similar.

  • Increase the number of workers to maximum allowed.

    Why it's wrong here

    More workers increase parallelism and cost but each worker still has limited memory; may not solve OOM if memory per worker is insufficient.

  • Switch from a Spark job to a Python shell job.

    Why it's wrong here

    Python shell jobs are for lightweight processing; not suitable for large transformations.

  • Change the worker type from 'G.1x' to 'G.2x' to double memory per worker.

    Why this is correct

    Doubles memory per worker, addressing OOM with moderate cost increase.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates may assume increasing the number of workers (Option C) is the only way to fix OOM errors, but this ignores the cost-effective tuning of memory overhead and worker type upgrades.

Trap categories for this question

  • Similar concept trap

    DynamicFrame is built on Spark; memory usage is similar.

Detailed technical explanation

How to think about this question

Under the hood, Spark executors allocate memory for execution, storage, and overhead. The `spark.executor.memoryOverhead` parameter (default 10% of executor memory) covers off-heap memory for things like JVM internals, thread stacks, and network buffers. In Glue, when transformations involve large shuffles or complex operations, the default overhead may be insufficient, causing OOM errors. Increasing this parameter (e.g., to 20-30%) provides a safety margin without requiring more expensive worker types.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A startup's cloud architect reviews their monthly bill and notices costs are higher than expected for a long-running batch job. Switching from on-demand instances to Reserved Instances — or using Spot/Preemptible VMs — can reduce compute costs by up to 72 %. Questions like this test whether you understand the tradeoffs between commitment, flexibility, and cost across cloud pricing models.

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

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related DEA-C01 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free DEA-C01 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this DEA-C01 question test?

Data Ingestion and Transformation — This question tests Data Ingestion and Transformation — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Increase the Spark memory overhead parameter in the Glue job configuration. — Options A and E are both correct. Option A increases the Spark memory overhead parameter (`spark.executor.memoryOverhead`), which allocates additional off-heap memory for Spark operations. This is a cost-effective tuning approach that can prevent 'Out of Memory' errors without adding more workers or changing job types. Option E changes the worker type from 'G.1x' to 'G.2x', doubling the memory per worker. While this increases per-worker cost, it avoids adding more workers (which would increase cost significantly) and is a targeted fix for memory-intensive workloads. Both options address memory pressure without the high cost of increasing the number of workers (Option C) or the performance loss of switching to Python shell (Option D).

What should I do if I get this DEA-C01 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More DEA-C01 practice questions

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

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.