Bird
0
0

Which PostgreSQL feature helps restrict user access to specific tables?

easy📝 Syntax Q3 of 15
PostgreSQL - Roles and Security
Which PostgreSQL feature helps restrict user access to specific tables?
AVACUUM
BCREATE INDEX
CGRANT command
DEXPLAIN
Step-by-Step Solution
Solution:
  1. Step 1: Identify commands related to access control

    GRANT is used to give permissions to users on tables.
  2. Step 2: Understand other commands are unrelated

    CREATE INDEX speeds queries, VACUUM cleans storage, EXPLAIN shows query plans.
  3. Final Answer:

    GRANT command -> Option C
  4. Quick Check:

    Access control command = GRANT [OK]
Quick Trick: Use GRANT to control who can access tables [OK]
Common Mistakes:
  • Confusing GRANT with indexing
  • Thinking VACUUM controls access
  • Using EXPLAIN for permissions

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PostgreSQL Quizzes