Hadoop Quiz / Hadoop MCQ Set 8

Hadoop Quiz Multiple-choice question Student Learning Objectives (SLOs) 


1. The default replication factor for HDFS file system in hadoop is

1

2

3

0


2. When the namenode finds that some blocks are over replicated, it

When the namenode finds that some blocks are over replicated, it

It slows down the replication process for those blocks

It deletes the extra blocks.

It leaves the extra blocks as it is.


3. The input split used in MapReduce indicates

The average size of the data blocks used as input for the program

Splitting the input data to a MapReduce program into a size already configured in the mapred-site.xml

The location details of where the first whole record in a block begins and the last whole record in the block ends.

None of these


4. Rack awareness in name node means

It is aware how many racks are available in the cluster

It is aware of the number of nodes in each of the rack

It is aware of the mapping between the node and the rack

It is aware which data nodes are unavailable in the cluster.


5. The replication factor of a file in HDFS can be changed using

xreep

xrep

rerep

changerep


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

The file will consume 64MB

The file will consume more than 64MB

The file will consume less than 64MB.

The file will consume less than 64MB.


7. Which one of the following stores data?

Name node

Master node

Data node

Task Tracker


8. What is a Sequence File?

A Sequence File contains a binary encoding of an arbitrary number of homogeneous writable objects.

A Sequence File contains a binary encoding of an arbitrary number of heterogeneous writable objects.

A Sequence File contains a binary encoding of an arbitrary number key-value pairs. Each key must be the same type. Each value must be same type.

A Sequence File contains a binary encoding of an arbitrary number of WritableComparable objects, in sorted order.

Hadoop MCQ  Set 8

Solution

Question 1 = "3";

Question  2 = "It deletes the extra blocks.";

Question 3= "The location details of where the first whole record in a block begins and the last whole record in the block ends.";

Question  4= "It is aware of the mapping between the node and the rack";

Question  5 = "xrep";

Question  6 = "The file will consume less than 64MB.";

Question  7 = "Data node";

Question  8= "A Sequence File contains a binary encoding of an arbitrary number key-value pairs. Each key must be the same type. Each value must be same type.";

Are you looking to deepen your knowledge of Amazon Web Services (AWS) MCQ

explore 20 + Big data hadoop free online course to  Mastering the World of Data