Examtopics

Professional Cloud DevOps Engineer
  • Topic 1 Question 159

    Your Cloud Run application writes unstructured logs as text strings to Cloud Logging. You want to convert the unstructured logs to JSON-based structured logs. What should you do?

    • Modify the application to use Cloud Logging software development kit (SDK), and send log entries with a jsonPayload field.

    • Install a Fluent Bit sidecar container, and use a JSON parser.

    • Install the log agent in the Cloud Run container image, and use the log agent to forward logs to Cloud Logging.

    • Configure the log agent to convert log text payload to JSON payload.


    シャッフルモード