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

Cloudera Exam CCA175 Topic 2 Question 60 Discussion

Actual exam question for Cloudera's CCA175 exam
Question #: 60
Topic #: 2
[All CCA175 Questions]

Problem Scenario 91 : You have been given data in json format as below.

{"first_name":"Ankit", "last_name":"Jain"}

{"first_name":"Amir", "last_name":"Khan"}

{"first_name":"Rajesh", "last_name":"Khanna"}

{"first_name":"Priynka", "last_name":"Chopra"}

{"first_name":"Kareena", "last_name":"Kapoor"}

{"first_name":"Lokesh", "last_name":"Yadav"}

Do the following activity

1. create employee.json tile locally.

2. Load this tile on hdfs

3. Register this data as a temp table in Spark using Python.

4. Write select query and print this data.

5. Now save back this selected data in json format.

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Claribel
4 months ago
Don't forget, codec changes and saving as parquet is critical.
upvoted 0 times
...
Cordell
5 months ago
True, showing data with 'SELECT' makes more sense.
upvoted 0 times
...
Mitsue
5 months ago
Solution B seems clear, especially registering the temporary table.
upvoted 0 times
...
Hollis
5 months ago
So, we have two solutions here. Both seem similar.
upvoted 0 times
...
Irma
6 months ago
Yeah, pretty detailed steps. Mostly about handling data in Spark.
upvoted 0 times
...
Maryrose
6 months ago
This question is a bit complicated, don't you think?
upvoted 0 times
...

Save Cancel