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 4 Question 56 Discussion

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

Problem Scenario 75 : You have been given MySQL DB with following details.

user=retail_dba

password=cloudera

database=retail_db

table=retail_db.orders

table=retail_db.order_items

jdbc URL = jdbc:mysql://quickstart:3306/retail_db

Please accomplish following activities.

1. Copy "retail_db.order_items" table to hdfs in respective directory p90_order_items .

2. Do the summation of entire revenue in this table using pyspark.

3. Find the maximum and minimum revenue as well.

4. Calculate average revenue

Columns of ordeMtems table : (order_item_id , order_item_order_id , order_item_product_id, order_item_quantity,order_item_subtotal,order_item_subtotal,order_item_product_price)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Carlton
4 months ago
I will consider trying out Solution B for a more comprehensive approach.
upvoted 0 times
...
Lavonne
4 months ago
I see your point, Juan. It's important to calculate all possible metrics for analysis.
upvoted 0 times
...
Juan
4 months ago
I prefer Solution B as it gives more insights by calculating maximum and minimum revenue.
upvoted 0 times
...
Carlton
4 months ago
I think I would follow Solution A for copying the table to hdfs.
upvoted 0 times
...
Lavonne
4 months ago
Yeah, it seems like a practical scenario to work on.
upvoted 0 times
...
Carlton
4 months ago
I find this question about MySQL DB interesting.
upvoted 0 times
...
Alisha
4 months ago
I agree with Hollis, Solution B seems more comprehensive and covers all the required calculations.
upvoted 0 times
...
Hollis
5 months ago
I prefer Solution B because it also calculates the maximum and minimum revenue.
upvoted 0 times
...
Trinidad
5 months ago
I think I understand the steps provided in Solution A to copy the table to hdfs.
upvoted 0 times
...
Adria
6 months ago
I am really nervous about this question in the exam.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77