How to deploy a model for immediate real-time inference?
You work at a mobile gaming startup that creates online multiplayer games. Recently, your company observed an increase in players cheating in the games, leading to a loss of revenue and a poor user experience You built a binary classification model to determine whether a player cheated after a completed game session, and then send a message to other downstream systems to ban the player that cheated. Your model has performed well during testing, and you now need to deploy the model to production. You want your serving solution to provide immediate classifications after a completed game session to avoid further loss of revenue. What should you do?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This question tests your ability to select the correct serving infrastructure based on latency requirements, distinguishing between online prediction for real-time needs and batch prediction for offline processing.
To prevent revenue loss from cheaters, the model must provide immediate classifications, requiring a low-latency serving solution. The community consensus is that Vertex AI Endpoints are the optimal choice for real-time inference compared to batch processing or unmanaged infrastructure.
Selecting Vertex Batch Prediction (Option A) is a common error because, while it is a powerful tool for processing large datasets, it does not support the immediate, real-time response times required for this gaming scenario.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Vertex AI Endpoints are specifically designed for online inference, providing low-latency predictions by keeping the model loaded in memory and handling scaling automatically. This architecture allows the system to immediately classify a game session and trigger a ban, minimizing revenue loss.Why the Other Options Are Wrong
Option A is incorrect because Batch Prediction is intended for offline, high-throughput processing of large data volumes, not real-time responses. Option B is inefficient because loading model files into a Cloud Function on every request introduces significant latency. Option C involves unnecessary operational overhead and poor performance design by reloading the model for each request on a VM.Community Comment Notes
Community members consistently highlighted the keyword "immediate" as the deciding factor, ruling out batch processing. They also noted the inefficiency of Options B and C regarding model loading, emphasizing that Vertex AI Endpoints offer the necessary automatic scaling and resource allocation for low latency.Official Reference
Exam Strategy
Identify keywords like "immediate," "real-time," or "low latency" to immediately eliminate Batch Prediction options. Be wary of solutions that suggest loading model files per request, as this creates performance bottlenecks compared to managed serving endpoints.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →