Full AWS Practitioner Certification Question

You are working on a Python web app that processes user input via a form. The process_user_input() function takes a string input and stores it in a database. Concerned about SQL injection risks, you want to use GitHub Copilot to generate tests and suggest code improvements. def process_user_input ( user_input ): query = f "INSERT INTO users (name) VALUES ('{user_input}')" # Execute query in database return "Success" How can GitHub Copilot help you generate security tests and improve this code?