Question 640
An agent reads a vendor response that embeds a fake JSON command to delete a storage bucket. Which option best matches the requested outcome?
Explanation
Correct Answer
Tool results must not be promoted to authority over application actions. It directly meets the stated need for resistance to tool-output command injection.
Incorrect Answers
Observability must not unnecessarily expose credentials or sensitive content. Its primary purpose is safe diagnostic prompt logging; this case instead requires resistance to tool-output command injection.
Lower-trust document text cannot confer access or override tool policy. The alternative solves source-origin prompt injection protection rather than the stated resistance to tool-output command injection.
Jailbreaking attempts to override system behavior with adversarial prompts. This option addresses adversarial role spoofing defense, not the requested resistance to tool-output command injection.






AWS Certified AI Practitioner AIF-C01 Practice Tests