Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Huawei Exam H13-723_V2.0 Topic 1 Question 17 Discussion

Actual exam question for Huawei's H13-723_V2.0 exam
Question #: 17
Topic #: 1
[All H13-723_V2.0 Questions]

There are the following business scenarios: User online log files have been stored inHDFSabove, the log file content format the formula is: each online record has three fields, namely name, gender, and online time, and the fields are separated by ",";

It is required to print out all female netizens who spend more than two hours online. Which of the following code snippets can achieve

The above business scenario? (multiple choice)

Show Suggested Answer Hide Answer
Suggested Answer: A, C, D

Contribute your Thoughts:

Timothy
12 days ago
Option B gets my vote. It's like the 'Goldilocks' of the options - not too complex, not too simple, just right!
upvoted 0 times
...
Sabrina
14 days ago
I'm a bit confused by the syntax in option C and D. The code seems a bit verbose and convoluted compared to option B, which is more readable and easier to understand.
upvoted 0 times
...
Mica
15 days ago
I'm not sure, but I think option B might also work because it selects the name and stay time for female netizens spending more than two hours online.
upvoted 0 times
...
Johnna
16 days ago
I disagree, I believe option C is the right choice as it correctly filters and sums up the stay time for female netizens.
upvoted 0 times
...
Ty
16 days ago
Option A looks a bit overcomplicated with the use of both map and toDF. I think option B is a cleaner and more concise solution.
upvoted 0 times
...
Micah
17 days ago
The code snippet in option B looks good to me. It seems to be the most straightforward implementation to achieve the given business scenario.
upvoted 0 times
...
Charlette
19 days ago
I think option A is correct because it filters out female netizens who spend more than two hours online.
upvoted 0 times
...

Save Cancel