Exam CDP-3002 Topic 1 Question 10 Discussion
Actual exam question for Cloudera's CDP-3002 exam
Question #: 10
Topic #: 1
Question #: 10
Topic #: 1
You are processing a large dataset using Spark and need to ensure that the results are available for subsequent stages without recomputing. Which approach achieves this efficiently?
Suggested Answer: B Vote an answer
While other options might work, rdd.persist() is the recommended approach for Spark's distributed persistence. It allows you to specify the storage level (e.g., MEMORY_ONLY, MEMORY_AND_DISK) for intermediate RDDs, ensuring they are available for future stages without recomputing, improving efficiency and performance.
by Donna at Jun 24, 2025, 09:37 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).