Quiz example
The below questions are examples for the quiz at the end of the lab.
There is always only one possible answer.
-
Which Spark script is used to launch applications on a Spark cluster?
- A.
spark_submit - B.
spark_drive - C.
spark_assemble - D.
spark_shell
- A.
-
Given a dataframe with columns: {'a', 'b', 'c'}, which Data(frame/set) API function can be used to create a dataframe with columns {'a', 'c'}?
- A.
select(...) - B.
collect(...) - C.
reduce(...) - D.
filter(...)
- A.
-
The OpenStreetMap dataset contains the following three distinct elements:
- A. nodes, ways, relations
- B. breweries, cities, tags
- C. tags, nodes, cities
- D. addr:city, admin levels, boundary
-
The reports were implemented in a file called:
- A.
README.md - B.
REPORT.txt - C.
LAB_X.md - D.
build.sbt
- A.
-
The artifact from SBT that is to be sent off to the Spark cluster has the extension:
- A.
.jar - B.
.spark - C.
.sbt - D.
.scala
- A.
Answers:
- A
- A
- A
- A
- A