Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

What is the difference between a transformation and an action in Spark?

  1. A Transformations are lazy and build a plan; actions trigger execution and return results
  2. B Actions are lazy
  3. C Transformations execute immediately
  4. D They are the same
Answer

Transformations are lazy and build a plan; actions trigger execution and return results

Laziness lets Spark optimise the whole chain before executing, which is why nothing runs until an action such as collect or count is called.

All Big data MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as