Spark Fundamentals I Cognitive class Exam Answers:-

Course Name :- Spark Fundamentals I

Module 1 :- Introduction to Spark

Question 1 : What gives Spark its speed advantage for complex applications?

Question 2 : For what purpose would an Engineer use Spark? Select all that apply.

Question 3 : Which of the following statements are true of the Resilient Distributed Dataset (RDD)? Select all that apply.

Module 2 :- Resilient Distributed Dataset and Dataframes

Question 1 : Which of the following methods can be used to create a Resilient Distributed Dataset (RDD)? Select all that apply.

Question 2 : What happens when an action is executed?

Question 3 : Which of the following statements is true of RDD persistence? Select all that apply.

Module 3 :- Spark Application Programming

Question 1 : What is SparkContext?

Question 2 : Which of the following methods can be used to pass functions to Spark? Select all that apply.

Question 3 : Which of the following is a main component of a Spark application’s source code?

Module 4 :- Introduction to the Spark Libraries

Question 1 : Which of the following is NOT an example of a Spark library?

Question 2 : From which of the following sources can Spark Streaming receive data? Select all that apply.

Question 3 : In Spark Streaming, processing begins immediately when an element of the application is executed. True or false?

Module 5 :- Spark Configuration , Monitoring and Turning

Question 1 : hich of the following is a main component of a Spark cluster? Select all that apply.

Question 2 : What are the main locations for Spark configuration? Select all that apply.

Question 3 : Which of the following techniques can improve Spark performance? Select all that apply.

Spark Fundamentals I Cognitive class Final Exam Answers:-

Question 1 : Which of the following is a type of Spark RDD operation? Select all that apply.

Question 2 : Spark must be installed and run on top of a Hadoop cluster. True or false

Question 3 : following operations will work improperly when using a Combiner?

Question 4 : Spark supports which of the following libraries?

Question 5 : Spark supports which of the following programming languages?

Question 6 : A transformation is evaluated immediately. True or false?

Question 7 : Which storage level does the cache() function use?

Question 8 : Which of the following statements does NOT describe accumulators?

Question 9 : You must explicitly initialize the SparkContext when creating a Spark application. True or false?

Question 10 : The “local” parameter can be used to specify the number of cores to use for the application. True or false?

Question 11 : Spark applications can ONLY be packaged using one, specific build tool. True or false?

Question 12 : Which of the following parameters of the “spark-submit” script determine where the application will run?

Question 13 : Which of the following is NOT supported as a cluster manager?

Question 14 : Spark SQL allows relational queries to be expressed in which of the following?

Question 15: Spark Streaming processes live streaming data in real-time. True or false?

Question 16 : The MLlib library contains which of the following algorithms?

Question 17 : What is the purpose of the GraphX library?

Question 18 : Which list describes the correct order of precedence for Spark configuration, from highest to lowest?

Question 19 : Spark monitoring can be performed with external tools. True or false?

Question 20 : Which serialization libraries are supported in Spark? Select all that apply.