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

Linux Foundation LFCA Exam - Topic 1 Question 26 Discussion

Actual exam question for Linux Foundation's LFCA exam
Question #: 26
Topic #: 1
[All LFCA Questions]

Which is a common best practice to automatically reduce disk usage associated with the storage of log files?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Carmela
4 months ago
Manually emptying logs? That sounds like a hassle!
upvoted 0 times
...
Kandis
4 months ago
I agree, A is the best practice here.
upvoted 0 times
...
Dortha
4 months ago
Wait, deleting the /var/log directory? That sounds risky!
upvoted 0 times
...
Lelia
4 months ago
B is a bad idea, you need logs for troubleshooting.
upvoted 0 times
...
Kerrie
5 months ago
Definitely A, logrotate is the way to go!
upvoted 0 times
...
Chi
5 months ago
Deleting the entire 'var/log' directory seems extreme and could cause issues; I wouldn't recommend that at all.
upvoted 0 times
...
Helga
5 months ago
I recall a practice question about log management, and I think using logrotate was the answer there too.
upvoted 0 times
...
Dottie
5 months ago
I'm not entirely sure, but I feel like creating a cron job to delete logs daily might not be the best approach.
upvoted 0 times
...
Alecia
5 months ago
I think option A sounds familiar; I remember studying about log rotation and how it helps manage disk space.
upvoted 0 times
...
Alison
5 months ago
Okay, let's see here. Deleting the entire log directory seems like a bad idea, that would just prevent any logging from happening. And manually emptying the logs every day sounds way too tedious. I think the loqrotate utility is probably the way to go here.
upvoted 0 times
...
Starr
5 months ago
Hmm, I'm a bit unsure about this one. I know there are different ways to handle log file storage, but I'm not sure which one is considered the "best practice." I'll have to think this through carefully.
upvoted 0 times
...
Cherry
5 months ago
This seems like a straightforward question about managing log file storage. I'm pretty confident I know the best practice here, so I'll go with option A.
upvoted 0 times
...
Marleen
6 months ago
I'm a little confused by this question. I know there are ways to manage log file storage, but I'm not sure I'm familiar with the "loqrotate" utility they're mentioning. I'll have to do a quick search on that before answering.
upvoted 0 times
...
Latia
6 months ago
Hmm, I'm a bit unsure about this one. I'll have to review the material on handling bottlenecks in Agile teams.
upvoted 0 times
...
Lina
2 years ago
Option A is the clear winner here. Rotating logs is the way to go. It's like the recycling of the digital world - reduce, reuse, recycle!
upvoted 0 times
Germaine
1 year ago
Wilda: No problem, it's a common best practice for managing log files.
upvoted 0 times
...
Nieves
1 year ago
I didn't know about logrotate, thanks for the tip!
upvoted 0 times
...
Wilda
1 year ago
Absolutely, it's important to rotate logs to prevent them from taking up too much space.
upvoted 0 times
...
Shawna
1 year ago
I agree, using the logrotate utility is the best way to automatically reduce disk usage.
upvoted 0 times
...
...
Nelida
2 years ago
I prefer creating a cron job to delete log files daily. It's a simple and effective solution.
upvoted 0 times
...
Cheryl
2 years ago
I don't think deleting the log files every day manually is efficient. It's better to automate it with logrotate.
upvoted 0 times
...
Malissa
2 years ago
I agree with Willard, using logrotate utility is a common best practice to manage disk usage.
upvoted 0 times
...
Willard
2 years ago
I think the best practice is to use the logrotate utility to rotate the log files.
upvoted 0 times
...
Kristin
2 years ago
Manually emptying the logs every day? Somebody's got way too much free time on their hands. Ain't nobody got time for that!
upvoted 0 times
...
Leonie
2 years ago
Option C is just asking for trouble. Preventing the logs from being created? That's like trying to stop a river by building a dam with duct tape.
upvoted 0 times
Nikita
1 year ago
B) That's true, option C is definitely not a good idea.
upvoted 0 times
...
Tequila
2 years ago
A) Use the logrotate utility to periodically rotate the log files.
upvoted 0 times
...
...
Jacki
2 years ago
Deleting all the logs every day? That's a bit extreme, don't you think? Wouldn't that cause more problems than it solves?
upvoted 0 times
Cathrine
2 years ago
C) Agreed, it could cause more issues than it solves.
upvoted 0 times
...
Domitila
2 years ago
B) No, deleting all logs daily is not a good idea.
upvoted 0 times
...
Keva
2 years ago
A) Use the logrotate utility to periodically rotate the log files.
upvoted 0 times
...
...
Catrice
2 years ago
Option A sounds like the way to go. Rotating logs periodically is a common best practice to manage disk usage. Plus, it's less destructive than just deleting everything.
upvoted 0 times
Levi
2 years ago
Definitely, it's a simple solution that can save a lot of storage space in the long run.
upvoted 0 times
...
Nu
2 years ago
I've used logrotate before and it really does make a difference in keeping disk usage in check.
upvoted 0 times
...
Nickolas
2 years ago
I think so too, it helps keep the log files organized and prevents them from taking up too much space.
upvoted 0 times
...
Graciela
2 years ago
I agree, using the logrotate utility is a good way to manage disk usage.
upvoted 0 times
...
...

Save Cancel