AWS Certification Exam AI Practitioner (Practice Questions) set14

問題 38 / 65

What is the most direct measure to prevent prompt tampering (prompt injection) caused by malicious input from external sources?

Provide additional few-shot examples.
Only carry out post-checks of the output results.
Always enable Chain-of-Thought.
Set the temperature to 0 to make it deterministic.
Sanitize and validate input.

当サイトでは、ユーザー体験の向上を目的としてCookieを使用しています。サイトの利用を継続することで、Cookieの使用に同意したものとみなされます。