ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 73 - Professional Cloud Developer discussion

Report
Export

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?

A.
kubectl logs [PARAM]
Answers
A.
kubectl logs [PARAM]
B.
gcloud logging read [PARAM]
Answers
B.
gcloud logging read [PARAM]
C.
kubectl exec --it [PARAM] journalctl
Answers
C.
kubectl exec --it [PARAM] journalctl
D.
gcloud compute ssh [PARAM] ---command= ''sudo journalctl''
Answers
D.
gcloud compute ssh [PARAM] ---command= ''sudo journalctl''
Suggested answer: D
asked 18/09/2024
Leandro Ruwer
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first