
Answer-first summary for fast verification
Answer: Submit the seat reservation in an HTTP POST request to an Application Load Balancer. Configure the Application Load Balancer to distribute the request to a Compute Engine managed instance group that processes the reservation.
The question requires immediate confirmation of seat reservation, which implies synchronous processing. Option D uses an Application Load Balancer with Compute Engine, enabling real-time HTTP request handling. The other options (A, B, C) rely on asynchronous systems (queues, Pub/Sub, Cloud Storage triggers), which may introduce delays between reservation initiation and confirmation. Only D ensures the backend processes the request and returns confirmation directly within the user's request flow.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
As a developer for a concert venue's ticketing system, how would you design the seat reservation process to provide customers with immediate confirmation when a seat is successfully booked?
A
Add the seat reservation to a Cloud Tasks queue, which triggers Workflows to process the seat reservation.
B
Publish the seat reservation to a Pub/Sub topic. Configure the backend service to use Eventarc to process the seat reservation on GKE.
C
Upload the seat reservation to a Cloud Storage bucket, which triggers an event to a Cloud Run service that processes the orders.
D
Submit the seat reservation in an HTTP POST request to an Application Load Balancer. Configure the Application Load Balancer to distribute the request to a Compute Engine managed instance group that processes the reservation.