Skip to content

NCP-ADS Practice Exam 7: Performance engineering: profiling and benchmarking GPU pipelines

NVIDIA-Certified Professional: Accelerated Data Science. 65 questions. Real exam: 65 single-answer items each in 120 minutes, inside the exam page's 60–70 questions. NVIDIA does not publish a passing score; aim for 46+ / 65 (about 71%).

Independent practice questions by Core Concept Learning, written from the public exam guide; not official NVIDIA content.

Study mode: check any answer as you go. Or practise under exam conditions: 120 minutes, answers hidden until you submit.

x
0/65
  1. Question 1

    Domain 1: Data Analysis · Task 1.1

    The team builds an alert on nightly ETL runtimes. It trains a detector on January to June, then picks the alert threshold that best matches the incident log for September, the month used to report results. What is wrong?

  2. Question 2

    Domain 1: Data Analysis · Task 1.1

    An autoencoder flags abnormal GPU telemetry from many sensors by reconstruction error. It was trained on six months of data that included two long cooling failures, and it now misses similar failures. Why?

  3. Question 3

    Domain 1: Data Analysis · Task 1.2

    The ACF of daily cluster GPU-hours decays very slowly over dozens of lags, with no clear seasonal spikes. The team wants to fit an ARIMA-style forecaster. What should it do first?

  4. Question 4

    Domain 1: Data Analysis · Task 1.2

    A series of hourly ETL throughput contains occasional spikes from failed and retried runs. An STL decomposition lets those spikes bend the trend and seasonal components. What should the analyst use?

  5. Question 5

    Domain 1: Data Analysis · Task 1.3

    To find tightly interconnected groups in a service-call graph, the team wants a per-vertex clustering signal: how many closed triangles each service sits in. Which cuGraph call fits?

  6. Question 6

    Domain 1: Data Analysis · Task 1.4

    A multi-node Dask-cuDF join shows long serialization phases between nodes in the profile, while GPUs sit idle. The cluster was started with default settings. Which signal of the wrong setup does this match, and what fixes it?

  7. Question 7

    Domain 1: Data Analysis · Task 1.5

    For a scatter plot of step time against batch size across 2 billion profiling records, the team needs a sample, and a rare GPU model makes up 0.05% of the records. How should the sample be drawn?

  8. Question 8

    Domain 1: Data Analysis · Task 1.6

    An engineer renders a 1-billion-point series of per-step timings with Datashader's line glyph from a cuDF frame, using the timestamp column as x, and the call fails. What does the guidance suggest?

  9. Question 9

    Domain 1: Data Analysis · Task 1.6

    A chart of mean per-second GPU utilization, resampled to hourly, looks flat, yet engineers know of short drops to zero. Which change shows them while still aggregating on the GPU?

  10. Question 10

    Domain 2: Data Manipulation and Software Literacy · Task 2.1

    A daily ETL reads 3 TB of Parquet and needs 30% of the columns; no row filter applies. Object storage delivers about 12 GB/s in aggregate, and the GPU transform takes 40 s. Where is the bottleneck?

  11. Question 11

    Domain 2: Data Manipulation and Software Literacy · Task 2.2

    A GPU Spark job needs a large shuffle that cannot be avoided by broadcasting or pre-partitioning, and the profile shows shuffle transport as the slowest stage. Which plugin feature targets this?

  12. Question 12

    Domain 2: Data Manipulation and Software Literacy · Task 2.3

    Profiling a GPU Spark job shows host-to-device copies taking a large share of each task, and spark.rapids.memory.pinnedPool.size has never been set. What should the team try?

  13. Question 13

    Domain 2: Data Manipulation and Software Literacy · Task 2.4

    An engineer sets params['device'] = 'cuda:1' in a Dask XGBoost training script on a LocalCUDACluster so that 'each worker uses its own GPU'. What is the correct setting?

  14. Question 14

    Domain 2: Data Manipulation and Software Literacy · Task 2.4

    A Dask-cuDF job joins and filters 2 TB of logs, then calls .compute() on the joined result to inspect it, and the client process runs out of memory. What should the engineer do?

  15. Question 15

    Domain 2: Data Manipulation and Software Literacy · Task 2.5

    An Nsight Systems timeline of a PyTorch model shows thousands of kernels, but the team cannot tell which autograd op or layer launched each one. Which nsys option adds that mapping automatically?

  16. Question 16

    Domain 2: Data Manipulation and Software Literacy · Task 2.5

    An engineer adds --cuda-memory-usage true to an nsys run of a training job. The profiled steps are much slower than steps in production, and the team starts optimizing the wrong things. What does the Nsight Systems guide warn about?

  17. Question 17

    Domain 2: Data Manipulation and Software Literacy · Task 2.6

    Engineers develop on Windows laptops with WSL2 and a 16 GB GPU, using cudf.pandas on a 24 GB dataset, expecting managed memory to absorb the overflow. Jobs fail with out-of-memory errors. Why?

  18. Question 18

    Domain 2: Data Manipulation and Software Literacy · Task 2.7

    A neural-network feature has training values 2, 4, 6, 8 and 202, where 202 is a genuine measurement. With min-max scaling, where does the value 8 land?

  19. Question 19

    Domain 2: Data Manipulation and Software Literacy · Task 2.8

    An engineer calls rmm.statistics.enable_statistics(), then sets a new PoolMemoryResource as the current device resource, and the statistics stop counting. What does the RMM guidance say?

  20. Question 20

    Domain 2: Data Manipulation and Software Literacy · Task 2.9

    A Dask job trains with dxgb.train and then calls .compute() on 2 billion feature rows to predict with booster.predict on the client. The client runs out of memory. Which call keeps scoring distributed?

  21. Question 21

    Domain 2: Data Manipulation and Software Literacy · Task 2.9

    The team exports a trained XGBoost booster to UBJSON for Triton's FIL backend, while nightly batch scoring loads a different pickle saved months ago. Results differ between the two paths. What should the team standardize on?

  22. Question 22

    Domain 3: Data Preparation · Task 3.1

    A pandas cleaning notebook runs under cudf.pandas. %%cudf.pandas.profile shows which calls ran on GPU or CPU, but the team needs to know how much time each line of the cell takes. Which tool fits?

  23. Question 23

    Domain 3: Data Preparation · Task 3.2

    A team applies QuantileTransformer to transaction amounts before a KNN model, then is surprised that distances no longer reflect dollar differences. What explains this?

  24. Question 24

    Domain 3: Data Preparation · Task 3.3

    A feature has values 2, 4, 4, 4, 5, 5, 7 and 9. An engineer's hand-rolled cuDF code computes (s − s.mean()) / s.std() and compares with cuML's StandardScaler. What are the two z-scores for the value 9?

  25. Question 25

    Domain 3: Data Preparation · Task 3.4

    Features built in cuDF are passed to a PyTorch model by calling to_pandas(), then torch.tensor(...).cuda(). Profiling shows two large copies per batch. How can the data reach PyTorch without leaving the GPU?

  26. Question 26

    Domain 3: Data Preparation · Task 3.5

    An nsys trace of a five-stage cuDF pipeline has NVTX ranges for each stage. The team wants a table of total time per stage across the run, rather than reading the timeline by eye. What should it run?

  27. Question 27

    Domain 3: Data Preparation · Task 3.5

    An Nsight Systems timeline of a cuDF scoring loop shows short bursts of kernels separated by idle gaps, each gap holding a cudaMemcpy of a 10,000-row batch from host memory. What is the likely fix?

  28. Question 28

    Domain 3: Data Preparation · Task 3.5

    Peak memory is too high in a cuDF feature job, and the team wants to know which function is responsible, without changing the allocator. Which RMM feature attributes memory to code blocks?

  29. Question 29

    Domain 3: Data Preparation · Task 3.6

    A table's row groups are about 128 MB, and point lookups on a sorted key still decode whole row groups. The team wants finer skipping within each row group. Which writer setting helps?

  30. Question 30

    Domain 3: Data Preparation · Task 3.6

    Feature tables live on fast local NVMe next to the GPUs, and profiling shows reads limited by decompression time rather than by bytes from disk. Which compression choice fits this case?

  31. Question 31

    Domain 3: Data Preparation · Task 3.7

    An engineer calls cudf.datasets.timeseries(start='2026-01-01', end='2026-01-02', freq='1s') for a quick test. How many rows come back, and where is the frame built?

  32. Question 32

    Domain 3: Data Preparation · Task 3.7

    To benchmark GPU linear models against a CPU baseline, the team needs 50 million rows with a known linear signal and noise, generated quickly on the GPU. Which generator fits?

  33. Question 33

    Domain 4: GPU and Cloud Computing · Task 4.1

    A NetworkX analysis script calls 30 different algorithms on the same graph with backend='cugraph', and profiling shows most time spent converting the graph, not computing. What should change?

  34. Question 34

    Domain 4: GPU and Cloud Computing · Task 4.2

    torch.profiler's key_averages table for a training loop, sorted by self CUDA time, lists aten::copy_ and Memcpy HtoD at the top. What does this point to first?

  35. Question 35

    Domain 4: GPU and Cloud Computing · Task 4.2

    An old profiling script uses torch.autograd.profiler.profile() to time a training loop, and a new engineer wonders whether to keep it. What does the guidance say?

  36. Question 36

    Domain 4: GPU and Cloud Computing · Task 4.2

    A pipeline alternates cuDF steps with CPU-only library calls on each batch, so data moves to the host and back several times per batch. GPU speedup end to end is small. What does the guidance say about this pattern?

  37. Question 37

    Domain 4: GPU and Cloud Computing · Task 4.3

    Planning GPU budget for a new project, a manager asks which CRISP-DM phase usually takes the largest share of effort, and so where cuDF and Dask-cuDF matter most. What is the answer?

  38. Question 38

    Domain 4: GPU and Cloud Computing · Task 4.4

    docker run --gpus all rapidsai/base:26.10-cuda13-py3.13 fails on a new benchmark host with an error that no device driver could be selected, although nvidia-smi works on the host. What is missing?

  39. Question 39

    Domain 4: GPU and Cloud Computing · Task 4.4

    A benchmark environment.yml mixes many pip packages before the conda dependencies, and solves keep pulling different CUDA libraries. What does the conda guidance recommend?

  40. Question 40

    Domain 4: GPU and Cloud Computing · Task 4.5

    A profiling table has 1 billion rows with a pass/fail flag stored as bool in cuDF. An engineer budgets 125 MB for the column, at one bit per value. What is the actual size?

  41. Question 41

    Domain 4: GPU and Cloud Computing · Task 4.6

    A team's benchmark summary says only 'the GPU version is faster'. A reviewer sends it back. What should the benchmark define first?

  42. Question 42

    Domain 4: GPU and Cloud Computing · Task 4.6

    A benchmark suite runs the CPU version of each query first and the GPU version second, reading the same Parquet files from disk each time. The GPU looks especially good on read-heavy queries. What is the likely bias?

  43. Question 43

    Domain 4: GPU and Cloud Computing · Task 4.6

    The team wants GPU ETL benchmarks that run on every pull request with repeatable statistics and history. Which tooling does the guidance name?

  44. Question 44

    Domain 5: Machine Learning · Task 5.1

    A training table has 100 million rows. A colleague insists on 10-fold cross-validation for every experiment, which takes hours per run. What does the splitting guidance suggest?

  45. Question 45

    Domain 5: Machine Learning · Task 5.2

    A network trains with autocast in float16. One raw input feature is a byte count with values in the millions, and losses turn into inf. What does the scaling guidance point to?

  46. Question 46

    Domain 5: Machine Learning · Task 5.3

    An XGBoost GPU run on 200 features uses max_bin=256. To save memory, an engineer drops max_bin to 64 and expects ELLPACK to shrink to a quarter. What does the guidance say?

  47. Question 47

    Domain 5: Machine Learning · Task 5.4

    An XGBoost model meets accuracy targets but is slow to score on the GPU through a generic path. Which lever improves inference speed with no change in accuracy?

  48. Question 48

    Domain 5: Machine Learning · Task 5.5

    The team runs one Optuna study across the 8 GPUs of a node. Which setup matches the RAPIDS deployment example?

  49. Question 49

    Domain 5: Machine Learning · Task 5.6

    A training job reaches 40% GPU utilization on one GPU, limited by its input pipeline. The owner wants to move it to 8 GPUs with DDP to make it faster. What should happen first?

  50. Question 50

    Domain 5: Machine Learning · Task 5.7

    An FP32 training job on A100 GPUs is matmul-heavy. The team wants faster matrix math without changing dtypes in the code or adding a GradScaler. Which setting fits?

  51. Question 51

    Domain 5: Machine Learning · Task 5.8

    After enabling BF16 autocast, the team wants to confirm from a torch.profiler trace that GEMMs now run on Tensor Cores. What should it look for?

  52. Question 52

    Domain 5: Machine Learning · Task 5.8

    Nsight Systems shows one custom kernel taking 40% of each step. The team needs to know whether it is memory-bound or compute-bound and why it stalls. Which tool and usage fit?

  53. Question 53

    Domain 5: Machine Learning · Task 5.9

    A candidate feature adds 0.002 AUC offline but needs a 30-day window lookup for every request, adding 4 ms to a 5 ms p99 budget already at 3 ms. What should the team decide?

  54. Question 54

    Domain 6: MLOps · Task 6.1

    To serve a PyTorch LLM, the team applies weight-only INT4 quantization. Memory and bandwidth drop as expected, but the matrix math is not faster. What does the quantization guidance say?

  55. Question 55

    Domain 6: MLOps · Task 6.2

    One 1-million-row Parquet file read into cuDF reports memory_usage(deep=True) of: Index 0, customer_id 4,000,000, amount 4,000,000, state 1,300,000 and ts 8,000,000 bytes. About how much would 250 million similar rows take?

  56. Question 56

    Domain 6: MLOps · Task 6.2

    Before reading an 80-column Parquet table, the team wants to know which columns dominate its size, without loading data. Which approach gives per-column sizes from metadata?

  57. Question 57

    Domain 6: MLOps · Task 6.3

    A training job reuses a managed-memory array of features slightly larger than GPU memory in every epoch, and page faults dominate the profile. Which Unified Memory technique helps for reused data?

  58. Question 58

    Domain 6: MLOps · Task 6.3

    The same oversubscribed cuDF job runs much better on a Grace Hopper system than on an x86 server with PCIe Gen4. What explains the difference, per the oversubscription reading?

  59. Question 59

    Domain 6: MLOps · Task 6.3

    A PyTorch LLM has 40 layers, 8 KV heads and a head dimension of 128, with a BF16 KV cache. How much KV-cache memory does one token need?

  60. Question 60

    Domain 6: MLOps · Task 6.4

    Perf Analyzer on a CNN served with Triton's PyTorch backend shows compute time dominating latency while the GPU is saturated, and queue time is small. Which optimization fits?

  61. Question 61

    Domain 6: MLOps · Task 6.4

    A team enables GPUDirect Storage with KVIKIO_COMPAT_MODE=AUTO on a local NVMe volume, but read throughput doesn't change. What should it check?

  62. Question 62

    Domain 6: MLOps · Task 6.4

    An LLM summarizer served with static batching shows GPUs idle while short requests in a batch wait for the longest one to finish. Which inference technique addresses this?

  63. Question 63

    Domain 6: MLOps · Task 6.4

    A nightly benchmark in CI shows a 12% slowdown after a dependency silently moved to a new version through an unpinned base image. What practice makes the benchmark measure only code changes?

  64. Question 64

    Domain 6: MLOps · Task 6.5

    Several Triton instances behind a load balancer serve an embedding model with many repeated requests. Each instance keeps its own local cache, which empties on every restart. Which cache option addresses both issues?

  65. Question 65

    Domain 6: MLOps · Task 6.5

    Forty small tree models, each a few MB with modest traffic, each have a dedicated GPU, and most GPUs sit nearly idle. Two of the models need isolation from noisy neighbours. How should they be placed?

65 questions unanswered; they count as wrong.