Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Developer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
B. gcloud logging read [PARAM]: Google Cloud's operations suite (formerly known as Stackdriver) aggregates logs from all the pods across all the GKE clusters. By using gcloud logging read, you can query these logs with specific parameters (like the name of the Deployment, container, or other filters) to view the combined logs from all replicas across all clusters. This command provides a centralized way to access logs at scale.
B is correct
choose B. gcloud logging also can be used for quering pod log https://stackoverflow.com/questions/62007471/how-to-view-container-logs-via-stackdriver-on-gke