
Answer-first summary for fast verification
Answer: 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.
**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**: - **A. Cloud SQL**: While it's a robust solution for relational data, it's not designed for real-time messaging or data streaming. - **C. Data Studio**: This is a visualization tool and does not support real-time data ingestion or messaging. - **D. Bigtable**: Although it handles large volumes of data efficiently, it's not a messaging service. - **E. Cloud Spanner**: It excels in global data distribution and strong consistency but lacks the messaging capabilities of Pub/Sub.
Author: LeetQuiz Editorial Team
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.