Google Cloud Professional Cloud Architect — Question 16
You are developing a globally scaled frontend for a legacy streaming backend data API. This API expects events in strict chronological order with no repeat data for proper processing.
Which products should you deploy to ensure guaranteed-once FIFO (first-in, first-out) delivery of data?
Answer options
- 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
Correct answer: B
Explanation
The correct answer is B because Cloud Pub/Sub combined with Cloud Dataflow allows for processing messages in a FIFO manner while ensuring exactly-once delivery. Option A does not provide the necessary processing capabilities for FIFO delivery. Option C, Stackdriver, is primarily for monitoring and logging, and does not handle data delivery. Option D, Cloud SQL, is a database solution that is not designed for the specific requirements of FIFO message processing.