Hadoop Developer with Spark Quiz Questions and Answers

Programming language which is designed to integrate with Java is?

Answer :
  • Scala

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

Answer :
  • Hello foo and bin

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

The basic abstraction of Spark Streaming is______.

Answer :
  • Dstream

Nowadays, Scala's Java compatibility makes it well suited for_______.

Answer :
  • Android development

Which of the following commands will create a list?

Answer :
  • all of the mentioned

Suppose list1 is [1, 5, 9], what is sum(list1) ?

Answer :
  • 15