CertSafari

    Free NVIDIA-Certified Professional: Agentic AI Sample Questions

    35 free sample questions from our bank of 340+, covering every exam domain, with answers and detailed explanations. Updated August 2026.

    Domain 1: Agent Architecture and Design

    Subdomain 1.7: Integrate knowledge graphs to enable relational reasoning.

    1.When designing an agentic system that translates natural language into graph database queries (e.g., Text-to-Cypher), which technique is most critical for minimizing hallucinated relationships and ensuring the LLM generates syntactically valid queries?

    1. A.Providing the LLM with a complete dump of all graph nodes and edges in the prompt context.
    2. B.Injecting the graph schema, including node labels, relationship types, and property keys, directly into the LLM's system prompt.
    3. C.Using a lower temperature setting and increasing the top-p parameter to 1.0 to enforce deterministic query generation.
    4. D.Converting the graph database into a relational SQL database schema before prompting the LLM.
    Show answer & explanation

    Correct answer: BInjecting the graph schema, including node labels, relationship types, and property keys, directly into the LLM's system prompt.

    • A. Providing a complete dump of all graph data is impractical as it would likely exceed the context window and introduce significant noise. Grounding the model in raw instance data is far less effective for query generation than providing an explicit, structured schema.
    • B. Injecting the graph schema (node labels, relationship types, and property keys) is the standard best practice for grounding LLMs in Text-to-Cypher tasks. It provides the authoritative set of constraints needed to ensure the model uses existing relationship names and property keys, thereby minimizing hallucinations and ensuring the output aligns with the database's architecture.
    • C. Adjusting temperature and top-p can increase the determinism of the output, but these parameters do not provide the factual grounding or structural knowledge required to generate syntactically correct queries against a specific database schema.
    • D. Converting a graph database into a relational SQL schema is counterproductive. It removes the graph-specific semantics that Cypher is designed to express and does not address the fundamental requirement of mapping natural language to the existing graph structure.

    Subdomain 1.1: Design user interfaces for intuitive human-agent interaction.

    2.Which two UI design patterns are most effective for providing transparency into an agent's multi-step reasoning and tool execution without overwhelming a non-technical user?(Select 2)

    1. A.Displaying the raw JSON payload of the LLM response directly in the chat feed.
    2. B.Using collapsible UI components (e.g., accordions) that summarize tool calls (e.g., 'Searched the web') but allow expansion for detailed logs.
    3. C.Showing the full system prompt and context window tokens at the top of the chat interface.
    4. D.Providing a visual progress indicator or timeline mapping the agent's completed and pending sub-tasks.
    5. E.Forcing the user to approve every single API call the agent makes via a modal popup.
    Show answer & explanation

    Correct answers: B, DUsing collapsible UI components (e.g., accordions) that summarize tool calls (e.g., 'Searched the web') but allow expansion for detailed logs.; Providing a visual progress indicator or timeline mapping the agent's completed and pending sub-tasks.

    • A. Displaying raw JSON payloads is confusing for non-technical users and causes cognitive overload. It is a technical transparency pattern that fails to communicate the agent's intent or reasoning effectively.
    • B. Collapsible UI components follow the principle of progressive disclosure. They provide a concise, human-readable summary of what the agent is doing (e.g., 'Analyzing data') while allowing curious or advanced users to expand and view the underlying execution details.
    • C. Full system prompts and token counts are low-level implementation details. They do not help a user understand the logic of a specific task and typically clutter the interface.
    • D. A visual progress indicator or timeline maps the agent's multi-step process in an intuitive way. It communicates status, sequence, and progress at a glance, which is highly effective for building user trust without requiring technical knowledge.
    • E. While 'Human-in-the-Loop' (HITL) is important for high-risk actions, requiring approval for every individual API call creates excessive friction and makes the interaction cumbersome, which is counter-productive to the goal of a seamless user experience.

    Subdomain 1.5: Orchestrate multi-agent workflows and coordination.

    3.When designing highly concurrent, distributed multi-agent systems, the Actor Model is frequently utilized for agent coordination. Which of the following is a core characteristic of the Actor Model in this context?

    1. A.Agents share a single, globally mutable state dictionary to ensure data consistency.
    2. B.Agents communicate exclusively through asynchronous message passing and encapsulate their own private state.
    3. C.Agents must execute in a strict, sequential order defined by a central orchestrator.
    4. D.Agents rely on distributed locks and semaphores to prevent race conditions during state updates.
    Show answer & explanation

    Correct answer: BAgents communicate exclusively through asynchronous message passing and encapsulate their own private state.

    • A. Incorrect. The Actor Model explicitly avoids a single globally shared mutable state to prevent contention and race conditions. Instead, state is isolated within individual actors, ensuring data consistency through ownership rather than global access.
    • B. Correct. A defining characteristic of the Actor Model is that actors (agents) encapsulate their own private state and interact with others only by sending and receiving asynchronous messages. This design allows for high concurrency and scalability in distributed systems without the overhead of shared memory.
    • C. Incorrect. The Actor Model is inherently decentralized and event-driven. It does not require a central orchestrator to impose a strict sequential order; actors process messages as they arrive, enabling concurrent and independent execution.
    • D. Incorrect. Distributed locks and semaphores are mechanisms used for managing access to shared memory. Because the Actor Model relies on private state and message passing, it eliminates the need for such synchronization primitives, thereby avoiding common pitfalls like deadlocks.

    Subdomain 1.4: Manage short-term and long-term memory for context retention.

    4.An enterprise customer service agent handles extremely long, multi-day troubleshooting sessions. The context window is frequently exceeded, causing the agent to forget early diagnostic steps. Simply truncating the history loses critical context, but storing everything in a vector database loses the chronological flow of the current session. Which memory management strategy is most appropriate to maintain chronological context without exceeding the LLM's token limit?

    1. A.Implement a strict Least Recently Used (LRU) eviction policy for the conversation buffer.
    2. B.Use a recursive summarization buffer that periodically condenses older turns while keeping the most recent turns verbatim.
    3. C.Store all user inputs in a graph database and use a Cypher query to retrieve the top 5 nodes.
    4. D.Increase the temperature of the LLM to encourage it to hallucinate missing context accurately.
    Show answer & explanation

    Correct answer: BUse a recursive summarization buffer that periodically condenses older turns while keeping the most recent turns verbatim.

    • A. A strict LRU eviction policy essentially acts as a sliding window, removing the oldest tokens as new ones arrive. In a multi-day troubleshooting scenario, this would lead to the loss of critical early diagnostic steps, which are necessary for the agent to maintain a coherent understanding of the problem's history.
    • B. A recursive summarization buffer (such as ConversationSummaryBufferMemory) allows the agent to maintain the chronological flow by compressing older parts of the conversation into concise summaries while keeping the most recent interactions in their original verbatim form. This effectively manages the token limit while retaining essential context from earlier in the session.
    • C. Retrieving nodes from a graph database is a retrieval-based (RAG) approach that focuses on semantic relevance rather than chronological sequence. This strategy is better for long-term knowledge retrieval but does not solve the problem of maintaining a coherent, sequential conversation history within a limited context window.
    • D. Increasing the temperature only makes the model's outputs more stochastic or creative; it does not expand the context window or recover lost memory. Hallucination is a failure state in customer service and is not a valid strategy for memory management.

    Subdomain 1.3: Configure agent-to-agent communication protocols for collaboration.

    5.A multi-agent trading system requires real-time, synchronous negotiation between a 'Buyer' agent and a 'Seller' agent. The communication payload is highly structured, requires strict type-checking, and the network latency between the agents must be kept under 10 milliseconds to prevent slippage. Which communication protocol is most appropriate to configure for this specific interaction?

    1. A.MQTT
    2. B.gRPC
    3. C.Apache Kafka
    4. D.HTTP/1.1 REST
    Show answer & explanation

    Correct answer: BgRPC

    • A. MQTT is a lightweight, asynchronous publish/subscribe messaging protocol designed for low-bandwidth or unreliable networks (IoT). It is not optimized for strict synchronous request-response negotiation or the sub-10ms latency requirements of high-frequency trading systems.
    • B. gRPC is a high-performance RPC framework that uses Protocol Buffers (Protobuf) for binary serialization and strict type-checking. It operates over HTTP/2, offering low-latency, synchronous communication and multiplexing, making it the ideal choice for high-speed, structured agent-to-agent negotiation.
    • C. Apache Kafka is a distributed event streaming platform optimized for high-throughput, asynchronous data persistence and replayability. Because it involves writing to a broker/log, it introduces higher latency overhead than direct RPC and is not suited for the synchronous, sub-10ms interaction required here.
    • D. HTTP/1.1 REST is synchronous but typically relies on text-based formats like JSON, which lack native strict type-checking and have higher serialization overhead. It generally incurs higher latency and less efficient resource utilization compared to the binary-based HTTP/2 protocol used by gRPC.

    Subdomain 1.6: Apply logic trees, prompt chains, and stateful orchestration for multi-step reasoning.

    6.An enterprise research agent uses a cyclic state graph to iteratively search, summarize, and review financial documents. During testing, the agent occasionally gets stuck in an infinite loop when the 'Reviewer' node repeatedly rejects the 'Summarizer' node's output due to missing data that does not exist in the source documents. How should the architect modify the stateful orchestration to prevent this infinite loop while maintaining the multi-step reasoning integrity?

    1. A.Implement a state variable to track the iteration count and add a conditional edge from the Reviewer to a terminal node if the threshold is exceeded.
    2. B.Replace the cyclic graph with a linear prompt chain to ensure the process terminates after a single pass.
    3. C.Increase the LLM temperature in the Summarizer node to generate more creative responses that bypass the Reviewer's constraints.
    4. D.Clear the state memory after every iteration so the Reviewer evaluates the summary without historical bias.
    Show answer & explanation

    Correct answer: AImplement a state variable to track the iteration count and add a conditional edge from the Reviewer to a terminal node if the threshold is exceeded.

    • A. Correct. Tracking the iteration count (recursion limit) in the state and adding a conditional transition to a terminal node is the standard way to prevent unbounded cycles in stateful orchestration. This preserves the multi-step workflow while ensuring the agent terminates after a reasonable number of retries when progress is impossible.
    • B. Incorrect. Replacing the cyclic graph with a linear prompt chain would remove the iterative review-and-revise behavior required for multi-step reasoning. While it ensures termination, it compromises the core architectural requirement of high-quality, reviewed output.
    • C. Incorrect. Increasing temperature may make the output more varied but does not resolve the logic gap of missing source evidence. This often leads to hallucinations rather than solving the loop, and it does not provide a formal safeguard for termination.
    • D. Incorrect. Clearing state memory removes the context needed for the reviewer and summarizer to coordinate and learn from previous steps. This does not stop the loop; it merely makes the agent 'blind' to its previous failures, often leading to repetitive cycles without resolution.

    Domain 2: Agent Development

    Subdomain 2.6: Evaluate and refine agent decision-making strategies.

    7.An enterprise agent has access to a repository of 500 distinct API tools. During evaluation, you observe that the agent frequently selects the wrong tool for the task (low precision) or fails to find the necessary tool when it exists (low recall). The current strategy uses a semantic vector search to retrieve the top 5 tools based on the user's query, which are then injected into the LLM's prompt. Which two strategies should you employ to refine the agent's tool selection decision-making?(Select 2)

    1. A.Increase the top-k retrieval to 200 tools to ensure the correct tool is always included in the prompt context.
    2. B.Implement a two-stage retrieval pipeline: a fast semantic search followed by a cross-encoder reranker to improve the precision of the top 5 tools.
    3. C.Fine-tune the embedding model specifically on the descriptions and expected arguments of the 500 API tools.
    4. D.Disable the vector search and instead prompt the LLM to guess the API endpoint URL directly based on its pre-trained knowledge.
    5. E.Replace the LLM with a deterministic rule-based engine that maps keywords directly to specific API tools.
    Show answer & explanation

    Correct answers: B, CImplement a two-stage retrieval pipeline: a fast semantic search followed by a cross-encoder reranker to improve the precision of the top 5 tools.; Fine-tune the embedding model specifically on the descriptions and expected arguments of the 500 API tools.

    • A. Increasing top-k to 200 would overwhelm the LLM's context window, significantly increasing latency and cost. Moreover, it introduces a 'lost in the middle' effect where the model fails to identify relevant information among too many distractors, which would likely degrade precision further.
    • B. Implementing a two-stage retrieval pipeline utilizes a bi-encoder (semantic search) for efficient candidate generation followed by a cross-encoder for high-precision reranking. Cross-encoders score query-tool pairs more accurately than vector similarity alone, ensuring the most relevant tools are placed in the prompt.
    • C. Fine-tuning the embedding model on domain-specific documentation (API descriptions and arguments) improves the representation space. This helps the retrieval system better understand the nuances of the 500 tools, leading to higher recall (finding the right tool) and precision (excluding the wrong ones).
    • D. Prompting an LLM to guess endpoint URLs from pre-trained knowledge is unreliable and bypasses the retrieval mechanism designed to ground the agent in the actual available toolset. This approach is highly prone to hallucinations, especially for internal enterprise APIs.
    • E. Deterministic keyword-based engines are too brittle for a large library of 500 tools. They cannot handle natural language variations, synonyms, or complex user intents effectively compared to learned retrieval and LLM-based reasoning.

    Subdomain 2.1: Engineer prompts and dynamic prompt chains for reliable performance.

    8.An agentic workflow consists of a two-step prompt chain. Step 1 extracts entities from a document and must output strict JSON. Step 2 parses this JSON to query an external API. Occasionally, Step 1 includes conversational filler (e.g., 'Here is your JSON:') or markdown formatting, which breaks the parser in Step 2. What is the most robust architectural approach to ensure reliable execution of this chain?

    1. A.Add a system prompt instruction to output ONLY valid JSON and implement a framework-level output parser with automatic retry logic that feeds parsing errors back to the LLM.
    2. B.Lower the presence penalty to 0.0 to discourage the model from generating new, unexpected conversational tokens.
    3. C.Replace the Step 1 LLM with a smaller, faster model to reduce the likelihood of verbose conversational outputs.
    4. D.Use a regular expression in Step 2 to extract the first and last words of the output, assuming they will always be curly braces.
    Show answer & explanation

    Correct answer: AAdd a system prompt instruction to output ONLY valid JSON and implement a framework-level output parser with automatic retry logic that feeds parsing errors back to the LLM.

    • A. This approach is the industry standard for robust agentic workflows. It combines prompt engineering (system instructions) with structural guardrails (framework-level parsing) and an error-recovery loop (retry logic). Feeding the specific parsing error back to the LLM allows it to correct the formatting drift in real-time, ensuring Step 2 receives valid input.
    • B. Lowering the presence penalty is a sampling parameter adjustment that might slightly reduce token variety, but it is not a reliability mechanism. It does not guarantee strict JSON adherence or prevent the model from generating markdown blocks or conversational preambles.
    • C. Smaller models often have weaker instruction-following capabilities compared to larger models. Moving to a smaller model is more likely to increase formatting errors rather than solve them, and it fails to address the lack of a validation or retry mechanism.
    • D. Using regular expressions to 'guess' JSON boundaries is highly brittle. It can easily fail with nested objects, trailing whitespace, markdown code blocks (e.g., ```json), or malformed output. It is not a robust architectural solution for high-stakes agentic chains.

    Subdomain 2.4: Implement error handling (retry logic, graceful failure recovery).

    9.An agent relies on a custom embedding model hosted on NVIDIA Triton Inference Server. During peak loads, the agent receives gRPC `DEADLINE_EXCEEDED` errors. You want to implement a graceful degradation strategy strictly at the agent (client) level without modifying the Triton server configuration. What is the best approach?

    1. A.Implement a client-side fallback to a cached response or a simpler, local heuristic model when the deadline is exceeded.
    2. B.Increase the Triton server's `max_queue_delay_microseconds` parameter via a client-side gRPC header.
    3. C.Send the exact same request immediately in a tight loop until the server responds.
    4. D.Change the Triton model's dynamic batch size configuration via the client API.
    Show answer & explanation

    Correct answer: AImplement a client-side fallback to a cached response or a simpler, local heuristic model when the deadline is exceeded.

    • A. Correct. A client-side fallback to a cached response or a simpler local heuristic model is the best graceful degradation strategy. This keeps the agent functional even when the server cannot respond before the deadline, and it strictly adheres to the constraint of not modifying the Triton server configuration.
    • B. Incorrect. The `max_queue_delay_microseconds` is a server-side parameter defined in the model's `config.pbtxt`. It cannot be dynamically modified via a client-side gRPC header to influence the server's scheduling logic.
    • C. Incorrect. Sending requests in a tight loop without backoff (a retry storm) is not a graceful degradation strategy. It can exacerbate server congestion, increase latency for other users, and worsen the overload situation.
    • D. Incorrect. Dynamic batching is a model-specific configuration that resides on the server. Modifying this configuration via client APIs (if possible) would violate the constraint of not modifying the Triton server configuration and usually requires a model reload.

    Subdomain 2.3: Build and connect custom tools, APIs, and functions for external system interaction.

    10.An agent utilizes a custom tool to scrape data from a third-party API. The API enforces strict rate limits, returning HTTP 429 (Too Many Requests) when exceeded. Currently, the agent crashes when this occurs. What is the best practice for handling this within the agentic architecture?

    1. A.Implement a circuit breaker and exponential backoff retry logic directly within the custom tool's Python execution code.
    2. B.Update the tool's description to explicitly instruct the LLM to wait 10 seconds before invoking the tool again.
    3. C.Route all API requests through a semantic cache to bypass the rate limit entirely.
    4. D.Catch the HTTP 429 error and automatically switch the agent to a different LLM provider.
    Show answer & explanation

    Correct answer: AImplement a circuit breaker and exponential backoff retry logic directly within the custom tool's Python execution code.

    • A. Implementing resilience patterns like circuit breakers and exponential backoff retry logic within the tool's execution code is a standard best practice. This programmatic approach ensures the agent handles transient API failures and rate limits gracefully, preventing crashes and respecting the third-party provider's constraints without relying on the LLM's non-deterministic behavior.
    • B. Instructing the LLM via prompt or tool description to manage timing is unreliable. LLMs are not built to enforce precise execution delays or track real-time API state, making this approach prone to failure and continued 429 errors.
    • C. A semantic cache can reduce the total number of requests by serving cached responses for similar queries, but it does not address the underlying issue of how the system should respond when a 429 error is actually triggered. It is a optimization strategy, not a robust error-handling mechanism.
    • D. Switching LLM providers is an inappropriate response because the bottleneck is the third-party API, not the reasoning model. The failure occurs in the tool integration layer, so changing the LLM will not resolve the rate limit issue on the external system.

    Domain 3: Evaluation and Tuning

    Subdomain 3.1: Implement evaluation pipelines and task benchmarks to measure performance.

    11.You have implemented NVIDIA NeMo Guardrails to prevent a financial advisory agent from discussing competitors. During evaluation, you notice the agent successfully blocks competitor mentions but also frequently refuses to answer benign questions about general market trends. What evaluation metric should you prioritize to quantify and resolve this over-triggering issue?

    1. A.Topical Jailbreak Success Rate
    2. B.False Positive Rate (FPR) of the topical rail
    3. C.Context Precision of the underlying knowledge base
    4. D.Faithfulness of the generated response
    Show answer & explanation

    Correct answer: BFalse Positive Rate (FPR) of the topical rail

    • A. Topical Jailbreak Success Rate measures how often the agent fails to block restricted topics (false negatives). This is used to assess the security and robustness of the rail against adversarial prompts, rather than quantifying the issue of over-blocking harmless inputs.
    • B. The False Positive Rate (FPR) of the topical rail measures how often the guardrail incorrectly identifies and blocks benign, allowed queries. Since the agent is over-triggering and refusing general market trend questions, the FPR is the specific metric needed to quantify and tune the rail's sensitivity.
    • C. Context Precision evaluates the relevance of information retrieved from a knowledge base in a RAG pipeline. While important for overall system quality, it does not track or explain the triggering behavior of a topical guardrail.
    • D. Faithfulness (or groundedness) measures whether the model's response is supported by the retrieved context to prevent hallucinations. It does not address why an agent might be refusing to generate a response due to excessive guardrail sensitivity.

    Subdomain 3.3: Collect and integrate structured user feedback for iterative improvements.

    12.During the iterative improvement cycle of an agent, why is it critical to calculate the correlation coefficient (e.g., Pearson or Spearman) between structured user feedback scores and automated LLM-as-a-judge evaluation metrics?

    1. A.To ensure the automated metrics accurately proxy human preferences, allowing for scalable and reliable offline evaluation.
    2. B.To automatically generate new synthetic training data for the LLM-as-a-judge model.
    3. C.To determine the optimal learning rate and batch size for Supervised Fine-Tuning (SFT).
    4. D.To prove that the LLM-as-a-judge evaluates responses faster than human annotators.
    Show answer & explanation

    Correct answer: ATo ensure the automated metrics accurately proxy human preferences, allowing for scalable and reliable offline evaluation.

    • A. Calculating the correlation coefficient (Pearson for linear relationship or Spearman for rank order) is the standard method to validate that an automated evaluation metric aligns with human judgment. High correlation indicates the automated judge is a reliable proxy for human preferences, enabling rapid, scalable, and cost-effective offline evaluation during development cycles.
    • B. Correlation analysis is a statistical measure of relationship strength between two existing datasets. It does not generate new data. Synthetic data generation requires a separate pipeline involving prompting or data augmentation techniques.
    • C. Hyperparameters like learning rate and batch size are optimized through training experiments and empirical testing. They are unrelated to the statistical alignment between feedback scores and evaluation metrics.
    • D. While LLM-as-a-judge is naturally faster than human review, the purpose of a correlation coefficient is to assess the quality and accuracy of the judgment (alignment), not to measure or prove the speed of the computation.

    Subdomain 3.4: Tune model parameters (e.g., accuracy, latency-efficiency trade-offs).

    13.An enterprise is deploying a 70B parameter model across an 8-GPU node. They need to tune the deployment architecture to balance latency and throughput. The application is a real-time voice agent that requires extremely low Time Per Output Token (TPOT). Which two statements correctly describe the trade-offs of parallelism strategies in this scenario?(Select 2)

    1. A.Maximizing Pipeline Parallelism (PP=8) is the best approach to minimize TPOT.
    2. B.Maximizing Tensor Parallelism (TP=8) minimizes TPOT, assuming high-bandwidth NVLink is available.
    3. C.Tensor Parallelism reduces latency by splitting matrix operations across multiple GPUs simultaneously.
    4. D.Pipeline Parallelism reduces latency by processing multiple layers simultaneously for a single token.
    5. E.Data Parallelism (DP=8) will provide the lowest possible latency for individual requests.
    Show answer & explanation

    Correct answers: B, CMaximizing Tensor Parallelism (TP=8) minimizes TPOT, assuming high-bandwidth NVLink is available.; Tensor Parallelism reduces latency by splitting matrix operations across multiple GPUs simultaneously.

    • A. Maximizing Pipeline Parallelism (PP) usually increases per-token latency because a token must pass through multiple pipeline stages sequentially. While PP helps in fitting large models across GPUs and can improve throughput via pipelining multiple requests, it introduces 'bubbles' and sequential dependencies that increase TPOT.
    • B. Tensor Parallelism (TP) is the most effective strategy for reducing latency within a single node. By splitting the computation of individual layers across all 8 GPUs, the time required to compute each token is significantly reduced. This is highly dependent on high-speed interconnects like NVLink to handle the frequent synchronization required between GPUs.
    • C. This is the fundamental mechanism of Tensor Parallelism. By partitioning large matrix multiplications (sharding weights), the GPUs work in parallel on the same operation for the same token, directly lowering the compute time per token (TPOT).
    • D. Pipeline Parallelism does not process multiple layers simultaneously for a single token; the token must still traverse stages 1 through N in sequence. It allows different tokens or sequences to be processed in a pipeline fashion to improve throughput, but it does not reduce the latency of a single request.
    • E. Data Parallelism replicates the model across GPUs and processes different batches or requests independently. While this is excellent for scaling total throughput (Total Queries Per Second), it does not accelerate the processing time for a single individual request.

    Subdomain 3.2: Compare agent performance across tasks and datasets.

    14.You are using an 'LLM-as-a-Judge' to compare the performance of a customer service agent across three different regional datasets (North America, Europe, Asia). You notice the judge consistently scores the agent lower on the European dataset, but human evaluators score all three equally. What is the most likely cause of this discrepancy that you must correct in your evaluation pipeline?

    1. A.The LLM judge is experiencing catastrophic forgetting during the evaluation loop.
    2. B.The LLM judge has an inherent position bias, favoring the first dataset evaluated.
    3. C.The LLM judge's prompt lacks specific cultural or regional rubrics, leading to a misalignment with human evaluators.
    4. D.The agent is generating more tokens for the European dataset, which automatically lowers the LLM judge's score.
    Show answer & explanation

    Correct answer: CThe LLM judge's prompt lacks specific cultural or regional rubrics, leading to a misalignment with human evaluators.

    • A. Catastrophic forgetting is a phenomenon observed during model training or fine-tuning where new information overwrites old knowledge. It is not relevant to static evaluation tasks where the model's weights are not being updated.
    • B. Position bias refers to a model's tendency to favor options based on their placement in a sequence (e.g., preferring the first item in a list). While a known issue in LLM-as-a-Judge setups, it does not explain a consistent bias against a specific geographic dataset unless that dataset is always evaluated in a specific position, which is not suggested here.
    • C. This is the most likely cause. LLMs often have implicit biases based on their training data. If the evaluation prompt does not provide specific cultural or regional rubrics, the judge may apply a generic or North American-centric standard to European interactions, missing nuances that human evaluators correctly identify as high quality.
    • D. While LLMs can exhibit length bias, they typically suffer from 'verbosity bias,' where they provide higher scores to longer responses. There is no standard behavior where higher token counts automatically result in lower scores unless the prompt explicitly penalizes length.

    Subdomain 3.5: Analyze evaluation results to guide targeted optimization.

    15.When analyzing evaluation results for an NVIDIA NeMo Guardrails implementation, you notice a high rate of false positives where legitimate user queries are being blocked by a specific topical rail. Which configuration adjustment is the standard targeted optimization to reduce these false positives?

    1. A.Decrease the `temperature` setting in the guardrails configuration file.
    2. B.Increase the similarity threshold (`threshold`) for the canonical user messages in the topical rail.
    3. C.Switch the guardrails execution mode from `streaming` to `batch`.
    4. D.Remove the `generate_user_intent` flow from the guardrails configuration.
    Show answer & explanation

    Correct answer: BIncrease the similarity threshold (`threshold`) for the canonical user messages in the topical rail.

    • A. Decreasing the temperature setting affects the randomness and determinism of the model's text generation. It does not directly influence the matching logic or vector similarity thresholds used by topical rails to classify and block user inputs.
    • B. Topical rails often rely on vector similarity to match user inputs to canonical forms. Increasing the similarity threshold makes the matching criteria more stringent, ensuring that only queries with a high degree of similarity to the blocked topic trigger the rail, thereby reducing false positives.
    • C. Switching from streaming to batch mode changes the delivery and processing mechanism of the response (latency vs. throughput) but does not impact the classification logic or the decision-making process of the guardrails.
    • D. Removing the `generate_user_intent` flow would disable a fundamental component of the guardrail system's ability to classify inputs. This would likely cause the system to fail to identify blocked topics altogether rather than providing a targeted optimization for false positives.

    Domain 4: Deployment and Scaling

    Subdomain 4.4: Scale deployments using containerization (Docker, Kubernetes) with load balancing.

    16.How should the architect configure Kubernetes to scale the agent pods dynamically and efficiently handle sudden spikes in task volume?

    1. A.Configure a Horizontal Pod Autoscaler (HPA) using the cpu resource metric with a target average utilization of 80%.
    2. B.Implement a Kubernetes Event-driven Autoscaling (KEDA) ScaledObject configured to monitor the Redis queue length.
    3. C.Use a Vertical Pod Autoscaler (VPA) to dynamically increase the memory limits of the agent pods when the queue grows.
    4. D.Deploy a Kubernetes Cluster Autoscaler to add more GPU nodes whenever the Redis queue exceeds a predefined threshold.
    Show answer & explanation

    Correct answer: BImplement a Kubernetes Event-driven Autoscaling (KEDA) ScaledObject configured to monitor the Redis queue length.

    • A. Incorrect. While HPA can scale pods based on CPU utilization, it is often suboptimal for event-driven or queue-based agent workloads. Task backlogs can accumulate even when CPU utilization is low (e.g., if agents are waiting on external API responses), leading to reactive rather than proactive scaling.
    • B. Correct. KEDA (Kubernetes Event-driven Autoscaling) is designed to scale workloads based on external event sources like Redis. By monitoring the queue length directly, KEDA can scale agent pods horizontally in response to the actual workload backlog, ensuring efficient handling of sudden spikes.
    • C. Incorrect. VPA (Vertical Pod Autoscaler) adjusts the resource requests and limits of existing pods rather than the number of pods. It is better suited for right-sizing resources over time and often requires pod restarts, making it ineffective for handling rapid bursts in task volume.
    • D. Incorrect. The Cluster Autoscaler adds underlying worker nodes when the cluster lacks the capacity to schedule pending pods. It does not scale pods based on application-level metrics like a Redis queue; it is a complementary tool that provides infrastructure capacity for a pod autoscaler like KEDA to use.

    Subdomain 4.5: Optimize deployment costs while ensuring high availability.

    17.Which of the following strategies effectively optimize deployment costs while ensuring high availability in Agentic AI systems?(Select 2)

    1. A.Applying FP8 or INT8 weight-only quantization to the model.
    2. B.Configuring the agent to use a higher temperature setting during generation.
    3. C.Utilizing KV Cache Quantization to reduce memory consumed by concurrent requests.
    4. D.Disabling dynamic batching in the Triton Inference Server.
    5. E.Deploying the model using Pipeline Parallelism across multiple physical nodes.
    Show answer & explanation

    Correct answers: A, CApplying FP8 or INT8 weight-only quantization to the model.; Utilizing KV Cache Quantization to reduce memory consumed by concurrent requests.

    • A. Applying FP8 or INT8 quantization reduces the model's memory footprint and computational requirements. This allows for higher throughput and the use of less expensive hardware (or fewer GPU nodes), directly reducing deployment costs while maintaining the ability to serve requests reliably.
    • B. Temperature is a sampling parameter that influences the randomness and creativity of the model's output. It affects the quality and variability of the text but does not reduce memory usage, compute cycles, or infrastructure costs.
    • C. KV Cache Quantization reduces the memory consumed by the attention mechanism's key-value caches during inference. This is especially valuable for handling high concurrency or long-context windows, as it allows more requests to fit on the same hardware, thereby optimizing throughput and cost-per-request.
    • D. Dynamic batching is a critical feature for cost optimization. It groups multiple inference requests together to maximize GPU utilization and throughput. Disabling it leads to underutilized hardware and higher costs per inference request.
    • E. While Pipeline Parallelism enables the execution of models too large for a single GPU, deploying across multiple physical nodes introduces significant communication overhead and network latency. It is typically a requirement for scaling massive models rather than a primary strategy for cost optimization or enhancing high availability.

    Domain 5: Cognition, Planning, and Memory

    Subdomain 5.5: Adapt reasoning strategies based on prior experiences and feedback.

    18.A financial analysis agent frequently hallucinates regulatory citations when drafting compliance reports. To adapt its reasoning, the developers introduce a secondary agent that reviews the primary agent's drafts against a retrieved vector database of regulations, provides natural language feedback on inaccuracies, and forces the primary agent to revise its output. What is this specific architectural pattern called?

    1. A.Actor-Critic Reinforcement Learning
    2. B.Self-Consistency Prompting
    3. C.Multi-agent debate with iterative refinement
    4. D.Direct Preference Optimization (DPO)
    Show answer & explanation

    Correct answer: CMulti-agent debate with iterative refinement

    • A. Actor-Critic Reinforcement Learning is a training paradigm where an actor generates actions and a critic evaluates them using reward signals to improve a policy. While it shares some terminology, the scenario describes a runtime architectural workflow between two agents using natural language feedback and external data retrieval (RAG), rather than a classic reinforcement learning training loop.
    • B. Self-consistency prompting is a technique where multiple reasoning paths are sampled from the same model and the most frequent or consistent answer is selected. It does not involve a separate reviewer agent or an iterative feedback loop for revising output based on external evidence.
    • C. Multi-agent debate with iterative refinement (often referred to as Reflection or Reviewer-based workflows) involves separate agents taking on distinct roles—one as a generator and another as a critic. The reviewer checks outputs against external sources (like a vector database), provides feedback, and requires the generator to refine its response. This process improves accuracy and reduces hallucinations through iterative cycles.
    • D. Direct Preference Optimization (DPO) is an offline alignment and fine-tuning method used to train language models based on preference data (choosing between a 'better' and 'worse' response). It is not a runtime interactive architecture involving multiple agents and natural language feedback loops.

    Subdomain 5.1: Implement memory mechanisms for short- and long-term context retention.

    19.You are building a conversational agent using NVIDIA NeMo Guardrails. You need the agent to remember a specific user preference (e.g., 'account_type') extracted during the conversation and use it to route future dialogue flows within the Colang scripts. What is the standard method for retaining this short-to-medium-term context?

    1. A.Store the preference in a local text file and write a Python script to parse it before every turn.
    2. B.Set the preference as a context variable in Colang (e.g., $account_type) so it persists in the session state.
    3. C.Fine-tune the underlying LLM on the user's account type dynamically during the session.
    4. D.Use a time-weighted vector retriever to fetch the account type from a vector database on every user input.
    Show answer & explanation

    Correct answer: BSet the preference as a context variable in Colang (e.g., $account_type) so it persists in the session state.

    • A. Storing preferences in a local text file is inefficient, non-standard, and introduces unnecessary I/O latency. It does not integrate natively with the Colang session state or flow routing logic provided by NeMo Guardrails.
    • B. Setting context variables in Colang (identified by the '$' prefix) is the native and standard mechanism for session-based memory in NeMo Guardrails. These variables persist throughout the session and allow developers to perform conditional routing and logic within the dialogue flows.
    • C. Fine-tuning is a process for adapting a model to a domain or style and is not suitable for real-time session state management. Dynamically fine-tuning an LLM during a conversation is computationally prohibitive and would not provide the instantaneous state updates required for flow control.
    • D. While vector databases and time-weighted retrievers are used for long-term memory or external knowledge retrieval, they are excessive for simple session-level variables like user preferences. They introduce unnecessary complexity and latency compared to native session state variables.

    Subdomain 5.4: Manage stateful orchestration to coordinate complex tasks and knowledge retention.

    20.An agent orchestrates a complex supply chain task. Step 3 involves calling an external inventory API that is highly rate-limited and frequently returns 429 Too Many Requests errors. How should the stateful orchestrator be designed to handle this failure without restarting the entire reasoning chain from Step 1?

    1. A.Catch the error, append the error message to the LLM's prompt, and ask the LLM to wait 10 seconds before generating the next token.
    2. B.Configure the node executing Step 3 to raise an exception that halts the graph, relying on the user to manually restart the script.
    3. C.Define a conditional edge in the state graph that catches the 429 error, increments a retry counter in the state, and routes back to the API node with exponential backoff until successful or a limit is reached.
    4. D.Store the entire state in a relational database and use a SQL trigger to automatically re-invoke the API when the rate limit resets.
    Show answer & explanation

    Correct answer: CDefine a conditional edge in the state graph that catches the 429 error, increments a retry counter in the state, and routes back to the API node with exponential backoff until successful or a limit is reached.

    • A. Appending the error to the prompt is insufficient for control-flow management, and asking an LLM to 'wait' during token generation is not a robust or reliable mechanism for handling network rate limits. This approach conflates the reasoning layer with the orchestration layer and does not provide a reliable retry policy.
    • B. Halting the graph for manual intervention defeats the purpose of an autonomous stateful orchestrator. This approach fails to provide automated recovery or utilize the state to resume execution, resulting in wasted progress from steps that succeeded previously.
    • C. Implementing a conditional edge with a retry counter in the state allows the graph to loop back to the specific failed node rather than restarting from the beginning. Combining this with exponential backoff is a standard resilient design pattern (common in frameworks like LangGraph) that enables automatic recovery while maintaining the agent's progress and state.
    • D. While state persistence is valuable for durability, using SQL triggers to handle API retries is an architectural anti-pattern for orchestration. It adds unnecessary complexity and decouples the retry logic from the agent's control flow, making the system significantly harder to maintain and debug.

    Domain 6: Knowledge Integration, and Data Handling

    Subdomain 6.3: Build extract, transform, and load (ETL) pipelines to integrate enterprise or client data sources.

    21.In an ETL pipeline designed for an LLM agent, at which stage is it most critical to implement Personally Identifiable Information (PII) redaction to ensure compliance and prevent data leakage in vector stores?

    1. A.During the Load phase, immediately after the data is written to the vector database.
    2. B.During the Extract or early Transform phase, before the data is chunked and sent to the embedding model.
    3. C.During the generation phase, by instructing the LLM agent via system prompts to ignore PII in the retrieved context.
    4. D.During the retrieval phase, by filtering the vector search results before sending them to the agent.
    Show answer & explanation

    Correct answer: BDuring the Extract or early Transform phase, before the data is chunked and sent to the embedding model.

    • A. Implementing PII redaction after the data is written to the vector database is too late. Once the data is loaded, embeddings have already been generated from the sensitive text and persisted, making it difficult to fully remove the risk and potentially exposing the data through similarity searches or direct retrieval.
    • B. The most critical time to redact PII is during the Extract or early Transform phase. This 'Shift Left' security approach ensures that sensitive information is never chunked, sent to an embedding model, or indexed in a vector store. This is the safest method for maintaining compliance and preventing data leakage at the source.
    • C. System prompts are not a reliable security boundary for PII. Instructing an LLM to ignore sensitive data does not prevent that data from being stored in the embeddings or loaded into the context window, where it could still be accessed or leaked via prompt injection.
    • D. Filtering at the retrieval phase can reduce the immediate exposure of PII in a model response, but it does not address the fact that the sensitive data remains stored and indexed within the vector database, which still constitutes a compliance and security risk.

    Subdomain 6.5: Enable real-time access and reasoning over structured and unstructured knowledge.

    22.An enterprise agent needs to answer a complex user query in real-time: 'What is the total revenue for Q3, and what were the main supply chain risks mentioned in the Q3 earnings call transcript?' The revenue data is stored in a PostgreSQL database, while the transcripts are stored in a vector database. How should the agentic workflow be designed to handle this efficiently?

    1. A.Implement a router agent with function calling that dispatches the revenue query to a Text-to-SQL tool and the risk query to a vector search tool, then synthesizes the results.
    2. B.Convert the entire PostgreSQL database into text documents and ingest them into the vector database to allow a single similarity search.
    3. C.Use a Text-to-SQL agent exclusively and prompt it to infer the supply chain risks based on the revenue fluctuations.
    4. D.Concatenate the entire SQL database schema, data rows, and the earnings transcript into the LLM's context window for a single zero-shot inference.
    Show answer & explanation

    Correct answer: AImplement a router agent with function calling that dispatches the revenue query to a Text-to-SQL tool and the risk query to a vector search tool, then synthesizes the results.

    • A. Correct. This approach utilizes a router agent to decompose the query into structured and unstructured sub-tasks. Text-to-SQL is the standard for high-precision, deterministic retrieval from relational databases like PostgreSQL, while vector search is the industry standard for semantic retrieval from unstructured data like transcripts. The router then synthesizes these separate tool outputs into a unified answer.
    • B. Incorrect. Converting structured relational data into unstructured text for vector search is inefficient, lossy, and removes the ability to perform precise aggregations (like summing revenue). It introduces unnecessary latency and undermines the accuracy required for financial reporting.
    • C. Incorrect. Text-to-SQL tools cannot process unstructured text stored in a vector database. Furthermore, prompting an LLM to 'infer' risks from revenue fluctuations is unreliable and would likely lead to hallucination, as the query explicitly asks for risks mentioned in the transcript.
    • D. Incorrect. While some LLMs have very large context windows, stuffing raw database rows and full transcripts into the context is not scalable, cost-effective, or performant for real-time enterprise queries. It often leads to the 'lost in the middle' retrieval problem and exceeds token limits as the database grows.

    Subdomain 6.2: Configure and optimize vector databases for fast retrieval.

    23.When configuring a vector database, what is the primary trade-off of enabling memory-mapped files (mmap) for the vector index instead of loading it entirely into RAM?

    1. A.It increases indexing speed but reduces the maximum number of vectors that can be stored.
    2. B.It allows the index size to exceed available RAM at the cost of increased retrieval latency due to disk I/O.
    3. C.It improves recall accuracy but requires specialized GPU hardware to process the mapped files.
    4. D.It reduces disk storage requirements by compressing the vectors dynamically during the search phase.
    Show answer & explanation

    Correct answer: BIt allows the index size to exceed available RAM at the cost of increased retrieval latency due to disk I/O.

    • A. Memory-mapped files (mmap) do not inherently increase indexing speed or reduce the maximum number of vectors that can be stored. In fact, mmap is often used to support larger datasets than physical RAM can accommodate.
    • B. This is the primary trade-off. mmap allows the operating system to map a file into virtual memory, enabling the vector index to be larger than the available physical RAM. However, when the system accesses parts of the index not currently cached in RAM, it triggers page faults that require disk I/O, leading to higher and more unpredictable retrieval latency compared to fully RAM-resident indexes.
    • C. mmap is a memory management technique and does not affect the mathematical precision of the search algorithm or the recall accuracy. Furthermore, it is a standard operating system feature that does not require specialized GPU hardware.
    • D. mmap maps the existing file on disk into the address space; it does not perform dynamic compression or reduce the physical disk storage requirements. Compression is typically handled by quantization or encoding techniques separate from the memory-mapping mechanism.

    Domain 7: NVIDIA Platform Implementation

    Subdomain 7.3: Optimize workflows with the NVIDIA NeMo Agent Toolkit.

    24.The NeMo Agent Toolkit allows developers to connect agents to external enterprise systems using standard API specifications. When integrating a third-party REST API as a tool within the toolkit, which format is natively supported to automatically generate the tool schema and descriptions for the LLM?

    1. A.GraphQL Schema Definition Language (SDL)
    2. B.OpenAPI Specification (OAS)
    3. C.gRPC Protocol Buffers (.proto)
    4. D.Web Services Description Language (WSDL)
    Show answer & explanation

    Correct answer: BOpenAPI Specification (OAS)

    • A. GraphQL Schema Definition Language (SDL) is used for defining schemas for GraphQL APIs. While it describes API capabilities, it is not the native standard format used by the NeMo Agent Toolkit for automatically generating REST tool metadata for LLMs.
    • B. The OpenAPI Specification (OAS) is the industry standard for describing RESTful APIs. The NeMo Agent Toolkit natively supports OAS (formerly Swagger) to automatically derive tool schemas, including endpoints, input parameters, and descriptions, enabling the LLM to interact with external enterprise systems seamlessly.
    • C. gRPC Protocol Buffers (.proto) define gRPC service interfaces and message types. While widely used in microservice architectures, they are not the native format for generating REST-based tool descriptions within the NeMo Agent Toolkit context.
    • D. Web Services Description Language (WSDL) is an XML-based language used to describe SOAP-based web services. It is considered a legacy standard compared to REST and is not natively used by the NeMo Agent Toolkit for automatic tool schema generation.

    Subdomain 7.5: Manage and optimize multimodal input pipelines on NVIDIA hardware.

    25.In a multi-GPU NVIDIA HGX system running a large multimodal model (e.g., LLaVA), what is the primary hardware-level advantage of utilizing NVLink and NVSwitch for the input pipeline's cross-modal attention layers?

    1. A.It allows the CPU to directly access GPU memory without passing through the PCIe bus, accelerating text tokenization.
    2. B.It provides high-bandwidth, low-latency GPU-to-GPU interconnects, enabling efficient distribution and synchronization of large image and text embeddings across multiple GPUs.
    3. C.It automatically compresses video input streams using hardware-accelerated NVENC before distributing them to the GPU memory.
    4. D.It enables GPUDirect Storage to bypass the system memory and load data directly from the network interface card (NIC).
    Show answer & explanation

    Correct answer: BIt provides high-bandwidth, low-latency GPU-to-GPU interconnects, enabling efficient distribution and synchronization of large image and text embeddings across multiple GPUs.

    • A. Incorrect. NVLink and NVSwitch are primarily GPU-to-GPU interconnect technologies designed to facilitate high-speed communication between GPUs. The CPU generally accesses GPU memory through the PCIe bus, and tokenization is typically a host-side or specialized preprocessing step not accelerated by inter-GPU links.
    • B. Correct. NVLink and NVSwitch provide high-bandwidth, low-latency interconnects between GPUs, which are critical for the synchronization and exchange of massive image and text embeddings in multimodal models. This is especially important for cross-modal attention layers that must aggregate information from different encoders distributed across a multi-GPU system.
    • C. Incorrect. NVENC is a dedicated hardware engine used for video encoding and is independent of the NVLink/NVSwitch interconnect fabric. NVLink handles data transport between GPUs but does not perform data compression.
    • D. Incorrect. This describes GPUDirect Storage or GPUDirect RDMA (for NICs). While these are NVIDIA technologies, they focus on optimizing I/O paths between storage/network and GPU memory, whereas NVLink/NVSwitch focus specifically on peer-to-peer GPU communication for compute workloads.

    Domain 8: Run, Monitor, and Maintain

    Subdomain 8.2: Track logs, errors, and anomalies for root cause diagnosis.

    26.In the context of monitoring an agentic Retrieval-Augmented Generation (RAG) application, which logged evaluation metric is most directly used to detect anomalies related to the agent fabricating information that is not present in the retrieved documents?

    1. A.Time to First Token (TTFT)
    2. B.Context Relevance score
    3. C.Faithfulness (Groundedness) score
    4. D.Tool Selection Accuracy
    Show answer & explanation

    Correct answer: CFaithfulness (Groundedness) score

    • A. Incorrect. Time to First Token (TTFT) is a performance and latency metric that measures the time from the initial request to the generation of the first token. It is used for monitoring system efficiency and user experience, not the factual accuracy or truthfulness of the content.
    • B. Incorrect. Context Relevance evaluates how well the retrieved documents align with the user's original query. While it is a key part of the RAG triad for assessing retrieval quality, it does not verify if the final generated response is actually derived from that context.
    • C. Correct. Faithfulness (or Groundedness) is the specific metric used to measure whether the generated response is supported by the retrieved documents. This is the primary tool for detecting hallucinations or fabricated information in RAG-based systems.
    • D. Incorrect. Tool Selection Accuracy measures the agent's ability to correctly identify and call the appropriate tools or APIs for a given sub-task. It monitors the agent's decision-making logic rather than the factual grounding of its final text output.

    Subdomain 8.1: Define monitoring dashboards and reliability metrics.

    27.You are defining the Service Level Objectives (SLOs) for a financial advisory agent. The agent uses a Retrieval-Augmented Generation (RAG) architecture to pull financial reports and synthesize advice using external tools. You need to establish a reliability metric specifically to monitor the risk of the agent providing advice that is not supported by the retrieved documents. Which metric should be integrated into the monitoring dashboard to track this specific reliability concern?

    1. A.Context Relevance score evaluated via cross-encoder models.
    2. B.Groundedness (Faithfulness) score calculated via an LLM-as-a-judge evaluator.
    3. C.Answer Similarity score compared against a static golden dataset.
    4. D.Retrieval Mean Reciprocal Rank (MRR) of the vector database.
    Show answer & explanation

    Correct answer: BGroundedness (Faithfulness) score calculated via an LLM-as-a-judge evaluator.

    • A. Incorrect. Context Relevance evaluates whether the retrieved context is relevant to the user's query. While critical for the retrieval component, it does not verify whether the model's final response is factually supported by that retrieved context or if it introduced hallucinations.
    • B. Correct. Groundedness (also known as Faithfulness) is the specific metric used to ensure that the claims made in a generated response are derived exclusively from the retrieved context. Using an LLM-as-a-judge to evaluate this relationship is a standard industry practice for monitoring RAG reliability and preventing ungrounded advice.
    • C. Incorrect. Answer Similarity measures how closely the output matches a predefined 'golden' reference answer. While useful for benchmarking during development, it does not dynamically assess if the response is supported by the specific documents retrieved during a live session.
    • D. Incorrect. Mean Reciprocal Rank (MRR) is a retrieval metric that measures the effectiveness of the search ranking. It tells you how well the vector database is finding relevant chunks but provides no information regarding the generation phase or the faithfulness of the synthesized advice.

    Subdomain 8.5: Ensure continuous uptime, transparency, and trust in live deployments.

    28.A healthcare triage agent relies on a large, high-parameter LLM for complex medical reasoning. During peak hours, the primary inference server frequently hits rate limits, causing timeouts and degrading the user experience. Which architectural approach best ensures continuous uptime and resiliency for this live deployment?

    1. A.Implement a circuit breaker that immediately routes all traffic to a smaller, local 8B parameter model whenever latency exceeds 2 seconds, regardless of the query complexity.
    2. B.Queue incoming user requests in a message broker and process them asynchronously, notifying the user via email when the agent's response is ready.
    3. C.Deploy semantic caching for frequent queries and configure an automatic fallback routing mechanism to a secondary inference endpoint hosting an equivalent model.
    4. D.Increase the temperature parameter of the primary model during peak loads to force the LLM to generate tokens at a faster rate.
    Show answer & explanation

    Correct answer: CDeploy semantic caching for frequent queries and configure an automatic fallback routing mechanism to a secondary inference endpoint hosting an equivalent model.

    • A. While a circuit breaker helps prevent repeated failures, routing all traffic to a significantly smaller 8B model regardless of complexity risks losing the nuanced medical reasoning required for triage. This approach solves availability at the cost of clinical accuracy and safety.
    • B. Asynchronous queuing and email notifications introduce unacceptable latency for a healthcare triage workflow, where immediate feedback is often critical. This method manages load but fails to meet the requirement for real-time responsiveness in a live deployment.
    • C. This is the most robust solution. Semantic caching reduces the total number of calls to the LLM by reusing responses for similar queries, while an automatic fallback to an equivalent secondary model ensures redundancy and high availability when the primary provider reaches its rate limits.
    • D. Increasing the temperature parameter controls the randomness and creativity of the model's output; it does not increase the hardware processing speed, bypass rate limits, or resolve server timeouts.

    Domain 9: Safety, Ethics, and Compliance

    Subdomain 9.3: Mitigate bias and toxicity in outputs.

    29.Which of the following benchmarks is specifically designed to evaluate the toxicity of language model outputs by providing a large set of prompts with varying degrees of expected toxicity?

    1. A.RealToxicityPrompts
    2. B.MMLU (Massive Multitask Language Understanding)
    3. C.TruthfulQA
    4. D.HumanEval
    Show answer & explanation

    Correct answer: ARealToxicityPrompts

    • A. RealToxicityPrompts is a dataset specifically created to measure toxic degeneration in language models. It contains 100,000 naturally occurring prompts with varying degrees of toxicity (as scored by the Perspective API) to evaluate how likely a model is to produce toxic continuations.
    • B. MMLU (Massive Multitask Language Understanding) is a broad benchmark designed to measure a model's general knowledge and reasoning capabilities across 57 subjects. It is not intended to assess the safety, toxicity, or bias of model outputs.
    • C. TruthfulQA is designed to evaluate whether models generate truthful answers and avoid common human misconceptions or false beliefs. While it is a safety-related benchmark regarding misinformation, it is not focused on toxicity.
    • D. HumanEval is a benchmark used to evaluate the functional correctness of code generated by language models. It tests programming ability and logic rather than the safety or toxicity of natural language generation.

    Subdomain 9.5: Ensure compliance with licensing and regulatory standards.

    30.When designing an agentic AI system that processes European citizens' data, compliance with the General Data Protection Regulation (GDPR) is required. Which two architectural practices are essential for ensuring the agent complies with GDPR principles such as data minimization and the 'right to be forgotten'?(Select 2)

    1. A.Storing all user-agent interaction logs immutably on a public blockchain to ensure auditability.
    2. B.Implementing a PII redaction guardrail before user prompts are sent to external LLM APIs.
    3. C.Fine-tuning the foundation model continuously on all raw user interactions to improve the agent's contextual accuracy.
    4. D.Designing the vector database in the RAG pipeline with document-level access controls and the ability to selectively delete specific user records.
    5. E.Disabling all system prompts and relying solely on few-shot examples to guide the agent's behavior.
    Show answer & explanation

    Correct answers: B, DImplementing a PII redaction guardrail before user prompts are sent to external LLM APIs.; Designing the vector database in the RAG pipeline with document-level access controls and the ability to selectively delete specific user records.

    • A. Storing data immutably on a blockchain directly contradicts the GDPR 'right to be forgotten' (Article 17), which requires that individuals have the ability to request the deletion of their personal data.
    • B. Implementing a PII (Personally Identifiable Information) redaction guardrail ensures that only the minimum necessary data is processed and shared with third-party APIs, adhering to the principle of data minimization.
    • C. Continuously fine-tuning on raw user interactions increases the risk of the model memorizing personal data and makes it difficult to selectively delete that data, which complicates compliance with erasure requests.
    • D. The ability to selectively delete specific user records in the vector database is essential for satisfying 'right to be forgotten' requests. Document-level access controls ensure that data is only accessible to authorized users, supporting integrity and confidentiality.
    • E. Disabling system prompts is a prompt engineering choice that impacts the agent's performance and safety steering, but it does not provide a mechanism for data minimization or regulatory compliance.

    Subdomain 9.1: Design and enforce system security and audit trails.

    31.An enterprise is building a coding assistant agent capable of writing, compiling, and testing Python code based on user requests. The agent must execute the generated code to verify its functionality before returning the result to the user. Which design pattern provides the most robust security against Remote Code Execution (RCE) vulnerabilities in this scenario?

    1. A.Parse the generated code using an Abstract Syntax Tree (AST) to filter out any 'import os' or 'import sys' statements before executing it natively on the host.
    2. B.Run the code in a dedicated Python virtual environment (venv) on the host machine using a non-root user account.
    3. C.Execute the generated code within an ephemeral, unprivileged Docker container with network access disabled and strict CPU/Memory resource quotas.
    4. D.Require a human administrator to manually review and approve every line of code via an approval workflow before the agent is allowed to execute it.
    Show answer & explanation

    Correct answer: CExecute the generated code within an ephemeral, unprivileged Docker container with network access disabled and strict CPU/Memory resource quotas.

    • A. Filtering specific import statements using an AST is a blacklist-based approach that is easily bypassed through techniques like dynamic execution (e.g., using __import__ or getattr), string obfuscation, or leveraging other standard library modules. Furthermore, executing code natively on the host machine poses a critical risk if the filter is bypassed.
    • B. A Python virtual environment (venv) is designed for managing dependencies and preventing version conflicts, not for security isolation. Even with a non-root user, the process still shares the host's kernel and can potentially access sensitive local resources, files, or network services reachable by that user account.
    • C. Executing untrusted code in an ephemeral, unprivileged Docker container provides a robust sandbox that isolates the execution environment from the host machine. Disabling network access prevents data exfiltration and command-and-control (C2) communication, while resource quotas prevent Denial-of-Service (DoS) attacks. This multi-layered approach effectively minimizes the 'blast radius' of any malicious code.
    • D. While human-in-the-loop (HITL) review adds a layer of governance, it is not a scalable technical control for an automated agent. Manual review is prone to human error, particularly with highly obfuscated code, and introduces significant latency that breaks the utility of a real-time coding assistant.

    Domain 10: Human-AI Interaction and Oversight

    Subdomain 10.2: Design structured feedback loops that guide iterative agent improvements.

    32.A medical research agent retrieves and synthesizes clinical trial data. To improve the agent iteratively, domain experts review the agent's reasoning traces. However, the experts find it too time-consuming to rewrite the agent's entire reasoning path (demonstrations) to correct its mistakes. How should the feedback loop be designed to minimize expert cognitive load while still providing effective data for iterative model alignment?

    1. A.Transition to Supervised Fine-Tuning (SFT) by having experts write optimal reasoning traces from scratch for a smaller subset of queries.
    2. B.Implement a pairwise comparison interface where experts simply select the better of two generated reasoning traces to train a reward model.
    3. C.Use an unsupervised learning approach where the agent clusters its own reasoning traces and self-assigns reward scores based on cluster density.
    4. D.Require experts to provide a continuous scalar score (0.0 to 1.0) for every single step in the agent's reasoning trajectory.
    Show answer & explanation

    Correct answer: BImplement a pairwise comparison interface where experts simply select the better of two generated reasoning traces to train a reward model.

    • A. Having experts write full optimal reasoning traces from scratch is highly burdensome and fails to minimize cognitive load. While this supervised fine-tuning (SFT) approach is effective for data quality, it scales poorly for complex medical reasoning tasks where experts' time is limited.
    • B. Implementing a pairwise comparison interface reduces expert effort significantly because reviewers only need to select the better of two traces rather than synthesize a new solution. This is a standard and effective method (often used in RLHF) to collect preference data for training a reward model, which then guides iterative model alignment with much lower cognitive overhead.
    • C. Unsupervised clustering and self-assigned rewards based on cluster density do not provide reliable human alignment, particularly in high-stakes domains like medical research. Without expert oversight, the agent may converge on plausible-sounding but factually incorrect reasoning patterns.
    • D. Requiring a scalar score for every single step in a trajectory is often more cognitively demanding and time-consuming than evaluating the whole output. It imposes a massive annotation burden and provides less natural guidance than simple preference-based comparisons.

    Subdomain 10.1: Build intuitive UIs with user-in-the-loop interaction.

    33.An autonomous agent pauses its execution graph to request user clarification via the UI to disambiguate a database query. The user closes their browser and fails to provide input. How should the system be designed to handle this scenario gracefully without leaving orphaned processes or permanently locked states?

    1. A.Implement a Time-To-Live (TTL) on the paused state checkpoint; a background job should transition the graph to a 'timeout/failed' node if no user input is received within the threshold.
    2. B.Keep the WebSocket connection open indefinitely on the server side so the agent thread remains active until the user reconnects.
    3. C.Configure the agent's LLM to automatically hallucinate a likely user response after 10 minutes to ensure the graph completes execution.
    4. D.Delete the entire user session and database history immediately upon WebSocket disconnection to prevent memory leaks.
    Show answer & explanation

    Correct answer: AImplement a Time-To-Live (TTL) on the paused state checkpoint; a background job should transition the graph to a 'timeout/failed' node if no user input is received within the threshold.

    • A. Correct. Implementing a Time-To-Live (TTL) on the paused state checkpoint ensures that the system does not remain indefinitely in a suspended state. A background timeout handler provides a clean recovery path by transitioning the graph to a failure or timeout node, releasing resources and avoiding orphaned processes.
    • B. Incorrect. Keeping a connection open indefinitely is poor resource management and leads to server leaks. It does not handle the core issue of the workflow state being stuck if the user never returns, potentially leaving execution threads or workflow states hanging.
    • C. Incorrect. Having the LLM invent user intent undermines safety, correctness, and user control. Automatically fabricating responses can lead to incorrect database queries or unintended actions, violating fundamental human-in-the-loop design principles.
    • D. Incorrect. Immediate deletion is too destructive and results in a poor user experience. It discards valuable state information needed for auditing or potential session resumption. The system should preserve the checkpoint for a specific duration rather than deleting everything on disconnect.

    Subdomain 10.4: Enable human oversight and intervention for accountability and trust.

    34.In the context of agentic AI systems, which mechanism is primarily responsible for ensuring post-hoc accountability by allowing human overseers to reconstruct the exact sequence of an agent's actions?

    1. A.Reinforcement Learning from Human Feedback (RLHF)
    2. B.Semantic caching of LLM responses
    3. C.Deterministic execution tracing with immutable audit logs
    4. D.Automated system prompt optimization
    Show answer & explanation

    Correct answer: CDeterministic execution tracing with immutable audit logs

    • A. RLHF is a technique used during the alignment and training phase to tune model behavior based on human preferences; however, it does not provide a runtime mechanism for recording or reconstructing the specific actions taken by an agent during execution.
    • B. Semantic caching is used to improve latency and reduce costs by storing and reusing responses for similar queries. It is an efficiency mechanism, not an accountability tool, and does not provide the necessary data to reconstruct a sequence of agent behaviors.
    • C. Deterministic execution tracing with immutable audit logs ensures that every step an agent takes—including inputs, intermediate reasoning, tool calls, and outputs—is recorded in a tamper-proof manner. This provides a verifiable trail that allows human auditors to reconstruct the exact sequence of events for post-hoc accountability and investigation.
    • D. Automated system prompt optimization is used to refine instructions to improve model performance or reliability. While it influences how an agent behaves, it does not record the agent's runtime actions or facilitate post-event analysis of what occurred.

    Subdomain 10.3: Implement transparency mechanisms (explainable reasoning, decision traceability).

    35.Which prompting framework inherently provides the highest level of decision traceability by explicitly interleaving reasoning traces with task-specific actions and environmental observations?

    1. A.Zero-shot prompting
    2. B.Self-Consistency
    3. C.ReAct (Reasoning and Acting)
    4. D.Directional Stimulus Prompting
    Show answer & explanation

    Correct answer: CReAct (Reasoning and Acting)

    • A. Zero-shot prompting asks the model to perform a task directly without examples or intermediate reasoning steps. Because it skips the internal decision-making process and action-observation loops, it offers very little inherent decision traceability.
    • B. Self-Consistency involves sampling multiple reasoning paths and selecting the most consistent result to improve accuracy. While it uses Chain-of-Thought reasoning, it does not inherently interleave those traces with external actions or environmental observations.
    • C. ReAct (Reasoning and Acting) explicitly alternates between reasoning steps ('Thoughts'), external actions ('Actions'), and environmental feedback ('Observations'). This interleaving provides a transparent, step-by-step trace of how the agent arrives at a decision based on its interactions with an environment.
    • D. Directional Stimulus Prompting uses a separate stimulus (like a hint or cue) to guide the LLM's response in a specific direction. It is a technique for steering output rather than a framework for creating structured, traceable action-observation logs.

    Want the full experience?

    These are just samples. Practice the full NVIDIA-Certified Professional: Agentic AI question bank in quiz mode — free, no signup, with domain practice and exam simulation.