Bird
0
0

Which of the following is the correct command to create an encryption zone in HDFS?

easy📝 Syntax Q12 of 15
Hadoop - Security
Which of the following is the correct command to create an encryption zone in HDFS?
Ahdfs dfsadmin -createEncryptionZone -keyName mykey -path /zone
Bhdfs dfs -createEncryptionZone -keyName mykey -path /zone
Chdfs crypto -createZone -keyName mykey -path /zone
Dhdfs crypto -createEncryptionZone -keyName mykey -path /zone
Step-by-Step Solution
Solution:
  1. Step 1: Recall the correct syntax for creating encryption zones

    The command to create an encryption zone uses 'hdfs dfsadmin' with the '-createEncryptionZone' option.
  2. Step 2: Match the command options

    hdfs dfsadmin -createEncryptionZone -keyName mykey -path /zone correctly uses 'hdfs dfsadmin -createEncryptionZone -keyName mykey -path /zone'. Other options use incorrect commands or flags.
  3. Final Answer:

    hdfs dfsadmin -createEncryptionZone -keyName mykey -path /zone -> Option A
  4. Quick Check:

    Encryption zone creation uses dfsadmin command [OK]
Quick Trick: Use 'hdfs dfsadmin -createEncryptionZone' to create zones [OK]
Common Mistakes:
  • Using 'hdfs dfs' instead of 'hdfs dfsadmin'
  • Incorrect flag names like '-createZone'
  • Mixing crypto commands with dfsadmin commands

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Hadoop Quizzes