NCP-AAI practice question 21 of 25
When analyzing an agent's failure to complete multi-step financial analysis tasks, which evaluation approach best identifies prompt engineering improvements needed for reliable task decomposition and execution?
Full set: 118 questionsFor complex, multi-step tasks, failure often occurs in the intermediate reasoning or planning stages. A systematic approach is required to diagnose this. Testing with chain-of-thought (CoT) templates explicitly evaluates the model's reasoning process. Analyzing the step-by-step decomposition reveals where the agent's plan breaks down. Tracking success rates across different complexities helps identify the boundaries of the agent's capabilities. This structured, analytical approach directly targets the prompt's influence on task decomposition and execution, providing actionable insights for improvement, which is far superior to only checking the final answer or using generic prompts.
B. Optimizing for speed over reasoning quality is counterproductive for financial analysis, where accuracy and correctness are the primary requirements.
C. Testing only the final output is a black-box method that hides which intermediate step failed, making it impossible to debug the decomposition logic in the prompt.
D. Generic templates are unlikely to work for a specialized domain like finance, which requires specific terminology, formats, and reasoning patterns for reliable performance.
1. Wei, J., et al. (2022). Chain-of-Thought Prompting Elicits Reasoning in Large Language Models. arXiv preprint arXiv:2201.11903. This foundational paper demonstrates that prompting LLMs to generate intermediate reasoning steps (a chain of thought) improves performance on complex tasks, validating the focus on step-by-step decomposition analysis. (See Tables 3 and 4 for results).
2. Yao, S., et al. (2023). Tree of Thoughts: Deliberate Problem Solving with Large Language Models. arXiv preprint arXiv:2305.10601. This work extends CoT by exploring multiple reasoning paths, reinforcing the principle that evaluating and improving the intermediate thought process is key to solving complex tasks. (Section 2).
3. NVIDIA Developer Blog. (2023). A Practical Guide to Prompt Engineering with Llama 2. Discusses techniques like few-shot prompting and providing structured examples, which are core components of systematic prompt testing to improve task execution for specialized domains.
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…
