Home › Certifications › NVIDIA NCA Gen AI LLMs › Trustworthy AI
30 multiple-choice questions and 10 flashcards on Trustworthy AI, about 10% of the NVIDIA NCA Gen AI LLMs bank. Every one carries a written rationale.
Trustworthy AI is one of 8 chapters in CoStudy's NVIDIA NCA Gen AI LLMs bank, and it holds 30 of the bank's 310 multiple-choice questions — roughly 10% of the total. That proportion is not arbitrary: chapters follow the certifying body's published exam outline, and the number of questions in each is set by that domain's published weight, so the share of your practice time this chapter takes matches the share of the real exam it accounts for.
Studying by chapter is worth doing once you have a diagnostic score. A single overall percentage tells you whether you are close; it does not tell you which domain is dragging. Working a weak chapter in isolation, and re-testing it in isolation, is the fastest way to move a score that has stalled — and it is why the mock exams in CoStudy report by domain rather than as one number.
10 questions drawn from this chapter, with the full rationale shown — the controlling principle behind the right answer, and why each wrong option tempts and fails.
Indirect (cross-domain) prompt injection occurs when:
Answer: C — Malicious instructions hide in retrieved third-party content
C) Correct — the payload arrives through pages or documents the model later retrieves or summarizes, which is why it is called indirect. A) That is direct injection. B) That is data poisoning at training time. D) A crash is not an injection.
To reduce hallucination, the BEST mitigations are:
Answer: B — Grounding with RAG citations, low temperature, filters
A) Higher temperature means more randomness and more hallucination. B) Correct — combine grounding (RAG with citations), determinism (low temperature), structured outputs, guardrails and ongoing evaluation. C) Larger models still hallucinate. D) It is a critical issue to address, not accept.
A support assistant logs full conversation transcripts containing customer PII. The MOST appropriate control BEFORE storage is to:
Answer: C — Detect and redact PII entities, retaining only what is needed
C) Correct — minimization at the point of capture is the strongest control because unwritten data cannot leak. A) Encryption protects the medium but leaves the data present and retained forever. B) Access control alone still concentrates sensitive text in one store. D) Hashing one identifier leaves the PII in the free text untouched.
Which statement about LLM safety and capability tradeoffs is most accurate?
Answer: D — Safety and helpfulness are co-designed; both refusal errors matter
D) Correct — over-refusal and under-refusal are both real failures, so current practice measures and balances them together. A) An unsupported extreme. B) Scale alone does not deliver safety. C) There are genuine, measurable tradeoffs.
A model card's PRIMARY purpose is to:
Answer: A — Document intended use, limitations and evaluation results
A) Correct — model cards communicate scope, known limitations, evaluation and appropriate use to downstream adopters. B) Weights live in a checkpoint or registry artifact. C) Deployment manifests are infrastructure config. D) Latency telemetry belongs to monitoring dashboards.
The MOST effective way to reduce unsupported claims in a RAG assistant's answers is to:
Answer: A — Require sentence-level citations and reject answers lacking support
A) Correct — enforcing attribution makes ungrounded statements detectable and blockable rather than merely discouraged. B) A longer answer gives more room for unsupported content. C) A wider nucleus increases, not decreases, drift from the evidence. D) Deleting the instruction removes the grounding directive itself.
Watermarking generated text aims to:
Answer: A — Embed statistical signals in output that detectors can spot
A) Correct — watermarking biases token selection so a downstream detector can flag text as machine-generated. B) It does not target latency. C) It does not improve modeling quality. D) Encryption protects confidentiality, a different goal.
Prompt injection attack defenses include:
Answer: B — Structured prompts, input sanitization, and output filters
A) That is the vulnerability, not a defense. B) Correct — defense in depth: clear delimiters, sanitized input, output policy filters, and role separation in the chat template. C) Defeats the purpose. D) Model size does not fix injection.
Which is the BEST defense-in-depth strategy against prompt injection in a tool-using agent?
Answer: D — Layer input validation, role separation, and least-privilege tools
D) Correct — layered controls plus output filtering and policy guardrails give defense in depth, since no single check holds. A) Removes every control. B) Scale does not confer injection resistance. C) Logging is needed for detection and response.
Red-teaming an LLM application typically involves:
Answer: B — Adversarial probing for injections, jailbreaks, and data leaks
B) Correct — manual and automated probing surfaces injections, jailbreaks, privacy leaks, and tool misuse before release. A) Unit tests do not explore adversarial behavior. C) Interface styling is cosmetic. D) Swapping models is a cost decision, not a security exercise.
4 cards from the 10 in this chapter.
Prompt injection?
Attack where user input overrides system instructions. Mitigate with input sanitization, structured prompts, output filters.
Where does bias enter an LLM pipeline, and name two fairness measurements you can apply to outputs.
Bias enters through skewed pretraining corpora, annotator judgments in fine-tuning and preference data, and the deployment context itself. Measurements include disparity in output quality or sentiment across demographic groups when only the group term in a prompt is swapped (counterfactual testing), and equalized error rates across groups on a labeled evaluation set.
What privacy risks are specific to LLM systems, and what controls address them?
Risks include memorization and regurgitation of PII from training data, sensitive data entering prompts and being logged or used for training, and leakage through retrieval indexes that ignore per-user permissions. Controls: PII detection and redaction during curation and at the prompt boundary, retention limits and opt-out on logs, and access control enforced at retrieval time rather than in the prompt.
What is NeMo Guardrails and what kinds of rails can it enforce?
It is an open-source toolkit that sits between the application and the LLM and enforces programmable policies on the conversation. Rail types include topical rails keeping dialogue in scope, input rails screening for jailbreaks and prompt injection, output rails filtering unsafe or non-compliant responses, retrieval rails governing what context may be used, and execution rails controlling tool calls.
These are a sample. The full Trustworthy AI chapter runs 40 items with per-chapter progress tracking, on the web and in the iOS app.
Open NVIDIA NCA Gen AI LLMs in CoStudy →