
Answer-first summary for fast verification
Answer: Cloud Pub/Sub to Cloud Dataflow
The correct answer is B: Cloud Pub/Sub to Cloud Dataflow. While Cloud Pub/Sub can provide ordered delivery within the same region, it does not guarantee exactly-once delivery globally. Cloud Dataflow is used for deduplication and additional data processing to ensure strict FIFO delivery globally. Therefore, combining Cloud Pub/Sub with Cloud Dataflow ensures that messages are both ordered and deduplicated, meeting the requirement of guaranteed-once FIFO delivery for a globally scaled system.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are tasked with developing a globally scaled frontend interface for an existing legacy streaming backend data API. The API requires that the data events it receives must be processed in strict chronological order and without any duplicate events for accurate functionality. Given these constraints, which combination of Google Cloud products would you deploy to ensure guaranteed-once FIFO (first-in, first-out) delivery of data?
A
Cloud Pub/Sub alone
B
Cloud Pub/Sub to Cloud Dataflow
C
Cloud Pub/Sub to Stackdriver
D
Cloud Pub/Sub to Cloud SQL