GCP Professional Cloud Architect Practice Question
You are modernizing a food delivery platform currently running as a single virtual machine on Compute Engine. The business wants to split it into three loosely coupled services (Ordering, Rider Allocation, Notification). Requirements: each service must scale independently, communicate asynchronously to absorb surges, continue operating during downstream outages, and minimize infrastructure management with an event-driven model. Which design best meets these needs?
Deploy each service as Cloud Functions subscribed to its own Cloud Pub/Sub topic for inter-service messaging.
Package the services into Cloud Run and use Cloud Tasks queues for communication between them.
Migrate the services to separate App Engine flexible applications and rely on Cloud SQL tables for coordination.
Run the three services in a GKE cluster using StatefulSets and RabbitMQ for internal queues you operate.
Cloud Functions scale horizontally based on incoming events with no servers to manage. When each service publishes events to a dedicated Cloud Pub/Sub topic, producers and consumers are fully decoupled, messages are durably stored and delivered at-least-once, and back-pressure is automatically absorbed. This satisfies independent scaling, asynchronous communication, and tolerance of downstream failures. Operating a RabbitMQ cluster on GKE requires additional administration, Cloud Tasks is intended for point-to-point task dispatch rather than broadcast event streams, and using Cloud SQL tables with App Engine is synchronous and tightly couples services.
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 Pub/Sub, and how does it facilitate asynchronous communication?
Open an interactive chat with Bash
How do Cloud Functions handle scaling automatically?
Open an interactive chat with Bash
What are the benefits of using an event-driven architecture for inter-service communication?
Open an interactive chat with Bash
What is Cloud Pub/Sub and how does it facilitate asynchronous communication?
Open an interactive chat with Bash
How does Cloud Functions scale automatically in an event-driven model?
Open an interactive chat with Bash
Why is RabbitMQ not ideal for this design compared to Cloud Pub/Sub?
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 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .