演習 › 全問
問題 Q1-32
24 / 120分野1・フックによる介入とデータ正規化
まだ解いていません。
エージェントの動作を、フックで制御するのが適切な場面を2つ選べ。
(2つ選べ)
(2つ選べ)
正解は A・B
- A正解です。呼び出しの前のフックで、方針違反を確実に止められます。
- B正解です。結果の後のフックで、形式を決定的にそろえられます。
- C誤りです。言葉遣いは、プロンプトで調整する性質のもので、確実な強制は要りません。
- D誤りです。提案はモデルに任せる内容で、フックで制御する必要がありません。
- E誤りです。会話の演出は、フックで確実にする性質のものではありません。
考え方:確実さが要る強制と、形式の正規化は、フックの出番。
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Implementing tool call interception hooks that block policy-violating actions (e.g., refunds exceeding $500) and redirect to alternative workflows (e.g., human escalation)https://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
Implementing PostToolUse hooks to normalize heterogeneous data formats (Unix timestamps, ISO 8601, numeric status codes) from different MCP tools before the agent processes themhttps://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)
出典:Claude Certified Architect – Foundations Exam Guide v1.0(英語)
The distinction between using hooks for deterministic guarantees versus relying on prompt instructions for probabilistic compliancehttps://everpath-course-content.s3-accelerate.amazonaws.com/instructor…(取得 2026-11-20)