Spark Core API or Spark SQL

cca-175

#1

For the CCA 175 exam, can I solve the questions with using Spark SQL only? Spark SQL seems easier than Core API or DF operations - does it matter what we use to solve the question? Is it ok to skip doing the Core API way and focus on Spark SQL to prepare?

Also can we launch and use spark2-shell only and not use spark-shell (1.6) ? Spark 2 has many direct options like spark.read.csv for directly reading the comma delimited text files.


#2

You can use any kind of way to solve the questions until they give the question to do in some particular way. Cloudera do not evaluate your coding they only checks the final output. Yes you can use spark2-shell as well