Bird
0
0

A user attempts to create an encryption zone with the command:

medium📝 Debug Q6 of 15
Hadoop - Security
A user attempts to create an encryption zone with the command:
hdfs dfsadmin -createEncryptionZone -keyName missingKey -path /dataZone
and receives an error: 'Key not found'. What is the most probable reason?
AThe encryption key 'missingKey' does not exist in the KMS
BThe path /dataZone is not empty
CThe user lacks permission to create encryption zones
DThe HDFS service is not running
Step-by-Step Solution
Solution:
  1. Step 1: Understand error message

    'Key not found' indicates the specified key is missing in the Key Management Server (KMS).
  2. Step 2: Check key existence

    Before creating an encryption zone, the key must exist; otherwise, the command fails.
  3. Final Answer:

    The encryption key 'missingKey' does not exist in the KMS -> Option A
  4. Quick Check:

    Missing key causes encryption zone creation failure [OK]
Quick Trick: Encryption key must exist before creating zone [OK]
Common Mistakes:
  • Assuming path emptiness causes 'Key not found' error
  • Ignoring key creation step before zone creation
  • Blaming permissions without checking key presence

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes