Google Cloud Certified – Professional Machine Learning Engineer – Practice Exam (Question 60)
You are building an ML model to detect anomalies in real-time sensor data.
You will use Google Cloud Pub/Sub to handle incoming requests. You want to store the results for analytics and visualization.
How should you configure the pipeline?
- A. 1 = Google Cloud Dataflow, 2 = Google Cloud AI Platform, 3 = Google BigQuery
- B. 1 = Google Cloud Dataproc, 2 = Google Cloud AutoML, 3 = Google Cloud Bigtable
- C. 1 = Google BigQuery, 2 = Google Cloud AutoML, 3 = Google Cloud Functions
- D. 1 = Google BigQuery, 2 = Google Cloud AI Platform, 3 = Google Cloud Storage
Correct Answer: C
Your organization wants to make its internal shuttle service route more efficient.
The shuttles currently stop at all pick-up points across the city every 30 minutes between 7 am and 10 am. The development team has already built an application on Google Kubernetes Engine that requires users to confirm their presence and shuttle station one day in advance.
What approach should you take?
- Build a tree-based regression model that predicts how many passengers will be picked up at each shuttle station.
- Dispatch an appropriately sized shuttle and provide the map with the required stops based on the prediction.
- Build a tree-based classification model that predicts whether the shuttle should pick up passengers at each shuttle station.
- Dispatch an available shuttle and provide the map with the required stops based on the prediction.
- Define the optimal route as the shortest route that passes by all shuttle stations with confirmed attendance at the given time under capacity constraints.
- Dispatch an appropriately sized shuttle and indicate the required stops on the map.
- Build a reinforcement learning model with tree-based classification models that predict the presence of passengers at shuttle stops as agents and a reward function around a distance-based metric.
- Dispatch an appropriately sized shuttle and provide the map with the required stops based on the simulated outcome.
Correct Answer: A
You were asked to investigate failures of a production line component based on sensor readings.
After receiving the dataset, you discover that less than 1% of the readings are positive examples representing failure incidents. You have tried to train several classification models, but none of them converge.
How should you resolve the class imbalance problem?
- A. Use the class distribution to generate 10% positive examples.
- B. Use a convolutional neural network with max pooling and softmax activation.
- C. Downsample the data with upweighting to create a sample with 10% positive examples.
- D. Remove negative examples until the numbers of positive and negative examples are equal.