nerdexam
Google

PROFESSIONAL-CLOUD-DEVELOPER · Question #100

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

Sign in or unlock PROFESSIONAL-CLOUD-DEVELOPER to reveal the answer and full explanation for question #100. The question stem and answer options stay visible for context.

Logging and Monitoring Google Kubernetes Engine Applications

Question

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? kubectl logs [PARAM] A.

Options

  • Bgcloud logging read [PARAM]
  • Ckubectl exec -it [PARAM] journalctl

Unlock PROFESSIONAL-CLOUD-DEVELOPER to see the answer

You've previewed enough free PROFESSIONAL-CLOUD-DEVELOPER questions. Unlock PROFESSIONAL-CLOUD-DEVELOPER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Cloud Logging#Google Kubernetes Engine (GKE)#Application Monitoring#Troubleshooting
Full PROFESSIONAL-CLOUD-DEVELOPER Practice