D. To increase the query speed.
The real fact is that the use on Parameterization is definitely a security approach to prevent SQL injections. But this is not a DBA certifications. The term SQL Injection in not even mentioned in some books. Meanwhile, In Chapter 3 Databases and Data Acquisition, in Query Optimization, the first factor they mention is Parameterization, and quote: "Effective use of parameterization reduces the number of times the database has to parse individual queries".
C. To prevent SQL injections
Parameterization in query optimization involves using parameters instead of embedding values directly into the SQL statement. One of the primary reasons for parameterization is to prevent SQL injection attacks, where malicious SQL code is inserted into input fields by attackers. By parameterizing queries, input values are treated as data rather than executable code, reducing the risk of SQL injection vulnerabilities.
While improving query speed (option D) is also a potential benefit of parameterization, preventing SQL injections is typically the most critical reason for implementing parameterized queries in database applications.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.DA0-001 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
mohammed25helal
6 months, 3 weeks agoSwift_and_Quick
1 year ago