NCP-ADS Practice Exam 3: Social network graph analytics: cuGraph, nx-cugraph, memory sizing
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.
Question 1
Domain 1: Data Analysis · Task 1.1A trust-and-safety team runs cuML IsolationForest(contamination=0.05) on daily account-activity features. Exactly 5% of accounts are flagged every day, on quiet days and on days with a known spam wave alike. What explains this, and what is better?
Question 2
Domain 1: Data Analysis · Task 1.1A vendor's spam-campaign detector reports an F1 of 0.95 using point-adjust scoring, where a whole campaign counts as detected if any one of its points is flagged. Why should the team be cautious?
Question 3
Domain 1: Data Analysis · Task 1.2Daily active users on a growing platform show weekly swings that get larger as the user base grows. The team wants an additive trend + seasonality + remainder decomposition. What should it do first?
Question 4
Domain 1: Data Analysis · Task 1.3A friendship graph has 200 million users and 3 billion undirected friendships, each listed once, with int32 vertex IDs and no weights. Roughly how large is cuGraph's CSR structure?
Question 5
Domain 1: Data Analysis · Task 1.3A fake-account classifier uses profile features only. The team has a follow graph in cuGraph and wants to use it in the model. Which approach is MOST likely to help?
Question 6
Domain 1: Data Analysis · Task 1.4A reactions table has 800 million rows: int64 user_id and post_id (both under 2 billion), a datetime64 timestamp, and a reaction string of about 6 characters with 8 distinct values. Group-bys need 2–3× the input. The team has one 80 GB GPU. What should it do?
Question 7
Domain 1: Data Analysis · Task 1.4A Dask-cuDF job over 2 TB of interaction logs runs slowly. The dashboard shows about 40,000 partitions of roughly 50 MB, a busy scheduler, and GPUs mostly idle. What is the likely problem?
Question 8
Domain 1: Data Analysis · Task 1.5During EDA, Pearson correlation between follower count and posts per week is near 0.1, but a binned plot shows engagement rising steadily with followers and flattening at the top. What should the analyst report?
Question 9
Domain 1: Data Analysis · Task 1.6An analyst plots the daily activity of 50 communities as 50 lines on one chart, and nobody can read it. Which visualization fits BEST?
Question 10
Domain 2: Data Manipulation and Software Literacy · Task 2.1An upstream team changed user_id in its export from an integer to a string. The graph ETL kept running, but a join produced millions of null community IDs before anyone noticed. Which ETL principle would have caught this?
Question 11
Domain 2: Data Manipulation and Software Literacy · Task 2.2A Dask-cuDF feature job runs five joins and group-bys, all keyed on user_id, over the same 1 TB interaction table, and each one shuffles the table again. Which technique cuts the shuffles MOST?
Question 12
Domain 2: Data Manipulation and Software Literacy · Task 2.3A team moving from the Spark plugin to Dask-cuDF assumes that unsupported operations will fall back to the CPU automatically, as they did in Spark. What actually happens in Dask-cuDF?
Question 13
Domain 2: Data Manipulation and Software Literacy · Task 2.4After a RAPIDS upgrade, a multi-node Dask-CUDA cluster started with protocol='ucx' fails at start-up with an import error, while TCP works. What is the MOST likely fix?
Question 14
Domain 2: Data Manipulation and Software Literacy · Task 2.4The group moves its Dask-cuDF graph-feature jobs from one 8-GPU server to four 8-GPU nodes. A scheduler is running on a head node and writes /shared/sched.json. How should the GPU nodes join the cluster?
Question 15
Domain 2: Data Manipulation and Software Literacy · Task 2.5A PyTorch profile of a graph neural network shows GEMM kernels taking most of the step, but GPU metrics show little Tensor Core activity. Hidden sizes are 300 and 1,000, and training runs in FP32. What should the team change?
Question 16
Domain 2: Data Manipulation and Software Literacy · Task 2.6A research group has a NetworkX script that runs PageRank and Louvain on a 60-million-edge follow graph, and a 48 GB GPU is available. It wants GPU speed with the least change to its code. What should it do?
Question 17
Domain 2: Data Manipulation and Software Literacy · Task 2.6A team clusters 5 million user embeddings with a scikit-learn script that runs UMAP and HDBSCAN on the CPU, and the script takes hours. It wants GPU speed without changing the code. What should it do?
Question 18
Domain 2: Data Manipulation and Software Literacy · Task 2.7A team standardizes engagement within each community: z = (x − community mean) / community std. Communities with three members produce extreme z-scores that swamp the model. What is the problem?
Question 19
Domain 2: Data Manipulation and Software Literacy · Task 2.8An engineer adds rmm.reinitialize(pool_allocator=True, initial_pool_size=2**36) in the middle of a notebook, after several large cuDF frames were already loaded. What does the RMM guidance say?
Question 20
Domain 2: Data Manipulation and Software Literacy · Task 2.8A notebook mixes cuDF with heavy CuPy matrix work on the same GPU. cuDF uses an RMM pool, but CuPy allocations fragment the remaining memory, and the job hits OOM errors. Which change fits BEST?
Question 21
Domain 2: Data Manipulation and Software Literacy · Task 2.9A nightly Dask job scores 5 billion user rows with a 2 GB model inside ddf.map_partitions(score, model). The model is serialized again for every one of 4,000 tasks. What is the BEST fix?
Question 22
Domain 3: Data Preparation · Task 3.1Profile events arrive as JSON lines, each with a nested list of interests and a struct holding location fields. The current script flattens them with Python loops after reading on the CPU. Which GPU approach fits BEST?
Question 23
Domain 3: Data Preparation · Task 3.1A signup_date column mixes '2026-03-14' and '14/03/2026' formats. A cuDF cleaning step calls cudf.to_datetime(s) without a format and results don't match the pandas reference. Which approach is BETTER?
Question 24
Domain 3: Data Preparation · Task 3.2A team fits KBinsDiscretizer on the full follower-count column, including the test rows, before splitting the data for a churn model. What is wrong?
Question 25
Domain 3: Data Preparation · Task 3.3A recommender compares users by cosine similarity of their interest vectors, which differ greatly in total activity. Which transform makes each vector comparable for this purpose?
Question 26
Domain 3: Data Preparation · Task 3.3Daily Parquet exports store user_id as int32 in some files and as string in others. Multi-file reads fail, and an engineer proposes allow_mismatched_pq_schemas=True as the fix. What is the BEST response?
Question 27
Domain 3: Data Preparation · Task 3.4The group wants to train a small language model on public posts and needs GPU-accelerated deduplication, quality filtering and PII redaction across a multi-terabyte text corpus. Which NVIDIA tool fits?
Question 28
Domain 3: Data Preparation · Task 3.5An engineer wants a lightweight record of GPU utilization and memory over the full hour of a graph ETL job on one server, without instrumenting the code. Which tool fits?
Question 29
Domain 3: Data Preparation · Task 3.5A graph pipeline spends 80% of its time in stages that move to the GPU at 16× speed; the other 20% stays as it is. By Amdahl's law, what is the end-to-end speedup?
Question 30
Domain 3: Data Preparation · Task 3.6The analytics lake keeps raw follow-event dumps, a cleaned table and a feature table. The team must decide where to deduplicate events and fix their types. Where does this work belong?
Question 31
Domain 3: Data Preparation · Task 3.7A team wants to benchmark GPU HDBSCAN on 50 million points with known cluster labels, so that it can check both speed and cluster recovery. Which data source fits BEST?
Question 32
Domain 3: Data Preparation · Task 3.7A team oversamples a 2% minority class of abusive accounts with imbalanced-learn's SMOTE and wants the neighbour search on the GPU, with SMOTE's usual k = 5. Which setup matches the cuML resampling guidance?
Question 33
Domain 4: GPU and Cloud Computing · Task 4.1Louvain on the friendship graph returns some communities that, on inspection, are internally disconnected. The team wants communities that are guaranteed to be well connected. What should it use?
Question 34
Domain 4: GPU and Cloud Computing · Task 4.1Louvain on a follow graph produces a few giant communities, but analysts want smaller, more specific interest groups. Which parameter change fits?
Question 35
Domain 4: GPU and Cloud Computing · Task 4.2A 2-billion-edge graph fits comfortably on one 80 GB GPU. The team moves PageRank to the multi-GPU API on eight GPUs across two nodes and finds it slower. What is the BEST explanation?
Question 36
Domain 4: GPU and Cloud Computing · Task 4.2A cloud graph job streams its 3 TB edge list from an archive storage class during the run, and the expensive GPU nodes wait on reads for most of the job. Which data-tiering practice fits?
Question 37
Domain 4: GPU and Cloud Computing · Task 4.3A team receives a new export of 4 billion follow events. It describes the fields, explores distributions and writes a report on null rates, duplicates and value ranges before any modeling. Which CRISP-DM phase is this?
Question 38
Domain 4: GPU and Cloud Computing · Task 4.4A CI build host without a GPU must solve and build a conda environment for RAPIDS with CUDA 13, but the solver refuses the CUDA 13 packages. What should the CI job set?
Question 39
Domain 4: GPU and Cloud Computing · Task 4.4An environment has cuDF from the newest RAPIDS release and cuGraph from an older release, and import cugraph fails with symbol errors. What is the fix?
Question 40
Domain 4: GPU and Cloud Computing · Task 4.5User IDs in the edge list are 64-bit hashes with values up to 9 × 10¹⁸, but there are only 300 million distinct users. An engineer wants int32 vertex IDs to save memory. What is the correct approach?
Question 41
Domain 4: GPU and Cloud Computing · Task 4.5A user table holds a bio column of free text, nearly unique per user, and a country column with 190 distinct values. Which dtypes fit BEST in cuDF?
Question 42
Domain 4: GPU and Cloud Computing · Task 4.6A team times cuGraph PageRank on a 1-billion-edge graph. The first run takes 9 s and the next six take about 1.2 s each. Which result should the benchmark report?
Question 43
Domain 4: GPU and Cloud Computing · Task 4.6A benchmark shows cuGraph PageRank far faster than NetworkX on the same graph, but the cuGraph run used tol=1e-3 and NetworkX used tol=1e-6. What should the team do before publishing?
Question 44
Domain 5: Machine Learning · Task 5.1A Dask-cuDF frame of 4 billion interactions must be split into 5 cross-validation folds by user, reproducibly on every run and on every worker, without a shuffle. Which approach fits?
Question 45
Domain 5: Machine Learning · Task 5.2A team skips standardizing the inputs of a neural network for engagement prediction because the network has BatchNorm layers. Raw inputs range from 0–1 to tens of millions. What is the BEST advice?
Question 46
Domain 5: Machine Learning · Task 5.3cuML UMAP on 80 million user embeddings runs out of GPU memory while building the nearest-neighbour graph. Which change does the cuML documentation suggest?
Question 47
Domain 5: Machine Learning · Task 5.4To find a fast, accurate XGBoost model, a team grid-searches n_estimators over 100, 300, 1,000 and 3,000 for every other setting. Which change makes experiments faster with no loss?
Question 48
Domain 5: Machine Learning · Task 5.5An Optuna search samples learning_rate uniformly between 0.001 and 0.3. Almost no trials try values below 0.03, where the best models usually are. What should the team change?
Question 49
Domain 5: Machine Learning · Task 5.6A team wants tensor parallelism for a large embedding model, splitting each layer's matrices across two nodes connected by 100 Gb/s Ethernet. What is the problem with this plan?
Question 50
Domain 5: Machine Learning · Task 5.7A model trains with torch.amp.autocast('cuda', dtype=torch.float16) but no GradScaler, and many gradients come out as zero, stalling training. What is the fix?
Question 51
Domain 5: Machine Learning · Task 5.7A training run needs 48 GB of activations at batch 1,024 in FP32. Activation memory is linear in batch size, and BF16 autocast halves it. What do activations need in BF16 at batch 512?
Question 52
Domain 5: Machine Learning · Task 5.8A PyTorch memory snapshot shows a flat 40 GB block present from the first step, while a second region rises through each forward pass and falls during backward. What is the flat block, and what shrinks it?
Question 53
Domain 5: Machine Learning · Task 5.9A hashtag feature has 5 million distinct values. The team wants a cheap encoding for an XGBoost model that can't leak the target. Which encoding fits?
Question 54
Domain 6: MLOps · Task 6.1Several teams read the same 2-billion-row interaction table, and each casts its int64 IDs to int32 and float64 scores to float32 on load. Where should the dtype choice be fixed?
Question 55
Domain 6: MLOps · Task 6.1The team quantizes an embedding model's weights to INT4 to fit more replicas per GPU. What must happen before the quantized model replaces the BF16 one?
Question 56
Domain 6: MLOps · Task 6.2A cuDF feature build has 12 GB of resting input, and rmm.statistics reports a peak of 34 GB during its joins. How should capacity planning use these numbers?
Question 57
Domain 6: MLOps · Task 6.2To size a five-year posts table, an engineer reads the oldest Parquet file, measures it with memory_usage(deep=True) and multiplies by the file count. The first full run needs about twice the estimate, because recent posts carry much longer text. What should the estimate have done?
Question 58
Domain 6: MLOps · Task 6.3A cuGraph job loads a 45 GB cuDF edge list on an 80 GB GPU and builds a 30 GB graph from it, and PageRank then fails with an out-of-memory error. What is the cheapest fix?
Question 59
Domain 6: MLOps · Task 6.3A 40 GB GPU holds a 24 GB cuDF feature frame. QuantileDMatrix builds a 9 GB ELLPACK matrix from it, and XGBoost training then fails for lack of memory. Which change fits BEST?
Question 60
Domain 6: MLOps · Task 6.3A cuDF job fails to allocate 4 GB although cupy.cuda.runtime.memGetInfo() reports 6 GB free on the GPU, and no other process is using it. What is the MOST likely cause?
Question 61
Domain 6: MLOps · Task 6.4A Triton deployment must pick batch sizes, dynamic batching settings and instance counts for a GNN model to get the highest throughput under a 20 ms p99. Which tool automates this search?
Question 62
Domain 6: MLOps · Task 6.4Perf Analyzer on a ranking model shows throughput rising from concurrency 1 to 16 and staying flat beyond it, while p99 latency climbs steeply above 16. How should the team read this?
Question 63
Domain 6: MLOps · Task 6.5A feed-ranking service sends raw JSON to Triton, where a Python-backend step maps categories and casts to FP32 before a FIL model scores the rows. Today the client calls the two models separately over the network. What is BETTER?
Question 64
Domain 6: MLOps · Task 6.5On Kubernetes, new Triton pods start receiving traffic before their models finish loading, and the first requests fail. What should the deployment add?
Question 65
Domain 6: MLOps · Task 6.5An auditor asks the team to show, for any single prediction made last quarter, which model version, data version and code produced it. Which practice provides this?
65 questions unanswered; they count as wrong.