Bird
0
0

If a user without proper permissions tries to read a file in HDFS with security enabled, what will happen?

medium📝 Predict Output Q5 of 15
Hadoop - Security
If a user without proper permissions tries to read a file in HDFS with security enabled, what will happen?
AThe file will be read without restrictions
BThe file will be read but logged for review
CThe system will automatically grant temporary access
DThe read request will be denied with an access control error
Step-by-Step Solution
Solution:
  1. Step 1: Understand access control enforcement

    When security is enabled, unauthorized access attempts are blocked and generate errors.
  2. Step 2: Evaluate other options for correctness

    Logging without denial, unrestricted access, or automatic granting contradict security principles.
  3. Final Answer:

    The read request will be denied with an access control error -> Option D
  4. Quick Check:

    Unauthorized read = Access denied error [OK]
Quick Trick: No permission means no access, error returned [OK]
Common Mistakes:
  • Assuming unauthorized reads are allowed
  • Thinking system grants temporary access automatically
  • Believing unauthorized reads are just logged

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes