Which of the following is the correct statement?

datanode is the slave/worker node and holds the user data in the form of data blocks
each incoming file is broken into 32 mb by defaul
namenode stores user data in the form of data blocks
none of the above

The correct answer is: A. datanode is the slave/worker node and holds the user data in the form of data blocks.

A datanode is a slave/worker node in a Hadoop cluster that stores data blocks. Data blocks are the smallest unit of storage in Hadoop, and they are typically 64 MB in size. Each incoming file is broken into 32 MB data blocks by default, but this can be configured. The namenode is the master node in a Hadoop cluster that manages the filesystem namespace. It does not store user data.

Here is a more detailed explanation of each option:

  • Option A: datanode is the slave/worker node and holds the user data in the form of data blocks. This is the correct answer.
  • Option B: each incoming file is broken into 32 mb by default. This is true, but it is not the only option. The block size can be configured.
  • Option C: namenode stores user data in the form of data blocks. This is incorrect. The namenode does not store user data.
  • Option D: none of the above. This is incorrect. Option A is the correct answer.