
Answer-first summary for fast verification
Answer: Google Cloud Pub/Sub for decoupling the e-commerce platform from processing services and ensuring reliable message delivery., Google Dataflow for transforming and processing data in real-time.
**Correct Options: C. Google Cloud Pub/Sub for decoupling the e-commerce platform from processing services and ensuring reliable message delivery, and D. Google Dataflow for transforming and processing data in real-time.** Google Cloud Pub/Sub is designed for real-time message ingestion and delivery, making it ideal for decoupling the e-commerce platform from the processing services. It ensures high availability, scalability, and reliable message delivery even during traffic spikes. Google Dataflow complements Pub/Sub by providing the capability to transform and process the data in real-time, enabling the e-commerce platform to update inventory, recommend products, and detect fraud immediately. **Why other options are not correct**: - **A. Google Cloud Storage**: While it is excellent for storing data, it does not facilitate real-time message ingestion and delivery. - **B. Google BigQuery**: It is powerful for analyzing data and generating insights but is not designed for real-time message delivery. - **E. Both C and D are correct**: While both services are part of the solution, the question specifically asks for the service best suited for facilitating real-time message ingestion and delivery, which is Pub/Sub. Dataflow's role is in processing the data, not in message delivery.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are designing a data pipeline for a global e-commerce platform that requires processing millions of transactions in real-time to update inventory, recommend products, and detect fraud. The pipeline must ensure high availability, scalability, and the ability to handle sudden spikes in traffic without data loss. Which Google Cloud service is BEST suited for facilitating real-time message ingestion and delivery between the e-commerce platform and the various processing services, and why? Choose the most appropriate option.
A
Google Cloud Storage for storing transaction data securely and cost-effectively.
B
Google BigQuery for analyzing transaction data and generating insights.
C
Google Cloud Pub/Sub for decoupling the e-commerce platform from processing services and ensuring reliable message delivery.
D
Google Dataflow for transforming and processing data in real-time.
E
Both C and D are correct because Pub/Sub ensures message delivery and Dataflow processes the data.