Multiple choice technology security

As a preventive measure what needs to be done while accessing the Database?

  1. Use of dynamic Query with System Privilege Account

  2. Use of Prepared Statements

  3. Use Least Privilege Account

  4. Both 1 and 3

  5. Both 2 and 3

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Using prepared statements prevents SQL injection attacks by parameterizing queries. Using least privilege accounts limits potential damage from attacks by minimizing database permissions. Both are essential security practices.