BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Machine Learning Engineer Exam - Topic 8 Question 56 Discussion

Posted by Dierdre on Dec 12, 2022 at 01:26 PM

You work for a company that manages a ticketing platform for a large chain of cinemas. Customers use a mobile app to search for movies they're interested in and purchase tickets in the app. Ticket purchase requests are sent to Pub/Sub and are processed with a Dataflow streaming pipeline configured to conduct the following steps:

1. Check for availability of the movie tickets at the selected cinema.

2. Assign the ticket price and accept payment.

3. Reserve the tickets at the selected cinema.

4. Send successful purchases to your database.

Each step in this process has low latency requirements (less than 50milliseconds). You have developed a logistic regression model with BigQuery ML that predicts whether offering a promo code for free popcorn increases the chance of a ticket purchase, and this prediction should be added to the ticket purchase process. You want to identify the simplest way to deploy this model to production while adding minimal latency. What should you do?

Suggested Answer: A

Get Premium Professional Machine Learning Engineer Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
14 comments · newest first
MA
Malcom 1 year ago
B is solid too, but C just feels right for real-time needs.
JA
Janella 1 year ago
Wait, can TensorFlow Lite really handle this? Sounds risky!
LI
Lizette 1 year ago
A batch process every five minutes? That's too slow!
LE
Leonida 1 year ago
Not sure about that, D seems more efficient to me.
KI
Kimberlie 1 year ago
I think option C is the best for low latency!
ME
Merlyn 1 year ago
I feel like TFLite could be a good choice for mobile, but I’m not sure how it integrates with Pub/Sub for real-time requests.
NE
Nettie 1 year ago
I think exporting the model to TensorFlow and using it in the Dataflow pipeline could work, but I’m not clear on how that would affect performance.
MI
Miles 1 year ago
Option C sounds familiar, but I’m not entirely sure if querying the prediction endpoint from the streaming pipeline would really keep the latency under 50ms.
LY
Lynna 1 year ago
I remember we discussed how batch inference might not meet the low latency requirement, so I’m leaning away from option A.
WI
Willodean 1 year ago
Okay, I think I've got a handle on this. I just need to make sure the namespaces and element/attribute names line up exactly with the original.
DO
Doretha 1 year ago
I've got this! The answer is clearly option A - enabling Cloud IAP and adding the operations partner as a Cloud IAP Tunnel User. That way, they can access the instances without needing Google Accounts. Easy peasy!
JA
Jackie 1 year ago
All of the options listed seem like valid virtualization platforms, but I want to make sure I understand which ones are specifically used for 5G Cloud Core. I'll need to double-check the course materials.
LE
Lenita 1 year ago
I feel like a compiler is for turning code into something runnable, not for editing or previewing in browsers. Maybe it's a GUI HTML editor?
CO
Corinne 1 year ago
The Cluster Superuser privilege sounds important, but I'm not sure exactly what it entails. I'll need to make sure I understand the implications of granting that level of access to Tenant Admins.
0/2000 characters

Save Cancel