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 CKAD Topic 5 Question 58 Discussion

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

Refer to Exhibit.

Set Configuration Context:

[student@node-1] $ | kubectl

Config use-context k8s

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:

Caren
5 days ago
The solution provided explains how to use kubectl apply and kubectl logs commands for this task.
upvoted 0 times
...
Anastacia
7 days ago
Yes, we need to deploy the counter pod and store its logs in a file.
upvoted 0 times
...
Caren
9 days ago
I think the question is about deploying a pod and retrieving its logs.
upvoted 0 times
...

Save Cancel