GCP ACE · Question 34 · Domain 4.2: Managing GKE resources
A developer reports that their application running in a GKE cluster is crashing on startup. You need to view the standard output (stdout) logs of the specific pod named 'frontend-app-xyz' to diagnose the issue.
Which command should you use?
Answer options:
gcloud container logs read frontend-app-xyz
kubectl describe pod frontend-app-xyz
kubectl logs frontend-app-xyz
kubectl get logs frontend-app-xyz
50 questions · hints · full answers · grading