NCP-AAI practice question 18 of 25
A planning agent repeatedly chooses unnecessary tool calls, increasing cost and latency. Which improvement is BEST?
Full set: 118 questionsThe core problem is inefficient decision-making by the planning agent, leading to unnecessary cost and latency. The most direct and effective solution is to refine the agent's decision-making logic. Optimizing tool selection policies, for instance through better prompt engineering or fine-tuning, improves the agent's ability to choose the correct tool for a given task. Adding decision constraints (e.g., using frameworks like NVIDIA NeMo Guardrails) explicitly prevents the agent from making known bad choices, such as calling redundant tools or entering loops. This approach systematically targets the root cause of the inefficiency.
B. Always calling every available tool would maximize cost and latency, making the existing problem significantly worse rather than solving it.
C. Increasing temperature introduces more randomness into the model's outputs, which would likely lead to more erratic and inefficient tool calls, not fewer.
D. Disabling evaluation logging would remove the very data needed to diagnose, understand, and fix the agent's poor performance.
1. NVIDIA NeMo Guardrails Documentation. "Preventing Tool Spamming." The documentation provides examples of defining guardrails to control an LLM's tool usage, directly addressing the problem of unnecessary or repeated tool calls by adding explicit constraints. (Accessed via NVIDIA Developer Zone).
2. Yao, S., et al. (2023). "ReAct: Synergizing Reasoning and Acting in Language Models." This paper explores how to structure agent prompts to improve the synergy between reasoning and tool use (acting), which is a form of optimizing the tool selection policy. arXiv:2210.03629.
3. Stanford University, CS324 Course. "Large Language Models." Course materials on agentic architectures discuss the challenges of planning and tool selection, where optimizing the model's policy is the primary method for improving performance and efficiency.
Keep practicing
Take the free NCP-AAI practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other NCP-AAI practice questions
- Question 1Which two design goals are MOST important for human-in-the-loop agent systems in regulate…
- Question 2A company plans to launch a multi-agent system that must serve thousands of users simulta…
- Question 3Which two orchestration methods are MOST suitable for implementing complex agentic workfl…
- Question 4You are designing an AI agent for summarizing medical documents that include images and t…
- Question 5A company is deploying a multi-agent AI system to handle large-scale customer interaction…
- Question 6A multi-agent workflow is failing because one agent completes tasks before dependent stat…
