Your question is Preventing SQL Injection. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
What measures do you take to prevent SQL injection vulnerabilities in legacy and modern codebases?
Explain how your approach differs between newly developed services and inherited applications that use raw SQL, stored procedures, or multiple database drivers. Cover preventive controls, compensating controls, verification methods, and what you would do if testing discovered an exploitable query.
Be specific about developer tooling, deployment gates, database permissions, runtime monitoring, and remediation prioritization.