Claude認定 対策ノート

講座 › 分野4 評価、テスト、最適化

4.5 ログとトレースからの根本原因の切り分け

配点 2.5%Root-Cause Isolation from Logs and Traces

動かなくなったシステムの記録を読み、指示文の不備、検索の失敗、でたらめな出力、ツールや担当の誤り、モデルの合わなさのどれが真の原因かを切り分け、直し方を示す。

未読

記録を読んで、原因の層を切り分ける

図解:記録を読んで、原因の層を切り分ける

記録とは、出力、ツールの呼び出し、推論、途中の結果まで含む、試行の全記録です。採点が機能しているかは、多くの試行の記録と採点を、実際に読まないと分かりません。原因は、プロンプト、検索、ハルシネーション、ツールやサブエージェント、モデルの合わせ方のどの層かを順に絞ります。

出典:Demystifying evals for AI agents
A transcript (also called a trace or trajectory ) is the complete record of a trial, including outputs, tool calls, reasoning, intermediate results, and any other interactions.
https://www.anthropic.com/research/demystifying-evals-for-ai-agents(取得 2026-11-23)
出典:Demystifying evals for AI agents
You won't know if your graders are working well unless you read the transcripts and grades from many trials.
https://www.anthropic.com/research/demystifying-evals-for-ai-agents(取得 2026-11-23)
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
Isolating the root cause of a failing Claude system from its logs or traces among prompt failure, retrieval failure, hallucination, tool or subagent error, and model mismatch, and specifying the corrective action.
https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)

検索の失敗の手がかり

図解:検索の失敗の手がかり

文書を更新した後に、自信のある誤答が出て、モデルも遅延も変わっていないなら、検索が悪い文脈を渡していることを示します。この時は、まず、検索と索引の工程を調べます。

出典:Claude Certified Architect – Professional Exam Guide v1.1(2026年11月版・英語)
Confident-but-wrong answers following a document refresh, with model and latency unchanged, point to retrieval feeding the model poor context
https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)

ハルシネーションと、ツールの誤りへの手当て

図解:ハルシネーションと、ツールの誤りへの手当て

ハルシネーションには、分からないと答える許可を明示する、長い資料では先に逐語の引用を抜き出させる、主張ごとに出典を引かせて検証可能にする、が有効です。ツールの誤りは、生のやり取りの記録から見つけ、エラーの返し方を、正しい入力の例を示す形に直せます。

出典:Reduce hallucinations
**Allow Claude to say “I don’t know”:** Explicitly give Claude permission to admit uncertainty.
https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23)
出典:Reduce hallucinations
**Use direct quotes for factual grounding:** For tasks involving long documents (>20k tokens), ask Claude to extract word-for-word quotes first before performing its task.
https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23)
出典:Reduce hallucinations
**Verify with citations:** Make Claude’s response auditable by having it cite quotes and sources for each of its claims.
https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23)
出典:Writing effective tools for agents
Tool truncation and error responses can steer agents towards more token-efficient tool-use behaviors (using filters or pagination) or give examples of correctly formatted tool inputs.
https://www.anthropic.com/research/writing-tools-for-agents(取得 2026-11-23)
試験のポイント