Which pairing of dataset size and library is the best default?
- Exam domain
- Data Manipulation and Software Literacy19% of the exam
- Difficulty
- Easy
- In this mock
- 10 questions on this domainPractise this domain
Why the exam asks this
Data Manipulation and Software Literacy (19% of the exam)
Objective in the exam guide: Determining the optimal data processing library to use for varying dataset sizes
Library choice by size appears in two domains.
Why B is the answer
20 GB that fits on one GPU with cuDF
Data that fits on one GPU runs fastest with cuDF. Tiny data does not need a cluster, and huge data does not suit a laptop.
Remember: Fits one GPU: cuDF.
How it works
The optimal library depends on dataset size versus available memory.
In detail
- Size and hardware decide the library.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. 1 GB with a distributed graph databaseWrong
A graph database is for graph data.
B. 20 GB that fits on one GPU with cuDFRight
Fits one GPU: cuDF.
C. 10 TB on one laptop with pandas, using chunked reads over several days of processingWrong
10 TB on a laptop is impractical.
D. 50 MB with a multi-node Spark clusterWrongMost tempting
A cluster is overkill for 50 MB.
Why it tempts: Clusters feel scalable for anything.
Use case
An illustrative scenario, not a real incident.
Illustrative: a 20 GB dataset loads into cuDF on a 48 GB GPU with room to spare.
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".
flowchart LR S0["Measure data size"] --> S1["Check device memory"] --> S2["Pick engine"] --> S3["Benchmark"]
How to read this chart
- Read it in order: Measure data size, then Check device memory, then Pick engine, then Benchmark.