NCP-GENL Practice Exam 7: Public sector and legal
NVIDIA-Certified Professional: Generative AI LLMs. 65 questions. Real exam: 65 single-answer items in 120 minutes (the exam page gives 60–70 questions in two hours). 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: LLM Architecture · Task 1.2During autoregressive decoding, why is attention for each new token cheaper with a KV cache?
Question 2
Domain 1: LLM Architecture · Task 1.3A legal model must handle 200-page contracts, and its RoPE base frequency is raised during long-context training. What does this change?
Question 3
Domain 1: LLM Architecture · Task 1.6A team needs a model to translate statutes between languages with strong source-target alignment. Which architecture family was designed for sequence-to-sequence tasks?
Question 4
Domain 1: LLM Architecture · Task 1.4An MoE model has 16 experts and routes each token to 2. Compared with a dense model of equal total size, what is its main benefit?
Question 5
Domain 2: Prompt Engineering · Task 2.1A clause classifier labels contract clauses into 40 categories. Including one example of every category exceeds the context. What is a practical approach?
Question 6
Domain 2: Prompt Engineering · Task 2.2A legal-research assistant should critique its own draft memo for missing authorities and then revise it. Which technique is this?
Question 7
Domain 2: Prompt Engineering · Task 2.3A team uses min-p sampling. How does it decide which tokens to keep?
Question 8
Domain 2: Prompt Engineering · Task 2.4A records system needs dates in ISO 8601 and case numbers matching a regex. Which technique enforces both at generation time?
Question 9
Domain 2: Prompt Engineering · Task 2.5A citizen-services bot must answer from 5,000 policy pages in several languages, citing the page. Which design fits?
Question 10
Domain 2: Prompt Engineering · Task 2.6A legal assistant cites cases that don't exist. Which control BEST prevents fabricated citations reaching users?
Question 11
Domain 2: Prompt Engineering · Task 2.7A team chains a retrieval step, a summarization step and a citation-check step. Where should it measure quality?
Question 12
Domain 2: Prompt Engineering · Task 2.2A benefits-eligibility assistant must apply many rules in sequence. Which prompting approach makes its reasoning auditable?
Question 13
Domain 3: Data Preparation · Task 3.1Text extracted from a batch of scanned court PDFs is garbled, with columns and footnotes interleaved. Which pipeline step needs fixing?
Question 14
Domain 3: Data Preparation · Task 3.2A team must check whether evaluation questions about statutes appear in its fine-tuning data. Which method fits?
Question 15
Domain 3: Data Preparation · Task 3.3A team switches its fine-tuned model's tokenizer to one with a different vocabulary. What happens?
Question 16
Domain 3: Data Preparation · Task 3.4Annotators disagree on 30% of labels for a legal-intent SFT set. What should the team do before training?
Question 17
Domain 3: Data Preparation · Task 3.5A fine-tuning set mixes short Q&A and long memo drafting. A team wants each batch to contain a stable share of both. What should it configure?
Question 18
Domain 3: Data Preparation · Task 3.6A records RAG system must answer 'what changed in version 3 of this regulation?'. What metadata matters MOST at ingestion?
Question 19
Domain 4: Model Optimization · Task 4.1A 70B model is served with TP 4 on H100 80 GB GPUs in FP8. Ignoring overhead, roughly how much memory per GPU is left for KV cache?
Question 20
Domain 4: Model Optimization · Task 4.1Which serving metric directly reflects memory pressure from many long legal documents?
Question 21
Domain 4: Model Optimization · Task 4.2Which statement about FP8 vs INT8 inference on Hopper is MOST accurate?
Question 22
Domain 4: Model Optimization · Task 4.2A team wants to compare several quantization recipes for a 70B model quickly. Which practice avoids misleading conclusions?
Question 23
Domain 4: Model Optimization · Task 4.3A pruned and distilled 8B model performs well on general tasks but poorly on legal text. What should the team do?
Question 24
Domain 4: Model Optimization · Task 4.4A team wants to try TensorRT-LLM quickly with a Hugging Face checkpoint using a high-level Python API. Which interface fits?
Question 25
Domain 4: Model Optimization · Task 4.4A team sets the KV-cache free-memory fraction to 0.95 in TensorRT-LLM and sees out-of-memory errors during traffic spikes. What should it do?
Question 26
Domain 4: Model Optimization · Task 4.5Which factor MOST affects the speed-up from draft–target speculative decoding?
Question 27
Domain 4: Model Optimization · Task 4.5A team uses a draft model with a different tokenizer from the target. What problem arises?
Question 28
Domain 4: Model Optimization · Task 4.6A legal-search service needs p95 TTFT under 1 s, and doubling concurrency doubles throughput but pushes p95 TTFT to 1.6 s. What is the right decision?
Question 29
Domain 4: Model Optimization · Task 4.6Which change reduces end-to-end latency for long generated memos the MOST without changing the model?
Question 30
Domain 5: Fine-Tuning · Task 5.1A ministry wants a model that writes replies in plain language at a set reading level. Prompting gets close but drifts. Which step is next?
Question 31
Domain 5: Fine-Tuning · Task 5.2A team trains LoRA adapters and wants to reduce memory further during training. Which change helps without hurting quality much?
Question 32
Domain 5: Fine-Tuning · Task 5.2Which PEFT approach inserts small trainable bottleneck layers inside each transformer block?
Question 33
Domain 5: Fine-Tuning · Task 5.3A team plans continued pretraining but has only 50 million tokens of domain text. What is a realistic expectation?
Question 34
Domain 5: Fine-Tuning · Task 5.4A team wants the model to refuse unlawful requests while staying helpful, using preference pairs where safe refusals are chosen. What does DPO optimize?
Question 35
Domain 5: Fine-Tuning · Task 5.4After safety alignment, the model refuses many benign legal questions. What is this, and a fix?
Question 36
Domain 5: Fine-Tuning · Task 5.5Training loss plateaus early and validation accuracy is low for an SFT run with learning rate 1e-6. What should the team try?
Question 37
Domain 5: Fine-Tuning · Task 5.6Which NVIDIA microservice manages fine-tuning jobs via REST so application teams don't run training scripts themselves?
Question 38
Domain 6: Evaluation · Task 6.1A team evaluates contract-summary quality with BERTScore instead of ROUGE. What advantage does BERTScore offer?
Question 39
Domain 6: Evaluation · Task 6.2A team wants to measure whether a model follows formatting instructions such as 'use exactly three bullet points'. Which benchmark targets this?
Question 40
Domain 6: Evaluation · Task 6.3A team asks lawyers to rate memos on a 1–5 scale and gets inconsistent scores. Which change improves reliability MOST?
Question 41
Domain 6: Evaluation · Task 6.5Model A and Model B are evaluated on the same 400 questions. Which test checks whether their accuracy difference is significant?
Question 42
Domain 6: Evaluation · Task 6.6A team runs thousands of benchmark prompts nightly for several candidate models. How can it make this scale?
Question 43
Domain 7: GPU Acceleration and Optimization · Task 7.1A team trains a 30B model and offloads optimizer states to CPU memory with ZeRO-Offload. What is the trade-off?
Question 44
Domain 7: GPU Acceleration and Optimization · Task 7.2A team has 64 GPUs and a model that fits on 8 with TP 8. It sets DP 8. What does each DP replica process?
Question 45
Domain 7: GPU Acceleration and Optimization · Task 7.2A team must train with 1M-token contexts. Which combination is typical?
Question 46
Domain 7: GPU Acceleration and Optimization · Task 7.3Which statement about ZeRO-1 is correct?
Question 47
Domain 7: GPU Acceleration and Optimization · Task 7.4A team trains in BF16 but keeps the final softmax and loss in FP32. Why?
Question 48
Domain 7: GPU Acceleration and Optimization · Task 7.5A team observes all-reduce bandwidth well below expectations inside a node. Which NVIDIA tool benchmarks collective performance directly?
Question 49
Domain 7: GPU Acceleration and Optimization · Task 7.6An Nsight Systems timeline shows the GPU idle while the CPU waits on cudaStreamSynchronize after each micro-batch. What should the team investigate?
Question 50
Domain 7: GPU Acceleration and Optimization · Task 7.6Which metric BEST summarizes how efficiently a large training job uses GPU compute?
Question 51
Domain 7: GPU Acceleration and Optimization · Task 7.7A job's throughput drops 30% after a cluster driver update, with no code change. Which first step is MOST useful?
Question 52
Domain 8: Model Deployment · Task 8.1An air-gapped government network must run LLM inference. Which deployment approach fits?
Question 53
Domain 8: Model Deployment · Task 8.2A Triton model needs custom Python pre-processing that calls a second model conditionally. Which Triton feature fits?
Question 54
Domain 8: Model Deployment · Task 8.3A team deploys NIM microservices declaratively on Kubernetes, including model caching and autoscaling. Which NVIDIA component helps?
Question 55
Domain 8: Model Deployment · Task 8.4A legal team needs answers from three different fine-tuned 8B adapters depending on practice area. How should they be served efficiently?
Question 56
Domain 8: Model Deployment · Task 8.5A team must roll out a new model across 20 replicas without downtime, replacing pods gradually. Which Kubernetes mechanism does this?
Question 57
Domain 8: Model Deployment · Task 8.6Which component of a production RAG pipeline usually benefits MOST from GPU acceleration during ingestion of millions of documents?
Question 58
Domain 9: Production Monitoring and Reliability · Task 9.1A citizen-services bot has a p95 latency SLO of 2 s. Which measurement window is typical for evaluating it?
Question 59
Domain 9: Production Monitoring and Reliability · Task 9.2Which signal warns early that a RAG assistant's index may be stale?
Question 60
Domain 9: Production Monitoring and Reliability · Task 9.3Logs for a legal assistant must support audits without exposing client data. What should they contain?
Question 61
Domain 9: Production Monitoring and Reliability · Task 9.4Error rates spike only for requests longer than 30K tokens after a config change. Which RCA step targets this?
Question 62
Domain 9: Production Monitoring and Reliability · Task 9.6A team keeps an LLM gateway that can fall back to a smaller model when the primary is overloaded. What reliability goal does this serve?
Question 63
Domain 10: Safety, Ethics, and Compliance · Task 10.1A public agency deploys an LLM that helps decide benefit eligibility. Which governance practice is MOST important?
Question 64
Domain 10: Safety, Ethics, and Compliance · Task 10.2A legal assistant must check that answers are supported by retrieved case text before sending them. Which guardrail fits?
Question 65
Domain 10: Safety, Ethics, and Compliance · Task 10.4A team measures a document-triage model's error rate separately for each of 12 regions. What is this practice called?
65 questions unanswered; they count as wrong.