A 6 GB CSV must be analyzed on a workstation with a 24 GB GPU. Which choice is usually best?
- Exam domain
- Data Analysis14% of the exam
- Difficulty
- Medium
- In this mock
- 7 questions on this domainPractise this domain
Why the exam asks this
Data Analysis (14% of the exam)
Objective in the exam guide: Identifying how much data is big data (or when to use which acceleration method)
Knowing when data is big is listed twice in the outline.
Why C is the answer
cuDF on the single GPU
Data that fits comfortably in one GPU's memory runs fastest on cuDF. Distributed frameworks add overhead that only pays off when data outgrows a node.
Remember: Pick the simplest engine the data fits.
How it works
The right acceleration method depends on data size relative to GPU and node memory.
In detail
- Fits one GPU: cuDF.
- Outgrows a node: distributed.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Splitting the file into 100 parts by handWrong
Manual splits are error-prone.
B. A Spark cluster of ten nodes, because any dataset over 1 GB counts as big dataWrongMost tempting
A cluster adds overhead for 6 GB.
Why it tempts: Big data sounds like it starts at a gigabyte.
C. cuDF on the single GPURight
Pick the simplest engine the data fits.
D. Pure Python listsWrong
Lists are slow and memory-hungry.
Use case
An illustrative scenario, not a real incident.
Illustrative: the 6 GB file loads to about 10 GB of GPU memory and queries run in seconds.
See it in different ways
flowchart TD
Q{"Where does the data fit?"}
Q -->|"CPU memory, small"| A0["pandas"]
Q -->|"One GPU"| A1["cuDF"]
Q -->|"Several GPUs or nodes"| A2["Dask-cuDF"]
Q -->|"Large cluster"| A3["Spark with RAPIDS Accelerator"]How to read this chart
- At "Where does the data fit?": if "CPU memory, small", go to "pandas"; if "One GPU", go to "cuDF"; if "Several GPUs or nodes", go to "Dask-cuDF"; if "Large cluster", go to "Spark with RAPIDS Accelerator".
mindmap
root(("When is data big?"))
n1["Small"]
n2["Fits CPU memory easily"]
n3["Medium"]
n4["Fits one GPU"]
n5["Big"]
n6["Exceeds one node"]How to read this chart
- The centre is "When is data big?".
- "Small" covers "Fits CPU memory easily".
- "Medium" covers "Fits one GPU".
- "Big" covers "Exceeds one node".