Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A global retail company is architecting an event-driven transaction processing system on Google Cloud to handle millions of checkout events per minute during seasonal flash sales. The event processing workload runs on Google Kubernetes Engine (GKE) worker pods.
The architecture must meet the following requirements:
Which Pub/Sub consumption pattern and configuration should the cloud architect implement?
Pub/Sub StreamingPull is a bidirectional streaming RPC mechanism implemented by Google Cloud high-level client libraries. It establishes a persistent, open gRPC connection between the subscriber client and Pub/Sub servers, allowing messages to be streamed immediately to the subscriber as soon as they are published. Subscriber flow control is a client-side setting that limits the maximum number of outstanding unacknowledged messages or total message bytes held in memory simultaneously.
Compared to push subscriptions or unary pull loops, StreamingPull via high-level client libraries provides optimal performance for heavy enterprise workloads, ensuring resilient backpressure handling and avoiding worker crashes under high load.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.