Bird
0
0

After running these commands:

medium📝 Predict Output Q4 of 15
Hadoop - Security
After running these commands:
hdfs key create myKey
hdfs dfsadmin -createEncryptionZone -keyName myKey -path /secureZone
what is the expected outcome?
AThe command fails because /secureZone already exists
BThe key myKey is deleted and /secureZone remains unencrypted
CAn encryption zone named /secureZone is created using the key myKey
DFiles in /secureZone are automatically decrypted
Step-by-Step Solution
Solution:
  1. Step 1: Create encryption key

    The command hdfs key create myKey creates a new encryption key named 'myKey'.
  2. Step 2: Create encryption zone

    The command hdfs dfsadmin -createEncryptionZone -keyName myKey -path /secureZone creates an encryption zone at /secureZone using 'myKey'.
  3. Final Answer:

    An encryption zone named /secureZone is created using the key myKey -> Option C
  4. Quick Check:

    Commands create key and encryption zone successfully [OK]
Quick Trick: Create key first, then encryption zone with that key [OK]
Common Mistakes:
  • Assuming encryption zone is created without key
  • Confusing command syntax for encryption zone creation
  • Believing files are decrypted automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes