Courseiva
mediumMultiple ChoiceObjective-mapped

Google ACE Practice Question: A team deploys a containerized service to Cloud…

A team deploys a containerized service to Cloud Run. After deployment, requests are timing out after 60 seconds. The service sometimes needs 3 minutes to process certain long-running requests. What should the team adjust?

⚠ Common exam trap

Google Cloud often tests the distinction between timeout-related issues and scaling or concurrency issues, so candidates mistakenly choose options that address cold starts or concurrency when the real problem is a hard timeout limit.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Increase the Cloud Run request timeout to at least 180 seconds

Cloud Run has a default request timeout of 60 seconds. Since the service requires up to 3 minutes (180 seconds) for certain long-running requests, the timeout must be increased to at least 180 seconds. This is configured via the `--timeout` flag or the `timeout_seconds` field in the YAML configuration, and the maximum allowed value is 60 minutes (3600 seconds).

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Increase the minimum number of instances to reduce cold starts

    Why it's wrong here

    Increasing the minimum number of instances keeps more instances warm, which reduces cold-start latency for the first few requests. However, it does not change Cloud Run's default request timeout of 60 seconds; a long-running request that reaches that limit is still terminated regardless of how many instances are available. The symptom described is a timeout on every long request, so the fix is to raise the timeout configuration, not to pre-provision instances.

  • Increase the Cloud Run request timeout to at least 180 seconds

    Why this is correct

    Cloud Run's default request timeout is 60 seconds, and requests that exceed it are terminated, causing the client to see a timeout error. For requests that legitimately need up to 3 minutes, you must explicitly increase the timeout to at least 180 seconds (the maximum allowed is 3600 seconds). You can set this in the Cloud Run console or via the `--timeout` flag when deploying, which directly extends the per-request handling time to cover the full duration needed.

  • Set concurrency to 1 to ensure each instance handles only one request at a time

    Why it's wrong here

    Setting concurrency to 1 configures each Cloud Run instance to handle only one request at a time, which affects how many requests can be processed in parallel but does not change the per-request maximum duration. A 3-minute request would still be terminated at the default 60-second timeout even if it is the only request on its instance. This change might actually worsen performance and increase cost due to more instances being provisioned, while leaving the root timeout problem unsolved.

  • Switch to Cloud Run Jobs instead of Cloud Run Services

    Why it's wrong here

    Cloud Run Jobs are designed for batch or task-based workloads that run to completion without exposing an HTTP endpoint, whereas this scenario involves serving HTTP requests from clients that can wait up to three minutes. A Cloud Run Service is the correct model for long-running HTTP requests, and its timeout can be increased up to 3600 seconds. Moving to a Job would break the client-server model and is not a valid solution for extending the request handling time of an HTTP service.

About these practice questions

This ACE question is part of Courseiva's 769-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.