Exam KCNA Topic 4 Question 263 Discussion

Actual exam question for Linux Foundation's KCNA exam
Question #: 263
Topic #: 4
If a Pod contains multiple containers, how can logs be viewed from one of the containers?

Suggested Answer: B Vote an answer

The kubectl logs command uses the --container flag to specify which container's logs to retrieve when a Pod contains multiple containers.

by Geoff at Aug 16, 2026, 08:19 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10