
Google Professional Data Engineer
Get started today
Ultimate access to all questions.
In a scenario where messages are unexpectedly accumulating in a service using Cloud Pub/Sub, and a developer unfamiliar with Cloud Pub/Sub seeks your help to diagnose the issue, what key point would you highlight regarding how messages are removed from Cloud Pub/Sub topics?
In a scenario where messages are unexpectedly accumulating in a service using Cloud Pub/Sub, and a developer unfamiliar with Cloud Pub/Sub seeks your help to diagnose the issue, what key point would you highlight regarding how messages are removed from Cloud Pub/Sub topics?
Real Exam
Explanation:
The correct answer is that a message is deleted once at least one subscriber for each subscription has acknowledged the message. This ensures that the message has been successfully processed by all intended recipients before it is removed from storage. For more details, refer to the Cloud Pub/Sub documentation at https://cloud.google.com/pubsub/docs/subscriber.