How to reduce latency for global banking app predictions?
You work for a large bank that serves customers through an application hosted in Google Cloud that is running in the US and Singapore. You have developed a PyTorch model to classify transactions as potentially fraudulent or not. The model is a three-layer perceptron that uses both numerical and categorical features as input, and hashing happens within the model. You deployed the model to the us-central1 region on nl-highcpu-16 machines, and predictions are served in real time. The model's current median response latency is 40 ms. You want to reduce latency, especially in Singapore, where some customers are experiencing the longest delays. What should you do?
Community Votes
62% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This question tests the ability to optimize inference latency through geographical distribution and security compliance, with the trap being overlooking the 'bank' context which necessitates private endpoints over public ones.
To reduce latency for a banking application serving global users, deploying models to Vertex AI private endpoints in multiple regions is the optimal solution. The community agrees that private endpoints address both the geographical latency and the security requirements implied by the banking sector.
Choosing option D is a common mistake because it correctly identifies the need for regional deployment in Singapore but fails to account for the security requirements of a financial institution, making private endpoints the necessary choice.
Community Discussion (9 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Option C is correct because deploying the model toasia-southeast1 physically places the compute resources closer to Singapore users, drastically reducing network latency. Furthermore, using "private endpoints" ensures that the traffic remains within the secure Google Cloud network, which is a standard best practice for large banks handling sensitive financial data. This solution addresses both the performance bottleneck and the implicit security constraints of the scenario.Why the Other Options Are Wrong
Option A is incorrect because adding a GPU to a simple three-layer perceptron is unnecessary and expensive, failing to address the network latency issue. Option B is incorrect because upgrading the CPU machine type only marginally improves compute speed and does nothing to reduce the physical distance between Singapore users and the US-based model. Option D is incorrect because, while it solves the latency issue, it ignores the security context of a "large bank" by not mandating private endpoints.Community Comment Notes
Several commenters highlighted the "bank" keyword as the deciding factor for choosing private endpoints over standard ones. One user noted that banking applications should never access models over the public internet, reinforcing why C is superior to D. Another commenter clarified that the primary bottleneck is network latency, not compute power, which rules out the hardware upgrade options.Official Reference
Exam Strategy
Always look for industry-specific keywords like 'bank,' 'healthcare,' or 'PII' in exam questions, as they often dictate security requirements such as VPC peering or private endpoints, even if the primary question seems to focus on performance or cost.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →