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 23 : You have been given log generating service as below.

Start_logs (It will generate continuous logs)

Tail_logs (You can check , what logs are being generated)

Stop_logs (It will stop the log service)

Path where logs are generated using above service : /opt/gen_logs/logs/access.log

Now write a flume configuration file named flume3.conf , using that configuration file dumps logs in HDFS file system in a directory called flumeflume3/%Y/%m/%d/%H/%M

Means every minute new directory should be created). Please us the interceptors to provide timestamp information, if message header does not have header info.

And also note that you have to preserve existing timestamp, if message contains it. Flume channel should have following property as well. After every 100 message it should be committed, use non-durable/faster channel and it should be able to hold maximum 1000 events.

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

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

Save Cancel