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 Exam CKA Topic 2 Question 65 Discussion

Actual exam question for Linux Foundation's Certified Kubernetes Administrator exam
Question #: 65
Topic #: 2
[All Certified Kubernetes Administrator Questions]

Score: 5%

Task

Monitor the logs of pod bar and:

* Extract log lines corresponding to error file-not-found

* Write them to /opt/KUTR00101/bar

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Nieves
14 days ago
I'm pretty sure the correct answer is to use the 'grep' command to filter the logs for 'file-not-found' errors and then redirect the output to the specified file. Anything else would be like trying to catch a unicorn with a butterfly net.
upvoted 0 times
Vincenza
22 hours ago
I agree, using 'grep' is the way to go for this task.
upvoted 0 times
...
...
Gearldine
21 days ago
Ah, the old 'unable-to-access-website' trick. I bet the exam team is having a good laugh about that one. Anyway, let's move on and get this done properly.
upvoted 0 times
...
Ardella
22 days ago
Wait, what? 'Unable-to-access-website'? That's not even in the question! I think someone's playing a prank on us. Let's stick to the actual task at hand, folks.
upvoted 0 times
Chantell
13 days ago
I agree, we should focus on extracting log lines for error file-not-found.
upvoted 0 times
...
...
Bong
23 days ago
Hold up, did they really say 'unable-to-access-website' in the question? I'm pretty sure the requirement was to look for 'file-not-found' errors. Better double-check that.
upvoted 0 times
...
Alverta
24 days ago
Hmm, this seems like a pretty straightforward task. I'd just use the grep command to filter the logs for the 'file-not-found' error and then redirect the output to the specified file. Easy peasy!
upvoted 0 times
Kanisha
22 hours ago
Definitely, verifying the extracted logs is an important step to ensure we captured the right information.
upvoted 0 times
...
Leonida
2 days ago
Make sure to check the contents of the file after writing the logs to it to confirm the extraction was successful.
upvoted 0 times
...
Rosann
4 days ago
I agree, it's a quick and efficient way to extract the error lines we need.
upvoted 0 times
...
Edward
16 days ago
That's a good approach! Using grep makes it simple to filter out the specific error logs.
upvoted 0 times
...
...
Bernadine
28 days ago
I think we then write the filtered logs to a specific directory for further analysis.
upvoted 0 times
...
Jody
1 months ago
That makes sense, we need to filter out the specific error messages.
upvoted 0 times
...
Claudio
1 months ago
I agree, but I believe the answer is to use grep to extract the error lines.
upvoted 0 times
...
Jody
1 months ago
I think this question is tricky.
upvoted 0 times
...

Save Cancel