Topic 1 Question 294
You work for a large ecommerce company. You are using Pub/Sub to ingest the clickstream data to Google Cloud for analytics. You observe that when a new subscriber connects to an existing topic to analyze data, they are unable to subscribe to older data. For an upcoming yearly sale event in two months, you need a solution that, once implemented, will enable any new subscriber to read the last 30 days of data. What should you do?
Create a new topic, and publish the last 30 days of data each time a new subscriber connects to an existing topic.
Set the topic retention policy to 30 days.
Set the subscriber retention policy to 30 days.
Ask the source system to re-push the data to Pub/Sub, and subscribe to it.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: B
B. Set the topic retention policy to 30 days.
👍 1scaenruy2024/01/04 - 正解だと思う選択肢: B👍 1Sofiia982024/01/10
- 正解だと思う選択肢: B
- Topic Retention Policy: This policy determines how long messages are retained by Pub/Sub after they are published, even if they have not been acknowledged (consumed) by any subscriber.
- 30 Days Retention: By setting the retention policy of the topic to 30 days, all messages published to this topic will be available for consumption for 30 days. This means any new subscriber connecting to the topic can access and analyze data from the past 30 days.
👍 1raaad2024/01/11
シャッフルモード