Question 289 of 307
Single answerYou 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?
ACreate a new topic, and publish the last 30 days of data each time a new subscriber connects to an existing topic.
✓BSet the topic retention policy to 30 days.
CSet the subscriber retention policy to 30 days.
DAsk the source system to re-push the data to Pub/Sub, and subscribe to it.
✓
Correct Answer: B
Set the topic retention policy to 30 days.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.