Databricks Certified Associate Developer for Apache Spark — Question 167
Which of the following statements describing a difference between transformations and actions is incorrect?
Answer options
- A. There are wide and narrow transformations but there are not wide and narrow actions.
- B. Transformations do not trigger execution while actions do trigger execution.
- C. Transformations work on DataFrames/Datasets while actions are reserved for native language objects.
- D. Some actions can be used to return data objects in a format native to the programming language being used to access the Spark API while transformations do not provide this ability.
- E. Transformations are typically logic operations while actions are typically focused on returning results.
Correct answer: C
Explanation
The correct answer is C because transformations can indeed work on DataFrames/Datasets and not just on native language objects. The other options accurately describe the characteristics of transformations and actions in Spark, such as the types of transformations and the execution triggering mechanism.