ExamQuestions.com

Register
Login
Google Professional Cloud Developer Exam Exam Questions

Google

Google Professional Cloud Developer Exam

43 / 84

Question 43:

Your application is running in multiple Google Kubernetes Engine clusters. It is managed by a Deployment in each cluster. The Deployment has created multiple replicas of your Pod in each cluster. You want to view the logs sent to stdout for all of the replicas in your Deployment in all clusters. Which command should you use? 

Answer options:

A. kubectl logs [PARAM]
B. gcloud logging read [PARAM]
C. kubectl exec ""it [PARAM] journalctl
D. gcloud compute ssh [PARAM] ""-command= "sudo journalctl"