Bird
0
0

You run the command hdfs dfsadmin -createEncryptionZone -keyName unknownkey -path /data but get an error. What is the most likely cause?

medium📝 Debug Q14 of 15
Hadoop - Security
You run the command hdfs dfsadmin -createEncryptionZone -keyName unknownkey -path /data but get an error. What is the most likely cause?
AThe encryption zone path /data does not exist
BThe command syntax is incorrect
CThe key 'unknownkey' has not been created in the Key Management Server
DEncryption zones cannot be created on /data directory
Step-by-Step Solution
Solution:
  1. Step 1: Check prerequisites for creating encryption zones

    An encryption zone requires a valid key that must be created beforehand in the Key Management Server.
  2. Step 2: Identify cause of error

    The error likely occurs because 'unknownkey' does not exist, so the zone cannot be created with a missing key.
  3. Final Answer:

    The key 'unknownkey' has not been created in the Key Management Server -> Option C
  4. Quick Check:

    Missing key causes encryption zone creation error [OK]
Quick Trick: Keys must exist before creating encryption zones [OK]
Common Mistakes:
  • Assuming path existence causes error
  • Ignoring key creation step
  • Thinking command syntax is wrong

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes