APACHE SPARK QUIZ DESCRIPTION

Can we edit the data of RDD, for example, the case conversion?

  • Yes

  • No

Is Spark included in every major distribution of Hadoop?

  • Yes

  • No

Which of the following is true for Spark Shell?

  •  It helps Spark applications to easily run on the command line of the system
     

  •   It runs/tests application code interactively
     

  •    It allows reading from many types of data sources
     

  •      All of the above

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

  • Yes

  • No

Can we add or setup new string computation after SparkContext starts

  • Yes

  • No

Which of the following is true for Spark SQL?

  •  It is the kernel of Spark
     

  •    Provides an execution platform for all the Spark applications
     

  •    It enables users to run SQL / HQL queries on the top of Spark.
     

  •    Enables powerful interactive and data analytics application across live streaming data

How many Spark Context can be active per JVM?

  •  More than one
     

  •    Only one
     

  •    Not specific
     

  •   None of the above

Which is not a component on the top of Spark Core?

  •  Spark RDD
     

  •   Spark Streaming
     

  •     MLlib
     

  •     None of the above

In how many ways RDD can be created?

  •  4
     

  • 3

  • 2

  • 1

Which of the following is a tool of Machine Learning Library?

  •  Persistence
     

  •   Utilities like linear algebra, statistics
     

  •     Pipelines
     

  •    All of the above

Dstream internally is

  •  Continuous Stream of RDD
     

  • Continuous Stream of DataFrame
     

  •     Continuous Stream of DataSet

     

  •     None of the above
     

Which of the following is not an action?

  •  collect()
     

  •    take(n)
     

  •     top()
     

  •    map
     

Which of the following is true for Spark MLlib?

  •      Provides an execution platform for all the Spark applications
     

  •     It is the scalable machine learning library which delivers efficiencies
     

  •   enables powerful interactive and data analytics application across live streaming data
     

  •     All of the above

RDD are fault-tolerant and immutable

  • True

  • False

Apache Spark has API’s in

  •  Java
     

  •   Scala
     

  •   Python
     

  •   All of the above

Which of the following is not output operation on DStream

  •  SaveAsTextFiles
     

  •      ForeachRDD
     

  •    SaveAsHadoopFiles
     

  •    ReduceByKeyAndWindow

Is MLlib deprecated?

  • Yes

  • No

What are the features of Spark RDD?

  •  In-memory computation
     

  •   Lazy evaluations
     

  •    Fault Tolerance
     

  •    All of the above

For Regression problem which algorithm is not the solution?

  •  Logistic Regression
     

  •     Ridge Regression
     

  •    Decision Trees
     

  •   Gradient-Boosted Trees

The basic abstraction of Spark Streaming is

  •  Dstream
     

  •     RDD
     

  •   Shared Variable
     

  •    None of the above

Which is the abstraction of Apache Spark?

  •  Shared Variable
     

  •   RDD
     

  •  Both the above
     

  • None of the above

How many tasks does Spark run on each partition?

  •  Any number of task
     

  •    One
     

  •    More than one less than five
     

  • None of the above

Which of the following is true about DataFrame?

  •  DataFrames provide a more user-friendly API than RDDs.
     

  •      DataFrame API have provision for compile-time type safety
     

  •    Both the above

Which Cluster Manager do Spark Support?

  •  Standalone Cluster Manager
     

  •     MESOS
     

  •     YARN
     

  •     All of the above

For Multiclass classification problem which algorithm is not the solution?

  •  Naive Bayes
     

  •  Random Forests
     

  •     Logistic Regression
     

  •     Decision Trees

Which of the following is true for Spark R?

  •  It allows data scientists to analyze large datasets and interactively run jobs
     

  •     It is the kernel of Spark
     

  •     It is the scalable machine learning library which delivers efficiencies
     

  •     It enables users to run SQL / HQL queries on the top of Spark.

Apache Spark was made open-source in which year?

  •  2010
     

  •     2011
     

  •    2008
     

  •    2009

Which of the following provide the Spark Core’s fast scheduling capability to perform streaming analytics.

  •  RDD
     

  •     GraphX
     

  •    Spark Streaming
     

  •   Spark R

Dataset was introduced in which Spark release?

  •  Spark 1.6
     

  •     Spark 1.4.0
     

  •     Spark 2.1.0
     

  •   Spark 1.1

Which of the following is not a transformation?

  •  Flatmap
     

  •    Map
     

  •   Reduce
     

  •    Filter