Topic 1 Question 102
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?
Cloud Pub/Sub alone
Cloud Pub/Sub to Cloud Dataflow
Cloud Pub/Sub to Stackdriver
Cloud Pub/Sub to Cloud SQL
解説
ユーザの投票
コメント(17)
I believe the answer is B. "Pub/Sub doesn't provide guarantees about the order of message delivery. Strict message ordering can be achieved with buffering, often using Dataflow." https://cloud.google.com/solutions/data-lifecycle-cloud-platform
👍 56exampanic2020/01/02B is the answer. CloudSQL is only for storage, to get the messages in order you need timestamp processed in dataflow to arrange them before putting it in any storage volume. The system described is not querying a db it is expecting a stream of messages only dataflow can correct the order. ACID has no value here because the db is not being queried. You'll not find any documentation on pub/sub order being corrected with a db. See notes below on pub/sub and dataflow using timestamps and windows to ensure order
👍 28xhova2020/05/03- 正解だと思う選択肢: A
Only once deliver - https://cloud.google.com/pubsub/docs/exactly-once-delivery Ordering of messages - https://cloud.google.com/pubsub/docs/ordering#receiving_messages_in_order
both supported by Cloud Pubsub
👍 6SureshbabuK2022/11/28
シャッフルモード