(CKA) Certified Kubernetes Associate Practice Test
CKA Troubleshooting
How do you view logs for a specific container named 'nginx' in a multi-container pod named 'mypod'?
Select your answer
A
kubectl logs mypod -c nginx
B
kubectl logs mypod --container=nginx --all
C
kubectl describe pod mypod -c nginx
D
kubectl get logs mypod nginx
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →