Bird
0
0

If a file is stored inside an HDFS encryption zone, what happens when a user without the key tries to read it?

medium📝 Predict Output Q5 of 15
Hadoop - Security
If a file is stored inside an HDFS encryption zone, what happens when a user without the key tries to read it?
AThe file is automatically decrypted by DataNode
BThe read operation fails due to lack of decryption key
CThe file is read in plain text without restrictions
DThe file is copied to a temporary unencrypted location
Step-by-Step Solution
Solution:
  1. Step 1: Understand encryption zone access control

    Files in encryption zones require the correct key to decrypt data on read.
  2. Step 2: Effect of missing key on read operation

    If the user lacks the key, the read operation will fail as data cannot be decrypted.
  3. Final Answer:

    The read operation fails due to lack of decryption key -> Option B
  4. Quick Check:

    Missing key means read fails [OK]
Quick Trick: Without key, encrypted files cannot be read [OK]
Common Mistakes:
  • Assuming files are readable without keys
  • Thinking DataNode decrypts automatically for all
  • Believing files are copied unencrypted

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes