Bird
0
0

What is one key benefit of using a VIEW in SQL for security purposes?

easy📝 Conceptual Q1 of 15
SQL - Views
What is one key benefit of using a VIEW in SQL for security purposes?
AIt increases the speed of data insertion into tables.
BIt restricts direct access to underlying tables by showing only selected columns.
CIt automatically encrypts all data in the database.
DIt allows users to modify the database schema directly.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of views in security

    Views can limit what data users see by exposing only certain columns or rows.
  2. Step 2: Compare options with this role

    Only It restricts direct access to underlying tables by showing only selected columns. describes restricting access by showing selected columns, which is a security benefit.
  3. Final Answer:

    It restricts direct access to underlying tables by showing only selected columns. -> Option B
  4. Quick Check:

    Security benefit of views = Restrict access [OK]
Quick Trick: Views limit data exposure by showing only needed parts [OK]
Common Mistakes:
MISTAKES
  • Thinking views speed up data insertion
  • Assuming views encrypt data automatically
  • Believing views allow schema changes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes