
Explanation:
Correct Option: B. Pub/Sub
Pub/Sub is designed for real-time messaging and data streaming, making it the best choice for scenarios requiring low latency, high throughput, and the ability to handle millions of messages per second across multiple regions. It supports event-driven architectures by enabling the decoupling of services that produce and consume events.
Why other options are incorrect:
Ultimate access to all questions.
No comments yet.
In the context of building a scalable, event-driven architecture for a global retail application that requires real-time inventory updates across multiple regions, which Google Cloud service would you choose for real-time messaging and data streaming? Consider the need for low latency, high throughput, and the ability to handle millions of messages per second. Choose the best option.
A
Cloud SQL: A managed relational database service that supports PostgreSQL, MySQL, and SQL Server, suitable for transactional data but not optimized for real-time messaging.
B
Pub/Sub: A fully managed real-time messaging service that enables the sending and receiving of messages between independent applications, designed for high-throughput, low-latency messaging across the globe.
C
Data Studio: A tool for creating interactive dashboards and reports, which is not designed for real-time messaging or data streaming.
D
Bigtable: A managed NoSQL database service ideal for large analytical and operational workloads, but not specifically designed for real-time messaging.
E
Cloud Spanner: A globally distributed database service that offers strong consistency and horizontal scalability, but not optimized for real-time messaging.