
Explanation:
The correct approach is to implement a Pub/Sub push subscription to trigger a Cloud Function that passes data to the Python API. This method provides a secure and efficient queuing system that triggers jobs without the need for hosting an application on a Compute Engine instance or the complexity and cost associated with a NoSQL database. Cloud Composer, while powerful, is more suited for managing complex workflows and may be excessive for this scenario.
Ultimate access to all questions.
What is the most efficient and secure method to implement a queuing system for high-volume trade processing in Google Cloud, utilizing a Python API while minimizing resource usage?
A
Develop an application running on a Compute Engine instance to make a push subscription to the Pub/Sub topic
B
Create an application that builds a queue in a NoSQL database.
C
Utilize Cloud Composer to subscribe to a Pub/Sub topic and execute the Python API.
D
Implement a Pub/Sub push subscription to trigger a Cloud Function that passes data to the Python API
No comments yet.