Google Professional Machine Learning Engineer

Google Professional Machine Learning Engineer

Get started today

Ultimate access to all questions.


Your team is developing an application for a global bank designed to be used by millions of customers worldwide. A key feature of the application is a forecasting model that predicts customers' account balances three days into the future. The results from this model will be used to notify users when their account balance is forecasted to drop below $25. Considering scalability and efficiency, how should you serve your predictions?




Explanation:

Option D is the correct answer. Firebase Cloud Messaging (FCM) is specifically designed for sending notifications to mobile and desktop apps, making it well-suited for this use case. Creating a Pub/Sub topic for each user (as in options A and B) would be impractical due to quota limits on the number of topics that can be created. Additionally, registering each user with a user ID on the Firebase Cloud Messaging server provides a more scalable and efficient solution for notifying users when their account balance is predicted to drop below $25.