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 CKA Exam - Topic 6 Question 28 Discussion

Actual exam question for Linux Foundation's CKA exam
Question #: 28
Topic #: 6
[All CKA 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:

0/2000 characters
Cristal
4 months ago
Looks good to me, but I’d test it first before running in production.
upvoted 0 times
...
Alverta
5 months ago
This is a classic mistake, always double-check your grep patterns!
upvoted 0 times
...
Carolann
5 months ago
Surprised they didn't mention the need for proper permissions on /opt/KUTR00101/bar.
upvoted 0 times
...
Rodney
5 months ago
Totally agree, it should be 'file-not-found' instead of 'unable-to-access-website'.
upvoted 0 times
...
Abraham
5 months ago
That command won't catch 'file-not-found' errors.
upvoted 0 times
...
Wei
5 months ago
I think the command should be `grep 'file-not-found'`, but I’m not completely confident. I hope I don't mix it up with the other error messages we studied.
upvoted 0 times
...
Novella
5 months ago
I practiced something similar where we had to filter logs, but I feel like I might confuse the error message. Was it 'file-not-found' or something else?
upvoted 0 times
...
Jeannetta
5 months ago
I think I remember that we need to use `kubectl logs` to get the logs, but I'm not sure about the exact error message to grep for.
upvoted 0 times
...
Felicitas
6 months ago
I definitely recall writing logs to a specific path, but I can't remember if we need to use `>` or `>>` for appending.
upvoted 0 times
...
Alonzo
6 months ago
Based on my experience designing flows, I think the best approach is to use the data pill to bring in the necessary record data. Option D seems like the right choice here.
upvoted 0 times
...
Lavelle
6 months ago
Wait, I'm confused. Isn't the patient's name one of the most important things that has to be on the label? I'm not sure about this one, I'll have to re-read the question carefully.
upvoted 0 times
...

Save Cancel