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 1 Question 62 Discussion

Actual exam question for Cloudera's CCA175 exam
Question #: 62
Topic #: 1
[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:

Margarita
4 months ago
If I had a nickel for every time I had to work with JSON, I'd have enough to buy a new hard drive to store all these data files.
upvoted 0 times
...
Svetlana
4 months ago
I bet the person who wrote this question is a JSON superhero. Can they solve the mystery of the missing comma?
upvoted 0 times
Ciara
4 months ago
User 3
upvoted 0 times
...
Tambra
4 months ago
User 2
upvoted 0 times
...
Anabel
4 months ago
User 1
upvoted 0 times
...
...
Yaeko
4 months ago
I agree with you, Sarah. Option A seems more comprehensive and covers all the required steps.
upvoted 0 times
...
Kerrie
4 months ago
Wait, we have to save the data back to JSON? Isn't that going to slow things down?
upvoted 0 times
...
Sarah
4 months ago
I think option A is better because it includes writing a select query and printing the data.
upvoted 0 times
...
Lajuana
4 months ago
Hmm, wonder if there's a way to make this even more efficient. Maybe use a different file format?
upvoted 0 times
Melina
4 months ago
User 2
upvoted 0 times
...
Hyun
4 months ago
User 1
upvoted 0 times
...
...
Gwen
5 months ago
Love the JSON data format! Makes it easy to work with.
upvoted 0 times
...
Arlie
5 months ago
This question looks straightforward. Just need to follow the steps provided.
upvoted 0 times
Cassie
3 months ago
User 1
upvoted 0 times
...
Jovita
3 months ago
User 2
upvoted 0 times
...
Dottie
3 months ago
User 1
upvoted 0 times
...
Barabara
3 months ago
User 2
upvoted 0 times
...
Tamra
4 months ago
User 1
upvoted 0 times
...
Layla
4 months ago
User 2
upvoted 0 times
...
Harley
4 months ago
User 2
upvoted 0 times
...
Roosevelt
4 months ago
User 1
upvoted 0 times
...
Krystal
4 months ago
User 1
upvoted 0 times
...
...

Save Cancel