
Answer-first summary for fast verification
Answer: Use a Pub/Sub push subscription to trigger a Cloud Function to pass the data to the Python API.
Option A, using a Pub/Sub push subscription to trigger a Cloud Function to pass the data to the Python API, is the best solution for efficiently implementing a secure queuing system in a high-volume trade processing architecture. This method is highly scalable, cost-effective, and ensures low latency, which is crucial in a trading environment where trades need to be executed immediately based on stock fluctuations.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
An online brokerage company needs to develop a scalable and secure architecture for processing a high volume of trade transactions. Your task is to design a secure queuing system that can trigger job executions. These jobs, running within Google Cloud, will utilize the company's Python API to perform trade executions. Considering efficiency and security, how would you implement this solution?
A
Use a Pub/Sub push subscription to trigger a Cloud Function to pass the data to the Python API.
B
Write an application hosted on a Compute Engine instance that makes a push subscription to the Pub/Sub topic.
C
Write an application that makes a queue in a NoSQL database.
D
Use Cloud Composer to subscribe to a Pub/Sub topic and call the Python API.
No comments yet.