Google Cloud Professional Machine Learning Engineer — Question 235

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?

Answer options

Correct answer: D

Explanation

Option D is correct because it allows for immediate online inference requests through a hosted endpoint, ensuring quick responses after game sessions. Option A is not suitable as it focuses on batch processing, which does not provide immediate feedback. Option B relies on Cloud Functions, which may introduce latency and are less efficient for real-time inference. Option C is inefficient since loading model files for each prediction request can significantly delay response times.