Question 610
A retrieved website instructs an assistant to send user secrets to an unrelated external endpoint. Which approach is MOST suitable?
Explanation
Correct Answer
Lower-trust document text cannot confer access or override tool policy. It directly meets the stated need for source-origin prompt injection protection.
Incorrect Answers
Jailbreaking attempts to override system behavior with adversarial prompts. That is useful for adversarial role spoofing defense, whereas the scenario requires source-origin prompt injection protection.
Tool results must not be promoted to authority over application actions. Its primary purpose is resistance to tool-output command injection; this case instead requires source-origin prompt injection protection.
Observability must not unnecessarily expose credentials or sensitive content. The alternative solves safe diagnostic prompt logging rather than the stated source-origin prompt injection protection.






AWS Certified AI Practitioner AIF-C01 Practice Tests