GCP Professional Cloud Architect Practice Question
Your team manages a stateless containerized HTTP API that currently runs in a GKE Autopilot cluster. During promotional events, demand jumps from 50 requests per second to 15 000 within 30 seconds, then drops back to near-zero. The HPA cannot spin up pods fast enough, causing errors. The business wants to minimize operations, pay only for requests actually served, and keep the existing public HTTPS URL unchanged. What approach best meets these goals?
Retain GKE but set an initial pod count of 2000 and enable node auto-provisioning with larger node pools to absorb bursts.
Migrate the container image to Cloud Run, configure a custom domain that matches the current URL, set min-instances to 0, and raise the service's max-instances quota to exceed the peak load.
Deploy the code as a Cloud Function (1st gen), set the maximum number of function instances to 1000, and map the function to the existing domain.
Create a regional managed instance group running the container image on preemptible VMs, enable autoscaling based on 60 % CPU utilization, and front it with an external HTTP(S) load balancer using the current URL.
Cloud Run is a fully managed service that can start at zero instances and automatically scale to thousands of container instances in seconds while charging only for the CPU and memory used during request processing. A custom domain can be mapped so the public endpoint remains unchanged. Increasing pod counts on GKE, switching to Cloud Functions (1st gen), or creating a managed instance group still leaves the team responsible for node or VM management and incurs idle-time costs; Cloud Functions (1st gen) is further limited by single-request concurrency and may not sustain 15 000 RPS.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the difference between GKE and Cloud Run?
Open an interactive chat with Bash
How does autoscaling work in Cloud Run?
Open an interactive chat with Bash
Why is Cloud Run better suited for stateless applications?
Open an interactive chat with Bash
What is Cloud Run and how does it handle scaling during traffic spikes?
Open an interactive chat with Bash
What is the difference between Cloud Run and GKE Autopilot in scaling and management?
Open an interactive chat with Bash
How does mapping a custom domain to Cloud Run work, and why is it beneficial?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Designing and planning a cloud solution architecture
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .