Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam KCNA All Questions
Exam KCNA All Questions

View all questions & answers for the KCNA exam

Linux Foundation Kubernetes and Cloud Native KCNA Question # 16 Topic 2 Discussion

KCNA Exam Topic 2 Question 16 Discussion:
Question #: 16
Topic #: 2

Have a pod 'hello' and a container in that pod 'green'. Which of the following commands would get the logs for that container?


A.

alias k='kubectl'

k logs -p hello -c green


B.

alias k='kubectl'

k logs hello -c green


C.

alias k='kubectl'

k get logs -p hello -c green


D.

alias k='kubectl'

k logs -p hello green


Get Premium KCNA Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.