Prompt EngineeringIntermediate12 October 2026
Users provide text that may contain instructions such as "ignore all previous rules." What should the application do?
Pick an answer to see the explanation.
Answer
Separate untrusted content from instructions and validate outputs
Untrusted content should be clearly delimited and handled as data, while privileged instructions remain separate. Output validation and restricted tools add necessary protection because prompt placement alone is insufficient.
Learn more: Learn prompt engineering for real work →