Question 220
A retrieval application concatenates user-provided filters directly into a database query. An AI browser action attempts to open a suspicious external site from an untrusted support ticket. What is the most appropriate plan for this situation?
Explanation
Correct Answer
Safe query construction prevents user text from becoming executable query syntax. Untrusted content must not direct privileged automation to arbitrary endpoints.
Incorrect Answers
Require authenticated users and scoped server-side authorization for refund actions; validate outbound destinations and require approval for risky external actions. The required control is to use parameterized queries and allowlisted operations for untrusted input.
Use parameterized queries and allowlisted operations for untrusted input.
Use parameterized queries and allowlisted operations for untrusted input; Treat retrieved content as data and enforce application-level instruction boundaries: untrusted content must not direct privileged automation to arbitrary endpoints.





AI Transformation Leader (AB-731) Practice Tests