Hadoop - SecurityWhy does HDFS encryption at rest use a two-tier key system involving Data Encryption Keys (DEKs) and Key Encryption Keys (KEKs)?ATo speed up data processing by using two keys simultaneouslyBTo improve security by encrypting DEKs with KEKs stored in KMSCTo allow users to choose which key to use for each fileDTo store keys on DataNodes for faster accessCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand DEKs and KEKs rolesDEKs encrypt data blocks; KEKs encrypt DEKs for secure storage.Step 2: Reason why two-tier system is usedThis separation enhances security by protecting DEKs with KEKs managed in KMS.Final Answer:To improve security by encrypting DEKs with KEKs stored in KMS -> Option BQuick Check:Two-tier keys = better security [OK]Quick Trick: KEKs protect DEKs, enhancing encryption security [OK]Common Mistakes:Thinking two keys speed up processingBelieving users pick keys per fileAssuming keys are stored on DataNodes
Master "Security" in Hadoop9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Hadoop Quizzes Cluster Administration - Monitoring with Ambari or Cloudera Manager - Quiz 10hard Modern Data Architecture with Hadoop - Hadoop in cloud (EMR, Dataproc, HDInsight) - Quiz 8hard Modern Data Architecture with Hadoop - Why data lake architecture centralizes data - Quiz 3easy Modern Data Architecture with Hadoop - Hadoop in cloud (EMR, Dataproc, HDInsight) - Quiz 9hard Performance Tuning - Small files problem and solutions - Quiz 14medium Performance Tuning - Data serialization (Avro, Parquet, ORC) - Quiz 8hard Performance Tuning - MapReduce job tuning parameters - Quiz 10hard Performance Tuning - Why tuning prevents slow and failed jobs - Quiz 8hard Security - Wire encryption for data in transit - Quiz 6medium Security - Audit logging - Quiz 9hard