NVIDIA Generative AI LLMs Associate (NCA-GENL) Practice Exam
Practice questions for the NVIDIA-Certified Associate: Generative AI LLMs (NCA-GENL) exam, covering core machine learning and AI knowledge (retrieval-augmented generation, chunking, embeddings, vector search and reranking, prompt engineering, decoding settings, summarization and chatbots, transformers and tokenization, feature engineering, cross-validation and traditional ML with RAPIDS cuML); data analysis (regression and classification metrics, loss and perplexity, explained variance, visualization and embedding projection, cuDF); experimentation (mixed precision and training optimization, model parallelism, LoRA and QLoRA, RLHF and DPO, human preference data, dataset curation with NeMo Curator, tokenizers, benchmarks and LLM evaluation, hardware compatibility); software development (latency and throughput, KV cache, in-flight batching, quantization and speculative decoding with TensorRT-LLM, Dynamo-Triton, NIM microservices, RAG pipelines, cuVS, monitoring and reliability); and trustworthy AI (NeMo Guardrails, prompt injection, privacy and consent, bias mitigation, model cards and federated learning with NVIDIA FLARE). Every question includes a written explanation.
100 questions · 12 free preview
Studying more than one? every exam for $79
Free sample questions
- Sample · question 1 · Positional encoding in transformers
A student intern at Bramblecote Labs notices that self-attention by itself treats its input as an unordered set. What component lets a transformer use word order?
- A.A larger feed-forward layer inside each transformer block
- B.A dropout layer applied to the attention weights during training
- C.A softmax layer placed after the final output projection
- D.Position encodings, such as sinusoidal or rotary embeddingscorrect
Why: Attention compares tokens without regard to where they occur, so transformers inject position information, originally fixed sinusoidal encodings added to embeddings and now often learned or rotary position embeddings, so that order affects the computation. The output softmax turns logits into probabilities, feed-forward width adds capacity, and dropout is regularization; none of them encodes position.
Open this question on its own page → - Sample · question 2 · SentencePiece and raw-text tokenization
Cotterdale Translate is building one tokenizer for Japanese, Thai and English, and some of these languages do not separate words with spaces. Why is SentencePiece a common choice here?
- A.It trains on raw text and treats spaces as an ordinary symbol, with no word splittercorrect
- B.It requires a dictionary of whole words for each language before training can begin
- C.It produces one token per sentence, which removes the need for subword units
- D.It only supports languages written in the Latin alphabet with spaces between words
Why: SentencePiece trains subword models (BPE or unigram) on raw text and encodes spaces as a regular symbol, so it needs no pre-tokenization into words and the original text can be recovered exactly. That makes it well suited to multilingual models and languages without spaces. It does not need word dictionaries, is not limited to Latin scripts, and still produces subword tokens rather than whole sentences.
Open this question on its own page → - Sample · question 3 · Mean reciprocal rank for retrieval
For three test queries, the first relevant document returned by a search system at Dunsford Library appears at rank 1, rank 2 and rank 4. What is the mean reciprocal rank (MRR)?
- A.About 2.33
- B.About 0.58correct
- C.About 0.75
- D.About 0.43
Why: Reciprocal rank is 1 divided by the position of the first relevant result, giving 1, 0.5 and 0.25 here. Their mean is 1.75 divided by 3, about 0.58. The value 2.33 is the average rank itself, not its reciprocal. 0.43 is the reciprocal of that average rank, which is a different calculation, and 0.75 does not follow from these ranks.
Open this question on its own page → - Sample · question 4 · Box plots and the interquartile range
An analyst at Eastholme Grid wants to show the distribution of request latencies for five model versions side by side and highlight unusual values. Which chart fits best?
- A.A single pie chart showing each version's share of the total number of requests served
- B.A stacked area chart of cumulative request counts over time
- C.One box plot per version, showing median, interquartile range and outlier pointscorrect
- D.A table of mean latencies with no other statistics
Why: A box plot shows the median, the interquartile range as the box, and whiskers typically extending 1.5 times the IQR, with points beyond them drawn individually as potential outliers; placing one per version makes distributions easy to compare. Pie charts show shares of a whole, cumulative area charts show volume over time, and a table of means hides spread and outliers.
Open this question on its own page → - Sample · question 5 · Knowledge distillation into a smaller model
Fenmoor Devices needs a compact model for on-device use that keeps as much of a large model's behavior as possible. The team trains the small model to match the large model's output probability distributions. What is this technique?
- A.Beam search, with the small model choosing among the large model's beams
- B.Reinforcement learning from human feedback, with the large model acting as the human annotator
- C.Data parallelism, with the large model split across the device's cores
- D.Knowledge distillation, with the large model as teacher and the small model as studentcorrect
Why: Knowledge distillation trains a smaller student to imitate a larger teacher, often using the teacher's soft probability distributions, which carry more information than hard labels, to transfer behavior into a cheaper model. Data parallelism is a training scaling method, beam search is a decoding strategy, and RLHF relies on human preference data rather than matching a teacher's outputs.
Open this question on its own page → - Sample · question 6 · Random search versus grid search
Gatesgarth Labs can afford 30 training runs to tune five hyperparameters, of which probably only two matter much. Which search strategy usually explores the important hyperparameters more effectively?
- A.Exhaustive search, which evaluates every possible value of all five hyperparameters
- B.Manual search, which changes one hyperparameter at a time from a default
- C.Random search, which samples each run's values independently from the chosen rangescorrect
- D.Grid search, which tries every combination of a few fixed values per hyperparameter
Why: With a fixed budget, random search tries many distinct values of each hyperparameter, so the few that matter get sampled finely, whereas a grid repeats the same handful of values and spends most runs varying unimportant settings. One-at-a-time manual search misses interactions, and exhaustive search is infeasible within 30 runs.
Open this question on its own page → - Sample · question 7 · Vector index storage estimate
Hindmarsh Archive will store 10 million embeddings of 1,024 dimensions as 32-bit floats, before any index overhead. Roughly how much memory do the raw vectors need?
- A.About 164 GB
- B.About 41 GBcorrect
- C.About 10 GB
- D.About 4 GB
Why: Each 32-bit float is 4 bytes, so one vector is 1,024 times 4, or 4,096 bytes, and 10 million vectors need about 40.96 billion bytes, roughly 41 GB, plus index structures and metadata. About 10 GB would assume 1 byte per value, as with 8-bit quantization. About 4 GB is off by a factor of ten, and 164 GB would assume 16 bytes per value.
Open this question on its own page → - Sample · question 8 · Disaggregated prefill and decode serving
Ilkley Cloud serves an LLM whose requests have very long prompts and moderate outputs, and the compute-heavy prompt phase slows token generation for other users. NVIDIA Dynamo offers a serving pattern for this. What is it?
- A.Disaggregated serving, which runs prefill and decode on separate GPU workerscorrect
- B.Static batching, which waits for a full batch of requests before any prompt is processed
- C.Gradient checkpointing, which recomputes activations to save memory
- D.Federated serving, which sends each prompt to a different organization
Why: Prefill processes the whole prompt and is compute-bound, while decode generates tokens one at a time and is memory-bandwidth-bound. Disaggregated serving, supported by NVIDIA Dynamo, assigns them to separate workers that can be scaled and tuned independently, with the KV cache transferred between them. Static batching adds waiting, gradient checkpointing is a training memory technique, and federated serving is not a recognized pattern.
Open this question on its own page → - Sample · question 9 · Counterfactual data augmentation for bias
A sentiment model at Kirkbride Reviews gives lower scores to otherwise identical sentences when a female name replaces a male name. Which data technique directly targets this pattern?
- A.Doubling the size of the vocabulary so names get more tokens
- B.Counterfactual augmentation that adds training copies with names or gendered terms swappedcorrect
- C.Removing every sentence that contains a person's name from the evaluation set but not the training set
- D.Lowering the learning rate so the model learns names more slowly
Why: Counterfactual data augmentation creates paired examples that differ only in a sensitive attribute, such as swapped names or pronouns, with the same label, teaching the model that the attribute should not change the prediction; counterfactual test pairs can also measure the disparity. Editing only the evaluation set hides the problem, and learning rate or vocabulary changes do not address the biased association.
Open this question on its own page → - Sample · question 10 · Red teaming before release
Before launching a public assistant, Lyndhurst AI asks a dedicated group to deliberately try to make the model produce harmful, biased or confidential output. What is this practice called and why is it done?
- A.Red teaming, to find failure modes so they can be fixed before users encounter themcorrect
- B.Hyperparameter tuning, to find the learning rate that gives the lowest validation loss on held-out data
- C.Data labeling, to add category tags to the pretraining corpus
- D.Load testing, to measure how many requests per second the servers can handle
Why: Red teaming is adversarial testing in which people, sometimes helped by automated tools, actively probe a model for harmful content, jailbreaks, bias and data leaks, so developers can strengthen safeguards before release. Load testing measures capacity, hyperparameter tuning optimizes training, and data labeling annotates datasets; none of them probes for misuse.
Open this question on its own page → - Sample · question 11 · Parameter-efficient fine-tuning methods
Melbreak Software wants to adapt a large frozen LLM to a new domain by training only a small number of extra parameters. Which methods fit this description? (Select TWO.)
- A.Pretraining from scratch on the domain corpus
- B.Full fine-tuning, which updates every weight in the model
- C.Prompt tuning, which learns soft prompt embeddings prepended to the inputcorrect
- D.Greedy decoding, which picks the most probable next token
- E.Adapter tuning, which inserts small trainable modules between frozen layerscorrect
Why: Prompt tuning learns a few continuous prompt vectors while keeping the model frozen, and adapter tuning adds small bottleneck layers that are trained while the original weights stay fixed; both are parameter-efficient fine-tuning methods, like LoRA. Full fine-tuning updates all weights, pretraining from scratch trains a new model, and greedy decoding is an inference strategy, not a training method.
Open this question on its own page → - Sample · question 12 · Limiting generation length and stopping
A form-filling assistant at Nunthorpe Estates sometimes keeps writing after the requested field value and adds unrelated text. Which generation settings directly control where output ends? (Select TWO.)
- A.The temperature value
- B.A maximum new tokens limitcorrect
- C.The top-p value
- D.The random seed
- E.Stop sequences that end generation when they appearcorrect
Why: A maximum new tokens setting caps output length, and stop sequences end generation as soon as a chosen string, such as a newline or closing tag, is produced; together they control where output ends. Temperature and top-p shape which tokens are sampled but do not set a length or end point, and the seed only makes sampling reproducible.
Open this question on its own page →
Like the sample?
Other practice exams
- AnthropicClaude Certified Architect — Foundations100 questions · $19
- AnthropicClaude Certified Architect — Professional100 questions · $19
- CompTIACompTIA Security+ (SY0-701)100 questions · $19
- CompTIACompTIA Network+ (N10-009)100 questions · $19
- ISC2CISSP100 questions · $19
- DatabricksDatabricks Data Engineer Associate100 questions · $19
- DatabricksDatabricks Data Engineer Professional100 questions · $19
- DatabricksDatabricks Generative AI Engineer Associate100 questions · $19
- Google CloudGoogle Cloud Associate Cloud Engineer100 questions · $19
- Google CloudGoogle Cloud Professional Cloud Architect100 questions · $19
- Google CloudGoogle Cloud Professional Data Engineer100 questions · $19
- Google CloudGoogle Cloud Professional Machine Learning Engineer100 questions · $19
- HashiCorpTerraform Associate (004)100 questions · $19
- CNCFCertified Kubernetes Administrator (CKA)100 questions · $19
- CNCFCertified Kubernetes Application Developer (CKAD)100 questions · $19
- PalantirPalantir Data Engineer Associate100 questions · $19
- PalantirPalantir AI Engineer Associate100 questions · $19
- Microsoft Power BI & FabricPower BI Data Analyst (PL-300)100 questions · $19
- Microsoft Power BI & FabricFabric Analytics Engineer (DP-600)100 questions · $19
- Microsoft Power BI & FabricFabric Data Engineer (DP-700)100 questions · $19
- SnowflakeSnowPro Core (COF-C03)250 questions · $19
- SnowflakeSnowPro Advanced: Data Engineer100 questions · $19
- SnowflakeSnowPro Advanced: Architect100 questions · $19
- AWSAWS Cloud Practitioner (CLF-C02)100 questions · $19
- AWSAWS Solutions Architect Associate (SAA-C03)100 questions · $19
- AWSAWS AI Practitioner (AIF-C01)100 questions · $19
- AWSAWS Developer Associate (DVA-C03)100 questions · $19
- AWSAWS Solutions Architect Professional (SAP-C03)100 questions · $19
- AWSAWS Data Engineer Associate (DEA-C01)100 questions · $19
- AWSAWS Machine Learning Engineer Associate (MLA-C02)100 questions · $19
- AWSAWS Generative AI Developer Professional (AIP-C01)100 questions · $19
- Microsoft AzureAzure Fundamentals (AZ-900)100 questions · $19
- Microsoft AzureAzure Administrator (AZ-104)100 questions · $19
- Microsoft AzureAzure AI Fundamentals (AI-901)100 questions · $19
- Microsoft AzureAzure AI Cloud Developer (AI-200)100 questions · $19
- Microsoft AzureAzure Solutions Architect Expert (AZ-305)100 questions · $19