Bird
0
0

Which of the following is a key reason to use stored procedures for database security?

easy📝 Conceptual Q2 of 15
SQL - Stored Procedures and Functions
Which of the following is a key reason to use stored procedures for database security?
AThey automatically encrypt all data in the database
BThey allow hiding the underlying table structures from users
CThey prevent any user from running queries
DThey replace the need for user authentication
Step-by-Step Solution
Solution:
  1. Step 1: Understand stored procedure security

    Stored procedures can restrict direct access to tables by exposing only controlled operations.
  2. Step 2: Compare with other options

    Stored procedures do not encrypt data automatically, nor do they replace authentication or block all queries.
  3. Final Answer:

    They allow hiding the underlying table structures from users -> Option B
  4. Quick Check:

    Security by abstraction = B [OK]
Quick Trick: Stored procedures can hide table details for security [OK]
Common Mistakes:
  • Confusing stored procedures with encryption tools
  • Thinking stored procedures block all user queries
  • Assuming stored procedures replace login systems

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes