Professional Machine Learning Engineer Exam QuestionsBrowse all questions from this exam

Professional Machine Learning Engineer Exam - Question 41


Your team is building an application for a global bank that will be used by millions of customers. You built a forecasting model that predicts customers' account balances 3 days in the future. Your team will use the results in a new feature that will notify users when their account balance is likely to drop below $25. How should you serve your predictions?

Show Answer
Correct Answer: D

To notify users when their account balance is likely to drop below $25, you should build a notification system on Firebase and register each user with a user ID on the Firebase Cloud Messaging server. This system will send a notification when the model predicts that a user's account balance will drop below the threshold. Firebase Cloud Messaging is designed for large-scale notification delivery, making it a suitable choice for an application serving millions of users.

Discussion

14 comments
Sign in to comment
salsabilsfOption: D
Jun 9, 2021

Should be D ! creating a Pub/Sub topic for each user is overkill

Y2Data
Sep 17, 2021

Yes, create a topic is overkill but not a NOTIFICATION SYSTEM. it's totally normal. Seriously, the step two involves "REGISTER EACH USER ....", how is this better than create a topic???? should be A and it's so obvious!

q4exam
Sep 22, 2021

I think A is straight forward answer but in real life, customer also consider cost, so practically, app engine will be picked in this case..... because of the large user base

SlipperySlopeOption: D
Feb 20, 2022

D is correct. Firebase is designed for exactly this sort of scenario. Also, it would not be possible to create millions of pubsub topics due to GCP quotas https://cloud.google.com/pubsub/quotas#quotas https://firebase.google.com/docs/cloud-messaging

Danny2021Option: D
Nov 7, 2021

Answer is D. FCM is designed for this type of notification sent to mobile and desktop apps.

fdmenendezOption: D
Jan 16, 2022

Project limit is 10,000 topics, you could have multiple projects but that does not scale well. so D. https://cloud.google.com/pubsub/quotas#resource_limits

Danny2021Option: D
Nov 7, 2021

A doesn't work. There is a quota limit on the number of pub/sub topics you can create, also one Cloud function cannot subscribe to millions of topics. A doesn't scale at all.

NamitSehgalOption: D
Jan 4, 2022

D looks more relevant Notification messages: Simply display a message content, which is handled by the FCM SDK. Data Messages: Display a message with some set interactions

VidyasagarOption: D
Jan 18, 2022

I think, D is the best answer

Mohamed_MossadOption: D
Jul 9, 2022

"Create a Pub/Sub topic for each user" this is crazy , we can not imagine a system with millions of pub/sub topics , so A,B wrong C also wrong

SergioRubianoOption: D
Mar 28, 2023

"Create a Pub/Sub topic for each user" xD

mmona19Option: D
Apr 14, 2022

D- is more automated compared to A. A is overkill

M25Option: D
May 9, 2023

Went with D

harithacMLOption: A
Jul 13, 2023

simple answer , use tools most mentioned during training . , cloud functions

Kowalski
Aug 31, 2023

Pub/Sub has a limit of 10,000 topics only and can't be increased https://cloud.google.com/pubsub/quotas#resource_limits.

fragkrisOption: D
Dec 5, 2023

D is correct. Firebase is used for applications.

PhilipKokuOption: D
Jun 6, 2024

D) Firebase