Quiz Yourself: Getting Started with Spark

Revise your basic Spark knowledge.

Spark Basic Knowledge Quiz

1

Which of the following piece of code creates a Spark session?

A)
SparkSession sparkSession = new SparkSession()
  .appName(APP_NAME)
  .master(LOCAL_NODE_ID)
  .getOrCreate();
B)
SparkSession sparkSession = SparkSession.builder()
  .appName(APP_NAME)
  .master(LOCAL_NODE_ID)
  .getOrCreate();
Question 1 of 40 attempted

Get hands-on with 1200+ tech skills courses.