GCP Professional Cloud Architect Practice Question
Your company is refactoring a Python microservice that currently runs in a Docker container on-prem. It exposes a REST endpoint, may need up to 1 000 concurrent requests, and must scale to zero when idle. The team wants to reuse the existing Dockerfile, minimise operational overhead, and allow other internal services to invoke it over HTTPS. Which Google Cloud service best meets these requirements?
Deploy the microservice to Cloud Functions (2nd gen) and invoke it as an HTTP function.
Package the container image and deploy it to Cloud Run fully managed.
Rewrite the service to run in the App Engine Standard environment.
Create a GKE Autopilot cluster and run the container with an HPA configured on CPU.
Cloud Run fully managed accepts any OCI-compliant container built from the existing Dockerfile, automatically provisions and scales the underlying infrastructure from zero to thousands of instances based on request traffic, and exposes the service through an HTTPS URL. Cloud Functions would require rewriting the code into a function entry point and does not let you deploy an arbitrary container image directly. App Engine Standard supports only specific language runtimes rather than custom containers, and its per-instance concurrency is much lower. GKE Autopilot automates control-plane and node operations but still involves Kubernetes configuration overhead and does not natively scale pods to zero.
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 Cloud Run and how does it simplify deployment?
Open an interactive chat with Bash
Why doesn't Cloud Functions support deploying arbitrary container images?
Open an interactive chat with Bash
What distinguishes GKE Autopilot and Cloud Run in terms of operational overhead?
Open an interactive chat with Bash
What is Cloud Run, and why is it suitable for this scenario?
Open an interactive chat with Bash
How does Cloud Run handle scaling to zero, and why is it beneficial?
Open an interactive chat with Bash
Why can't Cloud Functions, App Engine, or GKE Autopilot meet the requirements?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Managing and provisioning a solution infrastructure
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 .