Bird
0
0

Given the following Ranger policy snippet:

medium📝 Predict Output Q13 of 15
Hadoop - Security
Given the following Ranger policy snippet:
{"users": ["alice"], "resources": {"database": "sales"}, "permissions": ["select", "update"]}
What actions can user 'alice' perform on the 'sales' database?
AOnly select data
BSelect and update data
CDelete data
DNo actions allowed
Step-by-Step Solution
Solution:
  1. Step 1: Read the policy details

    User 'alice' is allowed 'select' and 'update' permissions on the 'sales' database.
  2. Step 2: Determine allowed actions

    Since both 'select' and 'update' are listed, alice can perform both actions.
  3. Final Answer:

    Select and update data -> Option B
  4. Quick Check:

    Permissions = select + update [OK]
Quick Trick: Check permissions list carefully for allowed actions [OK]
Common Mistakes:
  • Assuming delete permission without it listed
  • Ignoring update permission
  • Thinking no actions allowed if unsure

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes