Home / AWS Certified AI Practitioner (AIF-C01) / 2 Practice / AWS-AIF-256
An application sends fixed policy and a user question.
Do not let user text rewrite safety policy.
Choose two designs.
Hint 1: Focus on the requirement Keep trusted policy instructions separate from untrusted user data, and validate the boundary before the model interprets either one.
Hint 2: Key terms Review instruction hierarchy and data boundaries.
System instructionA trusted instruction that defines an application's role, policy, or safety constraints.
User inputContent supplied by an end user that should be treated according to its trust and authorization scope.
Data boundaryA separation that prevents external values from being interpreted as trusted commands.
Prompt injectionAn attempt to alter model behavior by inserting instructions into untrusted content. × Incorrect Keep fixed role and safety instructions trusted and delimit user input as data validated for length, content, and authorization.
Detailed explanation A Incorrect Always follow the user's final text first
Application constraints can be overwritten.
B Incorrect Embed secrets directly in the fixed prompt
Prompts and logs can expose secrets.
C Correct Manage fixed role, policy, and safety constraints as trusted instructions
Application behavior remains consistent.
D Correct Delimit user input as data and validate length, content, and authorization
External text is less able to alter policy.
Check official documentation Compare the following points with the official documentation.
AWS公式AIF-C01 Domain 2.2・2.3のプロンプト役割、入力検証、生成AIセキュリティを確認する。
Official references Official documentation 1 Official documentation 2 What to confirm 固定指示と利用者入力の優先順位・境界を安全に設計できる。
Key points Fixed policy User input Delimiting Notes Environment: AWS公式AIF-C01試験ガイドとAWS公式ドキュメントの確認 Compare the definition with the AIF-C01 objective and the service documentation before applying it. Keep the concept separate from a particular answer choice or implementation step. Foundation review System instruction A trusted instruction that defines an application's role, policy, or safety constraints.
User input Content supplied by an end user that should be treated according to its trust and authorization scope.
Path & Pass is an independent learning site and is not affiliated with any certification body. Questions are original practice content based on published objectives.