
Answer-first summary for fast verification
Answer: Use a Cloud Pub/Sub topic to publish jobs and execute them via subscriptions.
Opting for a Cloud Pub/Sub topic is the superior choice for a scalable data pipeline that needs to efficiently manage data between job generators and runners. Cloud Pub/Sub excels in handling high data throughput and offers versatile publishing and subscription methods, ensuring that job information is processed without disrupting existing applications. While developing an API with App Engine (Option B) is feasible, it may not scale as effectively due to inherent limitations. Using Cloud SQL (Option D) is less advisable due to potential scalability issues and the risk of affecting current applications. Although Cloud Spanner (Option A) is a robust solution, its global distribution capabilities may be excessive for this specific scenario.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
What is the most effective solution for creating a scalable data pipeline that facilitates data sharing between job generators and job runners, without adversely impacting existing applications?
A
Set up a Cloud Spanner table to handle job information by inserting and deleting rows.
B
Develop an API with App Engine to send and receive messages between applications.
C
Use a Cloud Pub/Sub topic to publish jobs and execute them via subscriptions.
D
Create a Cloud SQL table to manage job information through row insertion and deletion.
No comments yet.