nerdexam
Huawei

H13-723_V2.0 · Question #157

Which of the following methods can generate DStream objects?

The correct answer is A. KafkaUtils.createStream(...) B. KafkaUtils.createDirectStream(...) C. StreamingContext.socketStream(..) D. StreamingContext.fileStream(...). See the full explanation below for the reasoning.

Question

Which of the following methods can generate DStream objects?

Options

  • AKafkaUtils.createStream(...)
  • BKafkaUtils.createDirectStream(...)
  • CStreamingContext.socketStream(..)
  • DStreamingContext.fileStream(...)

How the community answered

(40 responses)
  • A
    100% (40)

Community Discussion

No community discussion yet for this question.

Full H13-723_V2.0 Practice