QuestionQ263Verified/Developing Apache Spark™ DataFrame/DataSet API ApplicationsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following is a benefit of lazy evaluation?ASpark jobs can be better optimized because all of the transformations in the job are visible prior to evaluationBSpark jobs are less complex because they don't execute all of the operations in the programCSpark jobs run faster because they do not distribute small tasks across the cluster due to the cost of cluster overheadDSpark jobs are less likely to fail because the execution does not start until the job is finished compilingESpark jobs run faster because there is increased communication between the Spark driver and its worker nodesShow AnswerAnswerExplanationLazy evaluation lets Spark build the complete transformation lineage before execution begins, enabling it to optimize the job’s execution plan across those transformations.Show comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion