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 CKAD Exam - Topic 6 Question 10 Discussion

Actual exam question for Linux Foundation's CKAD exam
Question #: 10
Topic #: 6
[All CKAD Questions]

Exhibit:

Context

You sometimes need to observe a pod's logs, and write those logs to a file for further analysis.

Task

Please complete the following;

* Deploy the counter pod to the cluster using the provided YAMLspec file at /opt/KDOB00201/counter.yaml

* Retrieve all currently available application logs from the running pod and store them in the file /opt/KDOB0020l/log_Output.txt, which has already been created

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Paul
4 months ago
I think there's a typo in the output file path. Should be /opt/KDOB0020l/log_Output.txt, right?
upvoted 0 times
...
Wilda
5 months ago
Yup, you can use `kubectl logs` to get the logs from the pod.
upvoted 0 times
...
Shonda
5 months ago
Wait, are we sure the logs will be in that file? Seems off.
upvoted 0 times
...
Lilli
5 months ago
Totally agree, that's the first step!
upvoted 0 times
...
Jestine
5 months ago
Just deploy the pod using the YAML file at /opt/KDOB00201/counter.yaml.
upvoted 0 times
...
Milly
5 months ago
I definitely practiced retrieving logs before, but I can't remember if I need to specify the pod name or just use a wildcard.
upvoted 0 times
...
Lou
5 months ago
I feel a bit uncertain about the file path for storing logs. Was it /opt/KDOB0020l or something else?
upvoted 0 times
...
Matt
5 months ago
I think I remember how to deploy a pod using a YAML file, but I'm not entirely sure about the exact command syntax.
upvoted 0 times
...
Joanna
6 months ago
This seems similar to a practice question we did on logging. I hope I can recall the right command to retrieve the logs.
upvoted 0 times
...
Valentin
6 months ago
Hmm, I'm not entirely sure about this one. I'll need to carefully consider the different types of organizations and their potential exposure to electronic credit card data theft.
upvoted 0 times
...
Susana
6 months ago
Hmm, I'm a bit confused by the question. I'll need to re-read the details and the options to make sure I understand what the goal is and how to best accomplish it.
upvoted 0 times
...

Save Cancel