Hadoop - SecurityWhich of the following is a common mistake when configuring audit logging in Hadoop?AEnabling audit logging in mapred-site.xmlBSpecifying the audit log directoryCSetting log level to INFODSetting dfs.namenode.audit.log.enabled to trueCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify correct config file for audit loggingAudit logging is configured in hdfs-site.xml, not mapred-site.xml.Step 2: Evaluate optionsA enables logging correctly; B ensures proper log location; C is the standard level; D uses the wrong config file.Final Answer:Enabling audit logging in mapred-site.xml -> Option AQuick Check:Audit config must be in hdfs-site.xml [OK]Quick Trick: Audit logging config belongs in hdfs-site.xml only [OK]Common Mistakes:Configuring audit logging in wrong fileNot restarting NameNode after config changes
Master "Security" in Hadoop9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Hadoop Quizzes Cluster Administration - Log management and troubleshooting - Quiz 13medium Cluster Administration - Monitoring with Ambari or Cloudera Manager - Quiz 10hard Cluster Administration - Cluster planning and sizing - Quiz 7medium Modern Data Architecture with Hadoop - Data lake design patterns - Quiz 12easy Performance Tuning - Small files problem and solutions - Quiz 11easy Performance Tuning - Memory and container sizing - Quiz 15hard Performance Tuning - MapReduce job tuning parameters - Quiz 6medium Performance Tuning - Why tuning prevents slow and failed jobs - Quiz 3easy Security - Wire encryption for data in transit - Quiz 3easy Security - Kerberos authentication - Quiz 8hard