Google
PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #105
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?
Sign in or unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to reveal the answer and full explanation for question #105. The question stem and answer options stay visible for context.
Submitted by stefanr· Apr 18, 2026Implementing service monitoring strategies
Question
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?
Options
- AModify the application to use Cloud Logging software development kit (SDK), and send log
- BInstall a Fluent Bit sidecar container, and use a JSON parser.
- CInstall the log agent in the Cloud Run container image, and use the log agent to forward logs to
- DConfigure the log agent to convert log text payload to JSON payload.
Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-CLOUD-DEVOPS-ENGINEER questions. Unlock PROFESSIONAL-CLOUD-DEVOPS-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Structured Logging#Cloud Run Logging#Log Agents#Log Transformation