Top 37 Big Data Interview Question and Answers

July 7, 2018
Interview

Here is the package of the most popular Big Data interview question you must be prepared with.

  1. What do you understand by “Big Data”?

Answer: Big Data comprises of huge chunks of data which cannot be handled by modern day computers and requires new frameworks.

  1. What are the sources for Big Data generation in case of IoT?

Answer: Sensors are the most common source in the case of IoT.

  1. What are the five V’s of Big Data stand for?

Answer: Volume, Velocity, Variety, Veracity and Value.

  1. How would you define “Hadoop”?

Answer: Hadoop is a set of frameworks which are used to process big data using parallel computing.

  1. Name any core components of Hadoop?

Answer:

  • HDFS for storage
  • MapReduce/YARN for processing.
  1. What is the need to have Hadoop?

Answer: Hadoop is required for scalability. It is easy to build solutions for a particular volume of data. However, solutions for increasing amount of data are complex.

  1. In what ways big data and Hadoop are related?

Answer: Big Data and Hadoop go hand in hand. Without Big Data there is no Hadoop and without Hadoop, there is almost no way to process Big Data. Hadoop is the gateway for all other applications to be modelled for Big Data.

  1. How does Apache Hadoop resolve the challenge of big data storage?

Hadoop has its own file system, HDFS. It tries to solve all ends of data storage. Firstly, it is schema-less in nature and highly compressed. It is stored as binary. The file system also maintains redundancy so that there is data reliability even when a machine fails.

  1. How can big data analysis help in revenue generation?

Answer: Big Data analysis can improve revenue for any company. For finance companies, it can help in crunching down huge amounts of financial data to find loopholes and mistakes. For healthcare, it can be used to detect problems with patients through patient history and digging the vitals of all the historical patients. Similarly, any kind of company can use big data analytics to correct financial leaks.

  1. Mention some of the fields where you can apply Hadoop?

Answer: Hadoop can be applied at any place where big data exists. It can be used to:

  1. Model traffic
  2. Model a high-frequency trading platform
  3. Graphics rendering
  1. What are the differences between Hadoop and Spark?

Answer: Hadoop has its own storage system whereas Spark doesn’t. Spark is generally faster than Hadoop but the latter is more reliable and has much more support and tools available.

  1. In how many modes one can run Hadoop?

Answer: The Hadoop daemon can run on three different modes: Standalone, Pseudo-distributed and Fully distributed.

  1. Name the common input formats in Hadoop?

Answer: The commonly used input formats in Hadoop are: Key-Value mapping, Plain text and Sequence file input.

  1. Define HDFS?

Answer: Hadoop Distributed File Systems (HDFS) is the core Storage solution for Hadoop. It is a wrapper on the commonly used Linux filesystems such as ext3, ext4, etc.

  1. Name the components of HDFS.

Answer: The two main components of HDFS are Name Node and Data/Slave Node.

  1. What is meant by FSCK?

Answer: FSCK stands for File System Check. It is used by HDFS to check for any missing blocks or corruption in data.

  1. What do you understand by DataNode?

Answer: A Data Node is a slave node. It is the one which stores data and has a linkage to Name Node.

  1. Mention the functions of NameNode?

Answer: NameNode holds any kind of metadata for the data. It acts as Master for managing the Slave Nodes.

  1. How Is DataNode failure tackled using NameNode?

Answer: The NameNode is responsible for tackling replication of data. Hence, it keeps track of each DataNode replication and hence handles a DataNode failure.

  1. Is there any problem in using small files in Hadoop?

Answer: Yes. Hadoop is not made for small files. The default block size for HDFS is 128 MB. Anything smaller than that reduces hit rate and makes the program slow.

  1. How can you resolve the issue of small files in Hadoop?

Answer: HAR (Hadoop Archive) has been built as a wrapper on HDFS to tackle small files.

  1. What are the salient features of Pseudo Mode?

Answer: Pseudo mode simulates the environment of a parallel machine. During testing, one would want to see how their program will work on bigger data with more threads. The pseudo mode is for that.

  1. How can one achieve security in Hadoop?

Answer: Kerberos is the de facto for any kind of Authentication in Hadoop.

  1. State any two limitations associated with Hadoop?

Answer: Two limitations of Hadoop are:

  • Does not handle small files well.
  • Processing speed is low due to heavy map and reduces operations
  1. Mention the role of Job Tracker in Hadoop?

Answer: Job tracker manages resources. It makes sure that there is load balancing and no node is becoming the bottleneck.

  1. How one can debug Hadoop code?

Answer: Hadoop logs every step. The logs can be found in the installation directory.

  1. How does Reduce Side Join differ from Map Side Join?

Answer: The data needs to be structured for a map-side join. Not the case with reduce side join.

  1. Mention one difference between Input Split and HDFS Block?

Answer: Input Split is done during mapping operation for nodes and is not permanent. HDFS block is a permanent storage solution.

  1. What do you know about rack-aware replica placement policy?

Answer: Sometimes, a node’s physical location becomes important during allocation. Hence, rack-aware replica placement policy keeps track on that.

  1. What is the function of a DataNode block scanner?

Answer: Block scanner looks for any corrupted DataNodes and reports them.

  1. What do you understand by MapReduce?

Answer: MapReduce is the heart of Hadoop. It splits data into appropriately sized chunks and allocated them to nodes accordingly.

  1. Mention two salient features of MapReduce?

Answer:

  1. A robust and tested architecture for data distribution and parallelization.
  2. Achieves good load balancing and scalability.
  1. Enlist the components of the MapReduce framework.

Answer: There are four components of the MapReduce framework:

  1. ResourceManager
  2. NodeManager
  3. Container
  4. ApplicationManager
  1. What is InputFormat?

Answer: It defines the input format and configuration for an MR job.

  1. When do we use jps command in Hadoop?

Answer: It is used to check if the Hadoop daemon is up and running.

  1. What is meant by Speculative Execution?

Answer: Not all machines in a cluster might be the same (or give equal performance). Hadoop runs the same instance of MR jobs on multiple machines in case some machine is performing poorly.

  1. Mention the steps involved in the NameNode recovery process?

Answer: First a new NameNode is created. It is then connected to DataNode and Clients and acknowledged. In the final stage, the NameNode starts serving the client and receives block reports from DataNodes.

 

Post a comment

5 × two =