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 1 Question 98 Discussion

Posted by Anisha on May 02, 2026 at 07:04 PM

SIMULATION

Print pod name and start time to ''/opt/pod-status'' file

Suggested Answer: A

kubect1 get pods -o=jsonpath='{range

items[*]}{.metadata.name}{'t'}{.status.podIP}{'n'}{end}'


Get Premium CKA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
29 comments · newest first
OW
Owen
It’s all about attention to detail.
MI
Ming 5 days ago
I hope I remember the right format.
CA
Caprice 10 days ago
Yes, and the print command too.
GR
Gregg 15 days ago
We need to focus on file paths.
OW
Owen 20 days ago
A) seems like a good answer.
MI
Ming 26 days ago
I’m confused about the syntax.
CA
Caprice 1 month ago
I think it's straightforward.
GR
Gregg 1 month ago
This question is tricky.
CA
Candra 1 month ago
I’ll review file writing techniques.
TA
Tammara 2 months ago
I need more practice with commands.
ET
Ettie 2 months ago
Same here, just need to remember details.
SH
Shayne 2 months ago
I feel confident with this one.
CA
Candra 2 months ago
I’d focus on the file path.
TA
Tammara 2 months ago
Start time is also important.
ET
Ettie 2 months ago
Yes, print pod name is key.
SH
Shayne 3 months ago
Option A seems correct.
CA
Candra 3 months ago
I believe it’s about file handling.
TA
Tammara 3 months ago
I’m confused about the syntax.
ET
Ettie 3 months ago
I think it’s straightforward.
SH
Shayne 3 months ago
This question is tricky.
IR
Irene 3 months ago
This is exactly what I needed, thanks!
DO
Dortha 4 months ago
I thought we needed more steps for logging.
SA
Sage 4 months ago
Wait, are we sure the file path is correct?
AG
Agustin 4 months ago
Totally agree, this is straightforward!
TA
Tarra 4 months ago
Just a simple print command, right?
RO
Rolande 4 months ago
I practiced something like this last week, but I can't recall if we need to use JSON or YAML output for the pod details.
CY
Cyril 6 months ago
I'm a bit confused about how to access the pod's start time. Is it part of the pod's metadata?
GL
Glendora 6 months ago
I remember a similar question where we had to redirect output to a file. I think we can use `>` for that, right?
ST
Stefany 6 months ago
I think we need to use the `kubectl` command to get the pod name and start time, but I'm not entirely sure how to format the output correctly.
0/2000 characters

Save Cancel