After installing RAPIDS, importing cuDF fails with a CUDA error. What do you check first?
- Exam domain
- Software and Environment Management6% of the exam
- Difficulty
- Medium
- In this mock
- 3 questions on this domainPractise this domain
Why the exam asks this
Software and Environment Management (6% of the exam)
Objective in the exam guide: Performing GPU environment check (driver/CUDA/RAPIDS compatibility, nvidia-smi, device visibility) and resolving a dependency conflict
GPU environment checks are named.
Why D is the answer
Run nvidia-smi to see driver and CUDA versions, then match RAPIDS
nvidia-smi shows whether the GPU is visible and which driver and CUDA version it supports. The RAPIDS build must match.
Remember: Check nvidia-smi and match CUDA versions.
How it works
GPU environment checks cover driver, CUDA and RAPIDS compatibility, nvidia-smi and device visibility.
In detail
- Check GPU visibility with nvidia-smi.
- Match RAPIDS to the CUDA version.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Switch to a CPU-only laptopWrong
Giving up the GPU avoids the fix.
B. Reinstall the operating system, since driver problems cannot be fixed any other wayWrongMost tempting
Reinstalling the OS is drastic.
Why it tempts: A clean start feels thorough.
C. Delete the datasetWrong
Data is unrelated.
D. Run nvidia-smi to see driver and CUDA versions, then match RAPIDSRight
Check nvidia-smi and match CUDA versions.
Use case
An illustrative scenario, not a real incident.
Illustrative: the driver supports CUDA 12 but the package was built for CUDA 11; reinstalling the CUDA 12 build fixes it.
See it in different ways
flowchart LR S0["Run nvidia-smi"] --> S1["Note driver and CUDA"] --> S2["Check RAPIDS requirements"] --> S3["Install matching build"] --> S4["Re-test import"]
How to read this chart
- Read it in order: Run nvidia-smi, then Note driver and CUDA, then Check RAPIDS requirements, then Install matching build, then Re-test import.
flowchart TD
Q{"GPU visible in nvidia-smi?"}
Q -->|"No"| A0["Fix driver or device visibility"]
Q -->|"Yes"| A1["Fix CUDA or RAPIDS version mismatch"]How to read this chart
- At "GPU visible in nvidia-smi?": if "No", go to "Fix driver or device visibility"; if "Yes", go to "Fix CUDA or RAPIDS version mismatch".