A public chat receives huge or unsafe inputs.
Reduce cost and attack surface.
Choose two controls.
Validate length, format, encoding, file type, rate, and dangerous instructions, with bounded errors, quarantine, review, and minimized logs.
Detailed explanation
Oversized and some attack inputs are reduced.
Oversized and some attack inputs are reduced.
A safe alternate path exists.
A safe alternate path exists.
Cost and attack surface grow.
Cost and attack surface grow.
Sensitive data remains.
Sensitive data remains.
Try it yourself
An example you can run in a temporary verification environment.
AWS公式AIF-C01 Domain 5.2・2.3の入力検証、インジェクション、レート制限を確認する。Expected result
入力を無条件にモデルへ渡さず、拒否・隔離・ログ保護を設計できる。Key points
- Input validation
- Limit
- Quarantine
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.