講座 › 分野5 ガバナンス、安全性、リスク管理
5.1 ガードレールの配置
配点 3.2%Guardrail Placement
悪用の経路に対して、ガードレールをどこに置くかを分析し、正当な使い方を損なわずに、その経路を塞ぐ制御を選ぶ。
未読
悪用の経路を決めてから、置く場所を選ぶ 読了

ガードレールは、どの経路を塞ぐかを決めてから、置く場所を選びます。同時に、正当な使い方を妨げないことが条件です。ログや確認は、あとから見つけたり、補ったりする対策で、不要な権限を外す対策ではありません。
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
Analyzing guardrail placement in a system design against a described misuse path, and selecting the control that closes the path without degrading a stated legitimate use case.https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)
出典:Claude Certified Architect – Professional Exam Guide v1.1(2026年11月版・英語)
Logging (A) and confirmations (C) are detective/compensating controls, not removal of unnecessary privilegehttps://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23)
入力側の防御は、層にして重ねる 読了

入力は、軽いモデルで事前に有害かを選別する、既知の注入のパターンを検査する、といった層を重ねて守ります。層を重ねると、単独の対策より強い防御になります。システムプロンプトの内容が漏れる懸念にも、対策があります。
出典:Mitigate jailbreaks and prompt injections
**Harmlessness screens:** Use a lightweight model such as Claude Haiku 5.5 to pre-screen user input before it reaches your main conversation.https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23)
出典:Mitigate jailbreaks and prompt injections
**Input validation:** Filter user input for known injection patterns before it reaches Claude.https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23)
出典:Mitigate jailbreaks and prompt injections
By layering these strategies, you create a robust defense against jailbreaking and prompt injections, ensuring your Claude-powered applications maintain the highest standards of safety and compliance.https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23)
出典:Reduce prompt leak
Prompt leaks can expose sensitive information that you expect to be “hidden” in your prompt.https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23)
実行の前で止める、決まった仕組み 読了

危険な操作は、実行の前に止めます。エージェントの実行の途中に差し込む仕組みで、許可する、止める、入力を書き換える、文脈を足す、を決められます。プロンプトに書いた指示は、モデルが選ぶもので、強制ではありません。強制できるのは、フックや、拒否の規則、サンドボックスです。
出典:Agent SDK hooks
**Block dangerous operations** before they execute, like destructive shell commands or unauthorized file accesshttps://code.claude.com/docs/en/agent-sdk/hooks.md(取得 2026-11-23)
出典:Agent SDK hooks
your callback returns an [output object](#outputs) that tells the agent what to do: allow the operation, block it, modify the input, or inject context into the conversation.https://code.claude.com/docs/en/agent-sdk/hooks.md(取得 2026-11-23)
出典:Best practices for Claude Code
Non-deterministic (Claude decides) | Deterministic (Claude Code enforces)https://code.claude.com/docs/en/best-practices.md(取得 2026-11-23)
試験のポイント
- 塞ぐ経路を決めてから、置く場所を選ぶ。正当な使い方は損なわない。
出典:Claude Certified Architect – Professional Exam Guide v1.1(12月7日発効・英語)
Analyzing guardrail placement in a system design against a described misuse path, and selecting the control that closes the path without degrading a stated legitimate use case.
https://cc.sj-cdn.net/instructor/6nizmqk8tpzpfjvt6qmmav7rh/public/1794…(取得 2026-11-23) - 入力の防御は、層を重ねる。
出典:Mitigate jailbreaks and prompt injections
By layering these strategies, you create a robust defense against jailbreaking and prompt injections, ensuring your Claude-powered applications maintain the highest standards of safety and compliance.
https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guard…(取得 2026-11-23) - 強制が要る制御は、プロンプトではなく、フックや規則で行う。
出典:Agent SDK hooks
**Block dangerous operations** before they execute, like destructive shell commands or unauthorized file access
https://code.claude.com/docs/en/agent-sdk/hooks.md(取得 2026-11-23)