Google Cloud Professional Cloud Developer Practice Test

1 / 400

Which setup should you use to efficiently manage high volumes of messages in your audit service architecture?

Create one Pub/Sub topic with one pull subscription for audit services.

To efficiently manage high volumes of messages in an audit service architecture, creating one Pub/Sub topic with multiple pull subscriptions for scalability is a practical approach. This setup facilitates several benefits crucial for handling large volumes of messages effectively.

Using a single topic allows for centralized management and organization of messages related to audit events. The key advantage of employing multiple pull subscriptions is that it can accommodate a greater number of consumers. Each subscription can independently pull messages from the same topic, allowing for parallel processing. This can dramatically increase throughput and ensure that messages are processed promptly without bottlenecks caused by having only a single subscription.

Additionally, this approach allows different audit services or components to independently scale based on their processing needs. If one audit service requires more resources to process messages rapidly, you can simply add more instances for that subscription. Meanwhile, other subscriptions can operate at their required capacity independently.

This setup also benefits from the reliability and durability features of Pub/Sub, whereby messages can be retried or reprocessed without loss, making it suitable for audit scenarios where data integrity and completeness are essential.

Get further explanation with Examzify DeepDiveBeta

Create multiple Pub/Sub topics, each with matching subscriptions.

Create one topic with multiple push subscriptions for audit instances.

Create one Pub/Sub topic with multiple pull subscriptions for scalability.

Next Question
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy