Handling Data Too Large for System Memory
Short answer
C Perform chunking on the oversized database log set so each batch fits within system memory during processing.
Question
Key Takeaways
The question tests recognizing that an out-of-memory failure during data ingestion is solved by processing the data in smaller pieces (chunking), with the common trap being to reach for hardware upgrades or unrelated troubleshooting steps.
When a database log load fails because the dataset exceeds available system memory, the standard data-acquisition fix is to split the file into smaller batches and process them sequentially. This CompTIA Data+ (DA-002) question establishes that chunking — not storage changes or error analysis — is the correct remedy for out-of-memory ingestion failures.
Common mistake: The most common wrong pick is D, increasing system memory, because scaling hardware feels like a direct fix — but it is expensive, may be impossible in a constrained environment, and does not address the ingestion technique itself. A (internal storage) is also popular yet confuses storage capacity with in-memory processing limits.
Expert Analysis
Why the Answer Is Correct
Chunking (option C) divides a large dataset into smaller, manageable portions that are loaded and processed one batch at a time, so no single operation exceeds the system's memory ceiling. This is the classic technique for streaming large database logs into tools that buffer data in RAM during ingestion and transformation. It requires no new hardware, no permissions, and works immediately, which makes it the "best" correction in an exam context that prizes the most efficient, self-service remedy. It also generalizes well: the same chunking pattern is used when reading CSV or log files with pandas, SQL bulk loaders, and ETL pipelines.
Why the Other Options Are Wrong
Option A (use internal storage) addresses where data is persisted, not how much memory the processing step consumes; the failure occurs during processing, so swapping storage location does not relieve the in-memory load. Option B (analyze the logs for errors) is diagnostic work unrelated to the stated cause — the notification explicitly says the data size is too large, not that the content is corrupt. Option D (increase memory) might eventually work but is not the "best" answer: it is costly, may be blocked by budget or cloud limits, and treats the symptom rather than fixing the load strategy, so exams treat it as an inferior alternative to chunking.
Community Comment Notes
Amelia233, whose comment carries the most community likes, argues exactly this: "Chunking means dividing a large dataset into smaller pieces and processing them separately" and notes that "Storage does not solve the memory limitation during processing." That reasoning aligns with the Data+ emphasis on practical data-acquisition troubleshooting, and the single visible vote on the thread also selected C.
Official Reference
https://www.comptia.org/certifications/data
This link opens the official vendor documentation in a new tab.
Exam Strategy
When a question describes a resource-exhaustion failure (memory, size, or timeout) during loading or processing, look for the option that reduces per-operation size — chunking, batching, or streaming — before considering hardware upgrades. Hardware scaling is almost never the "best" answer in a Data+ scenario.
Frequently Asked Questions
Why is increasing system memory not the best answer when a load fails due to size?
Does chunking apply only to database logs, or to other large files too?
Discussion 1 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 1
-
Amelia233 👍 1 Answered CChunking means dividing a large dataset into smaller pieces and processing them separately. This prevents the entire dataset from being loaded into memory at once and helps avoid memory limitations. A. Internal storage — ❌ Storage does not solve the memory limitation during processing. B. Analyze logs for errors — ❌ The problem is data size, not necessarily log errors. C. Chunking — ✅ Splits the data into manageable portions. D. Increase memory — ❌ It may work, but chunking is the more appropriate data-processing solution. Answer: C. Perform chunking on the data.
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DA0-002 Questions
Access 100 questions with complete answers and detailed explanations.
View Full DA0-002 Practice Test →