RDD or DataFrame+SparkSQL in exam, python or Scala


I know we are free to choose the programming language (python or Scala) in the exam, what about RDD and DataFrame?

I’ve done some practice scenarios and I found to many questions, using DataFrame+SparkSQL would make things much easier to get the right answer.

So my question is: are we allowed to freely choose our solution with RDD or DataFrame+SparkSQL?



Can some one answer the above question please.Rather than using RDD’s using DF’s and SQL makes things easier