Your ETL job no longer fits in one GPU's memory. You have a node with four GPUs. Which approach scales it with the least rework?
- Exam domain
- Data Manipulation and Preparation23% of the exam
- Difficulty
- Medium
- In this mock
- 11 questions on this domainPractise this domain
Why the exam asks this
Data Manipulation and Preparation (23% of the exam)
Objective in the exam guide: GPU-accelerated ETL workflows with RAPIDS, Dask, or Spark
GPU ETL with RAPIDS, Dask or Spark is named.
Why C is the answer
Use Dask-cuDF with a Dask-CUDA cluster
Dask-cuDF partitions a DataFrame across GPUs, and Dask-CUDA starts one worker per GPU, so the same cuDF-style code scales out.
Remember: Dask-cuDF scales cuDF across GPUs.
How it works
GPU ETL uses cuDF on one GPU, Dask-cuDF across GPUs, or Spark with the RAPIDS Accelerator on clusters.
In detail
- Dask-cuDF partitions across GPUs.
- Dask-CUDA runs a worker per GPU.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Downsample the data until it fits on one GPU and accept the lost rowsWrongMost tempting
Downsampling loses data.
Why it tempts: Downsampling is a quick fix.
B. Switch the whole job back to single-threaded pandasWrong
Single-threaded pandas is slower.
C. Use Dask-cuDF with a Dask-CUDA clusterRight
Dask-cuDF scales cuDF across GPUs.
D. Split the file by hand and run four notebooksWrong
Manual splitting is error-prone.
Use case
An illustrative scenario, not a real incident.
Illustrative: a 120 GB job runs across four GPUs with Dask-cuDF in under ten minutes.
See it in different ways
sequenceDiagram participant P0 as Client participant P1 as Dask scheduler participant P2 as GPU workers P0->>P1: task graph P1->>P2: partitions P2-->>P1: partial results P1-->>P0: combined result
How to read this chart
- 1. Client sends "task graph" to Dask scheduler.
- 2. Dask scheduler sends "partitions" to GPU workers.
- 3. Dask scheduler gets a reply from GPU workers: "partial results".
- 4. Client gets a reply from Dask scheduler: "combined result".
flowchart TD
Q{"Data size?"}
Q -->|"Fits one GPU"| A0["cuDF"]
Q -->|"Several GPUs, one node"| A1["Dask-cuDF"]
Q -->|"Spark cluster"| A2["Spark with RAPIDS Accelerator"]How to read this chart
- At "Data size?": if "Fits one GPU", go to "cuDF"; if "Several GPUs, one node", go to "Dask-cuDF"; if "Spark cluster", go to "Spark with RAPIDS Accelerator".