ASSOCIATE-DATA-PRACTITIONER practice question 15 of 25
Your organization sends IoT event data to a Pub/Sub topic. Subscriber applications read and perform transformations on the messages before storing…
Full set: 106 questionsThe subscriber applications are overwhelmed by the volume of messages during peak times, causing them to miss acknowledgment deadlines. Implementing flow control on the subscribers allows them to limit the rate and number of messages they pull from the topic at any given time. This prevents the subscribers from being overloaded, enabling them to process and acknowledge messages within the deadline, thus resolving the issue of repeated message deliveries and ensuring the pipeline remains stable during activity spikes.
A. Retrying is the default Pub/Sub behavior for unacknowledged messages; it is the source of the problem, not the solution.
C. A dead-letter topic is for messages that fail processing repeatedly, not for managing high throughput. This would cause data loss.
D. Seeking is used to replay messages from a specific point in time and does not address the subscriber's inability to handle the current load.
1. Google Cloud Documentation, "Pub/Sub - Receiving messages using Pull," Section: Flow control. "To avoid being overwhelmed by messages, the subscriber can configure flow control settings. Flow control lets you set limits on the number of messages and the total megabytes of data that are buffered in memory."
2. Google Cloud Documentation, "Pub/Sub - Subscriber push and pull," Section: Pull subscriber flow control. "Flow control can prevent the subscriber from being overwhelmed with more messages than it can process."
Keep practicing
Take the free ASSOCIATE-DATA-PRACTITIONER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ASSOCIATE-DATA-PRACTITIONER practice questions
- Question 1You are designing a pipeline to process data files that arrive in Cloud Storage by 3:00 a…
- Question 2Your organization plans to move their on-premises environment to Google Cloud. Your organ…
- Question 3You are responsible for managing Cloud Storage buckets for a research company. Your compa…
- Question 4You are predicting customer churn for a subscription-based service. You have a 50 PB hist…
- Question 5Your retail company collects customer data from various sources:Online transactions: Stor…
- Question 6Your company has developed a website that allows users to upload and share video files. T…
