Bird
0
0

Given a Ranger policy that allows user 'alice' read access to database 'sales', what will happen if 'bob' tries to read from 'sales'?

medium📝 Predict Output Q4 of 15
Hadoop - Security
Given a Ranger policy that allows user 'alice' read access to database 'sales', what will happen if 'bob' tries to read from 'sales'?
AAccess denied because 'alice' revoked 'bob's access manually
BAccess granted because 'sales' database is public
CAccess granted because all users have read access by default
DAccess denied because 'bob' is not in the policy
Step-by-Step Solution
Solution:
  1. Step 1: Understand policy scope

    The policy explicitly allows only 'alice' read access to 'sales'.
  2. Step 2: Check 'bob's access

    'bob' is not listed, so access is denied by Ranger's default deny rule.
  3. Final Answer:

    Access denied because 'bob' is not in the policy -> Option D
  4. Quick Check:

    Unlisted user access = Denied [OK]
Quick Trick: Only listed users get access; others denied by default [OK]
Common Mistakes:
  • Assuming public access without policy
  • Thinking all users have default access
  • Confusing manual revocation with policy enforcement

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes