Hadoop Developer with Spark Quiz Questions and Answers

What is the output of the following? print("Hello {name1} and {name2}".format(name1='foo', name2='bin'))

Answer :
  • Hello foo and bin

Programming language which is designed to integrate with Java is?

Answer :
  • Scala

In Spark Streaming the data can be from what all sources?

Answer :
  • All of the above

Can you combine the libraries of Apache Spark into the same Application, for example, MLlib, GraphX, SQL and DataFrames etc.

Answer :
  • Yes

Does Spark R make use of MLlib in any aspect?

Answer :
  • Yes

We can create DataFrame using:

Answer :
  • All of the above

Which of the following is the fundamental data structure of Spark?

Answer :
  • RDD

After transforming into DataFrame, one cannot regenerate a domain object.

Answer :
  • TRUE

Which of the following is the reason for Spark being Speedy than MapReduce?

Answer :
  • DAG execution engine and in-memory computation

FlatMap transforms an RDD of length N into another RDD of length M. which of the following is true for N and M. a. N >M b. N< M

Answer :
  • Either b or c