nerdexam
Huawei

H13-723_V2.0 · Question #53

In Spark, assuming that lines is a DStream object, the filter statement can filter out 80% of the data. Which statement is correct for the following two statements: X…

The correct answer is A. X has higher performance than Y. See the full explanation below for the reasoning.

Question

In Spark, assuming that lines is a DStream object, the filter statement can filter out 80% of the data. Which statement is correct for the following two statements:

X: lines.filter(...).groupByKey(...) Y: lines.groupByKey(...).filter(...)

Options

  • AX has higher performance than Y
  • BX has lower performance than Y
  • CX and Y have the same performance
  • DIt is impossible to determine the performance difference between X and Y

How the community answered

(37 responses)
  • A
    73% (27)
  • B
    16% (6)
  • C
    3% (1)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full H13-723_V2.0 Practice