
- Hadoop Tutorial
- Hadoop - Home
- Hadoop - Big Data Overview
- Hadoop - Big Data Solutions
- Hadoop - Introduction
- Hadoop - Environment Setup
- Hadoop - HDFS Overview
- Hadoop - HDFS Operations
- Hadoop - Command Reference
- Hadoop - MapReduce
- Hadoop - Streaming
- Hadoop - Multi-Node Cluster
- Hadoop Useful Resources
- Hadoop - Questions and Answers
- Hadoop - Quick Guide
- Hadoop - Useful Resources
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Hadoop Mock 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.

Hadoop Mock Test III
Q 1 - In the secondary namenode the amount of memory needed is
A - Similar to that of primary node
B - Should be at least half of the primary node
C - Must be double of that of primary node
D - Depends only on the number of data nodes it is going to handle
Answer : A
Q 2 - The purpose of checkpoint node in a Hadoop cluster is to
A - Check if the namenode is active
B - Check if the fsimage file is in sync between namenode and secondary namenode
C - Merges the fsimage and edit log and uploads it back to active namenode.
Answer : C
Q 3 - When a backup node is used in a cluster there is no need of
Answer : A
Q 4 - Rack awareness in name node means
A - It is aware how many racks are available in the cluster
B - It is aware of the mapping between the node and the rack
C - It is aware of the number of nodes in each of the rack
D - It is aware which data nodes are unavailable in the cluster.
Answer : B
Q 5 - When a machine is declared as a datanode, the disk space in it
A - Can be used only for HDFS storage
B - Can be used for both HDFS and non-HDFs storage
Answer : B
Q 6 - When a file in HDFS is deleted by a user
B - It goes to trash if configured.
C - It becomes hidden from the user but stays in the file system
Answer : B
Q 7 - The source of HDFS architecture in Hadoop originated as
A - Google distributed filesystem
B - Yahoo distributed filesystem
Answer : A
Q 8 - The inter process communication between different nodes in Hadoop uses
Answer : B
Q 9 - The type of data Hadoop can deal with is
Answer : D
Q 10 - YARN stands for
A - Yahoo’s another resource name
B - Yet another resource negotiator
Answer : B
Q 11 - The fully distributed mode of installation(without virtualization) needs a minimum of
Answer : A
Q 14 - The command “hadoop fs -test -z URI “ gives the result 0 if
Answer : D
Q 16 - hadoop fs –expunge
A - Gives the list of datanodes
Answer : D
Q 17 - All the files in a directory in HDFS can be merged together using
Answer : A
Q 18 - The replication factor of a file in HDFS can be changed using
Answer : C
Q 19 - The comman used to copy a directory form one node to another in HDFS is
Answer : D
Q 20 - The archive file created in Hadoop always has the extension of
Answer : B
Q 21 - To unarchive an already archived file in haddop use the command
Answer : C
Q 22 - The data from a remote hadoop cluster can
Answer : D
Q 23 - The purpose of starting namenode in the recovery mode is to
C - Recover data from one of the metadata storage locations
D - Recover data when there is only one metadata storage location
Answer : D
Q 24 - When you increase the number of files stored in HDFS, The memory required by namenode
Answer : A
Q 25 - If we increase the size of files stored in HDFS without increasing the number of files, then the memory required by namenode
Answer : A
Q 26 - The current limiting factor to the size of a hadoop cluster is
A - Excess heat generated in data center
B - Upper limit of the network bandwidth
Answer : C
Q 27 - The decommission feature in hadoop is used for
A - Decommissioning the namenode
B - Decommissioning the data nodes
Answer : B
Q 28 - You can reserve the amount of disk usage in a data node by configuring the dfs.datanode.du.reserved in which of the following file
Answer : A
Q 29 - The namenode loses its only copy of fsimage file. We can recover this from
Answer : C
Q 30 - 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
Answer : C
Q 31 - A running job in hadoop can
B - Can never be killed with a command
Answer : A
Q 32 - The number of tasks a task tracker can accept depends on
A - Maximum memory available in the node
Answer : C
Answer Sheet
Question Number | Answer Key |
---|---|
1 | A |
2 | C |
3 | A |
4 | B |
5 | B |
6 | B |
7 | A |
8 | B |
9 | D |
10 | B |
11 | A |
12 | A |
13 | C |
14 | D |
15 | C |
16 | D |
17 | A |
18 | C |
19 | D |
20 | B |
21 | C |
22 | D |
23 | D |
24 | A |
25 | A |
26 | C |
27 | B |
28 | A |
29 | C |
30 | C |
31 | A |
32 | C |