
Answer-first summary for fast verification
Answer: Use a Cloud Pub/Sub topic to publish jobs, and use subscriptions to execute them
The correct answer is B. Using a Cloud Pub/Sub topic to publish jobs and using subscriptions to execute them is a scalable and decoupled solution. Cloud Pub/Sub is designed to handle high volumes and automatically scales with usage increases, providing a flexible architecture where new applications can be added without negatively affecting existing ones. Pub/Sub allows multiple publishers and subscribers to interact with a central topic, making it an ideal solution for the described data pipeline scenario.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are tasked with creating a robust data pipeline designed to facilitate data sharing between two distinct types of applications: job generators and job runners. The data pipeline must be scalable to handle rising usage demands and should seamlessly integrate new applications without degrading the performance of current applications. What steps should you take to achieve this?
A
Create an API using App Engine to receive and send messages to the applications
B
Use a Cloud Pub/Sub topic to publish jobs, and use subscriptions to execute them
C
Create a table on Cloud SQL, and insert and delete rows with the job information
D
Create a table on Cloud Spanner, and insert and delete rows with the job information
No comments yet.