Question 640
A generated URL contains an unsupported scheme and a downstream browser would open it without validation. Which TWO complementary actions provide an appropriate solution and the evidence needed to verify it? Select TWO.
Explanation
Correct Answers
Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. External text belongs to a lower trust tier than application instructions even when placed in the same model context. The appropriate response is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.
Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. External text belongs to a lower trust tier than application instructions even when placed in the same model context. Verify the prerequisites with: Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.
Incorrect Answers
Inspect stop_reason, response blocks, token budgets, tool call IDs and continuation policy. This step may apply to Message stop reasons and continuation states but is not one of the two required complementary decisions. The relevant pair is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. and Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.
Validate incoming and outgoing JSON shapes including required properties, types, bounds and versioned schema differences before downstream use. This step may apply to JSON contract and defensive parsing but is not one of the two required complementary decisions. The relevant pair is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. and Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.
A fresh workspace installs the same supported workflow without unexpected permissions or missing resources. This step may apply to Reusable plugin and skill dependency packaging but is not one of the two required complementary decisions. The relevant pair is: Sanitize and classify external inputs before prompt assembly, then apply allowlists and output validation at application boundaries. and Inspect input size, file provenance, malicious instructions, escaping, content classifications and rejection behavior. Situation: A generated URL contains an unsupported scheme and a downstream browser would open it without validation.

