Review set

Hardest NVIDIA-Certified Professional Generative AI LLMs questions

Review these NVIDIA-Certified Professional Generative AI LLMs practice questions first, then retake the test.

Not enough answers yet to rank this test. A question needs 20 answers in the last 90 days to get a rank. The questions below are a review set in no ranked order.

How to use this list

  1. Step 1Start with question 1 and read the short answer explanation.
  2. Step 2Open the full explanation for the concept before you move to the next question.
  3. Step 3Retake the practice test and check whether you still miss these questions.

Email this list to yourself

The button opens your own email app with the 3 questions and their explanation links.

Email this list
Review question 1

Multi Head Attention & Attention Specialization

LLM Architecture
Not ranked

In a multi-head attention mechanism, you observe that certain attention heads consistently focus on local token patterns (e.g., adjacent words), while others capture long-range semantic relationships. What is the architectural reason for this behavior, and how does it relate to the transformer's design?

Correct answer
A. Each attention head learns independent query, key, and value projections with different random initializations, allowing heads to specialize in different attention patterns; this specialization emerges naturally during training without explicit constraints.

Multi-head attention works because each head has independent linear projections (Q, K, V) for query, key, and value vectors. These projections are randomly initialized and learn different representations during training. This allows heads to specialize: some learn to attend to adjacent tokens (useful for syntax), others to distant tokens (useful for semantics). No explicit constraint or manual role assignment is needed—specialization emerges from the learning dynamics. The transformer does not use separate layers for local vs. global patterns; all heads operate in parallel. Heads are not manually assigned roles or given different cache sizes. While each head operates on a subset of the embedding dimension, the optimizer does not force specific local/global role assignments—this is an emergent property.

Review question 2

Nemo Guardrails & Jailbreak Detection

Safety, Ethics, and Compliance
Not ranked

A NeMo Guardrails deployment uses the jailbreak detection heuristics rail with a separate heuristics server. That server was down for two hours, and no errors reached callers. What happened to requests during the outage?

Correct answer
C. They were passed without the check, because the rail fails open and only logs

The Guardrails jailbreak protection page warns that jailbreak detection fails open. When the configured detector cannot be reached, the rail logs the failure, allows the request, and returns no error to the caller, so an outage silently removes the protection. The page advises monitoring detector availability and pairing this rail with rails that do not call an external service. Option A is the reverse of the documented behavior. Option B describes queuing that is not documented. Option D is wrong because in-process checks run only when server_endpoint is unset, and the page says that mode is for testing only.

Review question 3

Chain-of-Thought & Output Control

Prompt Engineering
Not ranked

Your e-commerce recommendation engine uses an LLM to generate personalized product recommendations with explanations. The output must include: (1) product ID, (2) reason for recommendation, and (3) confidence score (0.0–1.0). Outputs are currently unstructured and inconsistent. Which combination of techniques best ensures reliable, structured output?

Correct answer
B. Chain-of-thought reasoning to explain the recommendation logic, combined with constrained decoding to enforce JSON schema with required fields

Chain-of-thought reasoning combined with constrained JSON decoding is the best approach. Chain-of-thought makes the recommendation logic transparent and improves quality. Constrained decoding enforces the exact schema (product ID, reason, confidence score) at generation time, guaranteeing valid, structured output. Few-shot with greedy decoding improves consistency but does not enforce structure. Zero-shot with post-processing is fragile. One-shot alone is insufficient for reliable recommendations.

Retake the test

Retake the free NVIDIA-Certified Professional Generative AI LLMs practice test and check whether you still miss these questions. No signup required.

Start the free diagnostic