
Answer-first summary for fast verification
Answer: Messages are deleted from storage once at least one subscriber for each subscription has acknowledged the message.
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.
Author: LeetQuiz Editorial Team
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?
A
Messages are deleted from storage once at least one subscriber for any subscription has acknowledged the message.
B
Messages are deleted from storage once at least one subscriber for each bucket has acknowledged the message.
C
Messages are deleted from storage once at least one subscriber for each topic has acknowledged the message.
D
Messages are deleted from storage once at least one subscriber for each subscription has acknowledged the message.
No comments yet.