Medium1 markMultiple Choice
Domain 3.2: Deploying and implementing GKE resourcesGKECloud LoggingCloud MonitoringOperations

GCP ACE · Question 24 · Domain 3.2: Deploying and implementing GKE resources

You are deploying a new GKE cluster and want to ensure that all container logs and cluster metrics are automatically sent to Google Cloud's operations suite (formerly Stackdriver).

Which TWO statements about GKE monitoring and logging are correct? (Select TWO)

Answer options:

A.

You must manually install the Fluentd daemonset on every node to collect logs.

B.

Cloud Logging and Cloud Monitoring are enabled by default on new GKE clusters.

C.

You can view the container logs directly in the Logs Explorer in the Google Cloud Console.

D.

You must configure a Cloud Storage bucket to store the metrics before they can be viewed.

E.

GKE only supports third-party monitoring tools like Prometheus and Grafana.

How to approach this question

Understand the default integrations between GKE and Google Cloud's operations suite.

Full Answer

Cloud Logging and Cloud Monitoring are enabled by default on new GKE clusters., You can view the container logs directly in the Logs Explorer in the Google Cloud Console.
Google Kubernetes Engine (GKE) has native integration with Google Cloud's operations suite (Cloud Logging and Cloud Monitoring). This integration is enabled by default when you create a new cluster. The system automatically deploys the necessary agents (like Fluentbit/Fluentd) to collect logs from standard output and standard error, which can then be viewed directly in the Logs Explorer.

Common mistakes

Assuming you have to manually configure logging agents like you would on a self-managed Kubernetes cluster on Compute Engine.

Practice the full GCP Associate Cloud Engineer Practice Exam 7

50 questions · hints · full answers · grading

More questions from this exam