There are two types of RDD Operations in Spark. They are:

  • Transformation: It is a type of function in which a new RDD is created from an existing RDD.
  • Action: This is a type of function which is used when the user wants to work with an actual DataSet.
BY Best Interview Question ON 10 Jun 2020