Hadoop HDFS MCQs
Hadoop HDFS MCQs : This section focuses on "HDFS" in Hadoop. These Multiple Choice Questions (MCQ) should be practiced to improve the hadoop skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.
1. What is full form of HDFS?
A. Hadoop File System
B. Hadoop Field System
C. Hadoop File Search
D. Hadoop Field search
View Answer
Ans : A
Explanation: Hadoop File System was developed using distributed file system design.
2. HDFS works in a __________ fashion.
A. worker-master fashion
B. master-slave fashion
C. master-worker fashion
D. slave-master fashion
View Answer
Ans : B
Explanation: HDFS follows the master-slave architecture.
3. Which of the following are the Goals of HDFS?
A. Fault detection and recovery
B. Huge datasets
C. Hardware at data
D. All of the above
View Answer
Ans : D
Explanation: All the above option are the goals of HDFS.
4. ________ NameNode is used when the Primary NameNode goes down.
A. Rack
B. Data
C. Secondary
D. Both A and B
View Answer
Ans : C
Explanation: Secondary namenode is used for all time availability and reliability.
5. The minimum amount of data that HDFS can read or write is called a _____________.
A. Datanode
B. Namenode
C. Block
D. None of the above
View Answer
Ans : C
Explanation: The minimum amount of data that HDFS can read or write is called a Block.
6. The default block size is ______.
A. 32MB
B. 64MB
C. 128MB
D. 16MB
View Answer
Ans : B
Explanation: The default block size is 64MB, but it can be increased as per the need to change in HDFS configuration.
7. For every node (Commodity hardware/System) in a cluster, there will be a _________.
A. Datanode
B. Namenode
C. Block
D. None of the above
View Answer
Ans : A
Explanation: For every node (Commodity hardware/System) in a cluster, there will be a datanode.
8. Which of the following is not Features Of HDFS?
A. It is suitable for the distributed storage and processing.
B. Streaming access to file system data.
C. HDFS provides file permissions and authentication.
D. Hadoop does not provides a command interface to interact with HDFS.
View Answer
Ans : D
Explanation: The correct feature is Hadoop provides a command interface to interact with HDFS.
9. HDFS is implemented in _____________ language.
A. Perl
B. Python
C. Java
D. C
View Answer
Ans : C
Explanation: HDFS is implemented in Java and any computer which can run Java can host a NameNode/DataNode on it.
10. During start up, the ___________ loads the file system state from the fsimage and the edits log file.
A. Datanode
B. Namenode
C. Block
D. ActionNode
View Answer
Ans : B
Explanation: HDFS is implemented on any computer which can run Java can host a NameNode/DataNode on it.
Discussion