Spark 2

pdf

School

University of Texas, Dallas *

*We aren’t endorsed by this school

Course

6350

Subject

Computer Science

Date

Feb 20, 2024

Type

pdf

Pages

3

Uploaded by BarristerThunder12757

Report
2/27/22, 12 : 56 PM Review Test Submission: Spark Quiz 2 – CS 6350.002 - Big... Page 1 of 3 https://elearning.utdallas.edu/webapps/assessment/review/review.jsp…430_1&outcome_definition_id=_1545322_1&takeTestContentId=_5347608_1 Review Test Submission: Spark Quiz 2 CS 6350.002 - Big Data Management and Analytics - S22 Course Homepage Review Test Submission: Spark Quiz 2 User Veda Nandan Gandi Course CS 6350.002 - Big Data Management and Analytics - S22 Test Spark Quiz 2 Started 2/24/22 5:21 PM Submitted 2/27/22 12:52 PM Due Date 2/27/22 11:59 PM Status Completed Attempt Score 30 out of 40 points Time Elapsed 67 hours, 30 minutes Results Displayed All Answers, Submitted Answers, Correct Answers Question 1 Selected Answer: Answers: What is SparkContext (sc)? It represents the connection to a Spark cluster It represents the connection to a Spark cluster It is a form of RDD It represents the connection to a Hadoop cluster It represents a handle to the master node Question 2 My eLearning 10 out of 10 points 10 out of 10 points Veda Nandan Gandi 43
2/27/22, 12 : 56 PM Review Test Submission: Spark Quiz 2 – CS 6350.002 - Big... Page 2 of 3 https://elearning.utdallas.edu/webapps/assessment/review/review.jsp…430_1&outcome_definition_id=_1545322_1&takeTestContentId=_5347608_1 Selected Answers: Answers: What is/are the di ! erence(s) between transformations and actions as applied to RDDs? Transformations transform one RDD to another RDD Actions lead to computation being immediately performed and generation of a result Transformations are lazily evaluated Transformations transform one RDD to another RDD Actions lead to computation being immediately performed and generation of a result Transformations are lazily evaluated Transformations are immediately performed by the compiler without waiting Question 3 Selected Answers: Answers: Which of the following are examples of transformations? map join reduceByKey map join collect Question 4 Selected Answer: Answers: What will be the output of the following PySpark code: rdd = sc.parallelize([1, 10, 11]) rdd.lookup(0) It will give an error 10 0 out of 10 points 10 out of 10 points
2/27/22, 12 : 56 PM Review Test Submission: Spark Quiz 2 – CS 6350.002 - Big... Page 3 of 3 https://elearning.utdallas.edu/webapps/assessment/review/review.jsp…430_1&outcome_definition_id=_1545322_1&takeTestContentId=_5347608_1 Sunday, February 27, 2022 12:55:49 PM CST 1 It will give an error 11 OK
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help