GCP ACE · Question 35 · Domain 4.2: Managing GKE resources
A developer reports that their application deployed on GKE is crashing on startup. You need to view the standard output (stdout) of the container to see the error message.
Which command should you use?
Answer options:
gcloud compute instances tail-serial-port-output [NODE_NAME]
kubectl describe pod [POD_NAME]
kubectl logs [POD_NAME]
gcloud container logs read [POD_NAME]
50 questions · hints · full answers · grading