Hadoop Test
Hadoop Test
Hadoop Test
This section presents you various set of Mock Tests related to Hadoop Framework. You can
download these sample mock tests at your local machine and solve offline at your convenience.
Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.
D - HDFS ftp
C - You can edit a existing record in HDFS file which is already mounted using NFS.
D - gets both the data and block location from the namenode
Q 4 - Which scenario demands highest bandwidth for data transfer between nodes in
Hadoop?
Q 5 - The current block location of HDFS where data is being written to,
A - Optimal Scheduler
B - FIFO scheduler
C - Capacity scheduler
D - Fair scheduler
D - Fully-Distributed mode
A - C++
B - Python
C - Java
D - GO
Q 10 - The hdfs command to create the copy of a file from a local system is
A - CopyFromLocal
B - copyfromlocal
C - CopyLocal
D - copyFromLocal
D - The number of replicated copies is less than as specified by the replication factor.
Q 13 - When the namenode finds that some blocks are over replicated, it
A - Replication factor
A - Replication factor
A - Replication factor
A - Replication factor
A - Jsp
B - Jps
C - Hadoop fs –test
D - None
Q 19 - The information mapping data blocks with their corresponding files is stored in
A - Data node
B - Job Tracker
C - Task Tracker
D - Namenode
Q 20 - The file in Namenode which stores the information mapping the data block
location with file name is −
A - dfsimage
B - nameimage
C - fsimage
D - image
Q 21 - The namenode knows that the datanode is active using a mechanism known as
A - heartbeats
B - datapulse
C - h-signal
D - Active-pulse
B - Commodity grade
Q 24 - Which of the below apache system deals with ingesting streaming data to
hadoop
A - Ozie
B - Kafka
C - Flume
D - Hive
A - The average size of the data blocks used as input for the program
B - The location details of where the first whole record in a block begins and the last whole
record in the block ends.
C - Splitting the input data to a MapReduce program into a size already configured in the
mapred-site.xml
D - None of these
B - The Key-value pair of all the records from the input split processed by the mapper
B - Report the edit log information of the blocks in the data node.
Q 28 - The Zookeeper
A - The namenode updates the mapping between file name and block name
B - The namenode need not update mapping between file name and block name
Q 30 - When a client contacts the namenode for accessing a file, the namenode
responds with
C - Block ID and hostname of any one of the data nodes containing that block.
D - Block ID and hostname of all the data nodes containing that block.
Q 32 - The Hadoop tool used for uniformly spreading the data across the data nodes is
named −
A - Scheduler
B - Balancer
C - Spreader
D - Reporter
ANSWER SHEET
1 B
2 A
3 C
4 C
5 D
6 A
7 B
8 B
9 C
10 D
11 B
12 D
13 C
14 B
15 A
16 C
17 D
18 B
19 D
20 C
21 A
22 A
23 B
24 C
25 B
26 B
27 B
28 A
29 B
30 D
31 D
32 B
33 A