Examtopics

Professional Cloud Developer
  • Topic 1 Question 332

    Your company recently modernized their monolith ecommerce site to a microservices application in GKE. Your team uses Google Cloud's operations suite for monitoring and logging. You want to improve the logging indexing and searchabilty in Cloud Logging across your microservices with the least amount of effort. What should you do?

    • Ask the SRE team to enable Managed Service for Prometheus on your GKE cluster.

    • Reconfigure your applications to write logs to an emptyDir volume. Configure a sidecar agent to read the logs and send them to the Cloud Logging API.

    • Update your microservices code to emit logs in JSON format.

    • Instrument your microservices code with OpenTelemetry libraries.


    シャッフルモード