演習 › 全問
問題 Q5-02
104 / 120分野5・会話コンテキストの管理
まだ解いていません。
注文の照会ツールが、1回の呼び出しで40以上の項目を返す。エージェントが使うのは配送状況など5項目だけだが、複数回の照会で、文脈が無駄な項目で埋まり、応答が不安定になった。最も適切な対策はどれか。
正解は D
- A回数を制限すると、必要な情報が得られません。
- B大きなモデルでも、不要な項目が文脈を占める問題は残ります。
- C再送すると、さらに文脈を圧迫します。
- D正解です。不要な項目は、文脈に積もる前に削ぎ落とします。関連する項目だけが残ります。
考え方:ツールの出力は、使う項目に絞ってから文脈に入れる。
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
How tool results accumulate in context and consume tokens disproportionately to their relevance (e.g., 40+ fields per order lookup when only 5 are relevant)https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Trimming verbose tool outputs to only relevant fields before they accumulate in context (e.g., keeping only return-relevant fields from order lookups)https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)