Insert a user request into an internal FAQ prompt.
Prevent the request from changing safety rules or permissions.
Choose two appropriate implementations.
Separate trusted instructions from untrusted input and keep authorization outside model-generated text.
Detailed explanation
Untrusted text must not override system policy.
Untrusted text must not override system policy.
A trusted server-side control must enforce permissions.
A trusted server-side control must enforce permissions.
Text input has no authority.
Text input has no authority.
Hidden prompts do not stop malicious input or output.
Hidden prompts do not stop malicious input or output.
Try it yourself
An example you can run in a temporary verification environment.
AWS公式生成AIセキュリティとAIF-C01 Domain 2.3のプロンプトインジェクション対策を確認する。Expected result
役割分離とサーバー側認可の必要性を説明できる。Key points
- Trust boundary
- Role separation
- Authorization
Notes
- Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.