CompTIA Tech+ FC0-U71 Practice Question
When developing a web application that requires the interaction with a relational database, which method is the BEST for manipulating and retrieving database information while adhering to good security practices?
Create and exclusively use stored procedures for all interactions from the web application.
Employ command-line tools to execute database statements from within the application code.
Utilize a database API with prepared statements and parameterized queries.
Build SQL queries by directly concatenating user inputs to construct dynamic queries.