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, supporting 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, not resistance to tool-output command injection.
Lower-trust document text cannot confer access or override tool policy. It solves source-origin prompt injection protection, not resistance to tool-output command injection.
Jailbreaking attempts to override system behavior with adversarial prompts. That addresses adversarial role spoofing defense, not resistance to tool-output command injection.






AWS Certified AI Practitioner AIF-C01 Practice Tests