Hadoop Online Quiz


Following quiz provides Multiple Choice Questions (MCQs) related to Hadoop Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 2 - When a client communicates with the HDFS file system, it needs to communicate with

A - only the namenode

B - only the data node

C - both the namenode and datanode

D - None of these

Answer : C

Q 3 - For a HDFS directory the replication factor(RF) is

A - same as the RF of the files in that directory

B - Zero

C - 3

D - Does not apply.

Answer : D

Answer : C

Q 5 - The namenode knows that the datanode is active using a mechanism known as

A - heartbeats

B - datapulse

C - h-signal

D - Active-pulse

Answer : A

Answer : D

Q 7 - In HDFS the files cannot be

A - read

B - deleted

C - executed

D - Archived

Answer : C

Q 8 - In a HDFS system with block size 64MB we store a file which is less than 64MB. Which of the following is true?

A - The file will consume 64MB

B - The file will consume more than 64MB

C - The file will consume less than 64MB.

D - Can not be predicted.

Answer : C

Q 10 - When writing data to HDFS what is true if the replication factor is three? (Choose 2 answers)

  1. Data is written to DataNodes on three separate racks (if Rack Aware).

  2. The Data is stored on each DataNode with a separate file which contains a checksum value.

  3. Data is written to blocks on three different DataNodes.

  4. The Client is returned with a success upon the successful writing of the first block and checksum check.

A - 1 & 3

B - 2 & 3

C - 3 & 4

D - 1 & 4

Answer : C