Courseiva
Data Ingestion and TransformationmediumMultiple ChoiceObjective-mapped

DEA-C01 Data Ingestion and Transformation Practice Question

A company is using AWS Glue to process streaming data from Amazon Kinesis Data Streams. The job fails intermittently with a 'MemoryError' when the stream has a sudden spike in data volume. Which configuration change would best prevent this error?

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.

Increasing the number of DPUs in the AWS Glue job provides more memory and compute capacity to handle data spikes. Option B is wrong because storing intermediate results in Amazon RDS does not prevent memory errors in Glue; it introduces a database dependency and does not increase Glue's memory. Option C is wrong because switching to batch transformation is not a solution for a streaming job; the job is designed for streaming and batch does not address the memory issue. Option D is wrong because increasing the number of shards in Kinesis increases throughput but does not directly solve memory errors in Glue; it may even increase the data volume per unit time and worsen the problem.

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

    Why this is correct

    Increasing DPUs adds more memory and compute capacity to the Glue job, directly addressing the MemoryError during data spikes.

  • Store intermediate results in Amazon RDS.

    Why it's wrong here

    Storing intermediate results in Amazon RDS does not address the memory issue in the Glue job; it adds latency and complexity without increasing available memory.

  • Use a batch transformation instead of streaming.

    Why it's wrong here

    Batch transformation is not a streaming solution and does not fix memory errors in a streaming job; it changes the job type which is not desired.

  • Increase the number of shards in the Kinesis data stream.

    Why it's wrong here

    Increasing the number of shards in the Kinesis data stream improves throughput and parallelism, but does not directly increase the memory available to the Glue job.

About these practice questions

One of 1,711 original DEA-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.