Migrate a US-only, high-day/idle-night, containerized Python 3 service and enable Error Reporting with minimal cost and effort.
Choose an answer
Tap an option to check your answer.
Correct answer: Deploy to Cloud Run and write errors to stderr..
Why this is the answer
Deploying to Cloud Run is the most cost-effective and low-effort solution for a high-day/idle-night, US-only containerized service. Cloud Run automatically scales to zero when idle, eliminating costs during off-peak hours, and handles infrastructure management. Writing errors to stderr allows Cloud Logging to automatically capture these logs, which are then ingested by Error Reporting without additional configuration or cost. Deploying to GKE Autopilot, while also managed, incurs higher baseline costs than Cloud Run due to its Kubernetes cluster overhead, even when scaled down. Streaming errors to a Cloud Storage bucket would require additional code to implement the streaming mechanism and would not automatically integrate with Error Reporting without further configuration, increasing effort and complexity compared to simply logging to stderr.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed