Google Professional Machine Learning Engineer - Professional-Machine-Learning-Engineer Exam Practice Test
Your company's business stakeholders want to understand the factors driving customer churn to inform their business strategy. You need to build a customer churn prediction model that prioritizes simple interpretability of your model's results. You need to choose the ML framework and modeling technique that will explain which features led to the prediction. What should you do?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You work in the credit card fraud detection department of a bank that processes millions of transactions per day. You need to create and serve a real-time fraud detection model. To address the challenge of feature engineering at this scale with limited raw data, you plan to create time- related aggregate features, such as the average transaction amount within the last month or the amount of time since the last transaction. How should you process the data for model training and serving?
Correct Answer: B
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are developing an automated training workflow using Agent Platform Pipelines. The pipeline trains a new custom model and registers it to Model Registry. You need to validate the model's performance on a held-out test dataset. You want to ensure that the model is deployed to a production Agent Platform endpoint only if its evaluation metrics meet a specific threshold. You want to minimize cost and administrative overhead. What should you do?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You recently deployed a model to a Vertex AI endpoint. Your data drifts frequently, so you have enabled request-response logging and created a Vertex AI Model Monitoring job. You have observed that your model is receiving higher traffic than expected. You need to reduce the model monitoring cost while continuing to quickly detect drift. What should you do?
Correct Answer: B
You are developing a model to identify traffic signs in images extracted from videos taken from the dashboard of a vehicle. You have a dataset of 100,000 images that were cropped to show one out of ten different traffic signs. The images have been labeled accordingly for model training, and are stored in a Cloud Storage bucket. You need to be able to tune the model during each training run. How should you train the model?
Correct Answer: A
You need to build an ML model for a social media application to predict whether a user's submitted profile photo meets the requirements. The application will inform the user if the picture meets the requirements. How should you build a model to ensure that the application does not falsely accept a non-compliant picture?
Correct Answer: A
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are developing a demand forecasting model for a large online retailer. The company has
20,000 SKUs that are sold through a single distribution center. You have three years of historical data. You need to provide a daily forecast at the SKU level for the next two weeks. You need to develop the first version quickly and minimize the development effort while delivering high forecasting accuracy. What should you do?
20,000 SKUs that are sold through a single distribution center. You have three years of historical data. You need to provide a daily forecast at the SKU level for the next two weeks. You need to develop the first version quickly and minimize the development effort while delivering high forecasting accuracy. What should you do?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You need to execute a batch prediction on 100 million records in a BigQuery table with a custom TensorFlow DNN regressor model, and then store the predicted results in a BigQuery table. You want to minimize the effort required to build this inference pipeline. What should you do?
Correct Answer: D
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You have built a custom model that performs several memory-intensive preprocessing tasks before it makes a prediction. You deployed the model to a Vertex AI endpoint, and validated that results were received in a reasonable amount of time. After routing user traffic to the endpoint, you discover that the endpoint does not autoscale as expected when receiving multiple requests.
What should you do?
What should you do?
Correct Answer: A
You are training an object detection machine learning model on a dataset that consists of three million X-ray images, each roughly 2 GB in size. You are using Vertex AI Training to run a custom training application on a Compute Engine instance with 32-cores, 128 GB of RAM, and 1 NVIDIA P100 GPU. You notice that model training is taking a very long time. You want to decrease training time without sacrificing model performance. What should you do?
Correct Answer: C
You are an ML engineer at a retail company. You need to automate a recurring retraining workflow for a demand forecasting model. The workflow involves dependencies across hybrid environments and must execute the following sequential steps:
1. Trigger a shell script on an on-premises server to extract legacy
sales data and send it to a Cloud Storage bucket.
2. Trigger a pipeline in Agent Platform Pipelines to train and validate the new model.
3. Push the validation metrics to a third-party API.
You need a fully managed orchestration service that provides native connectors to handle these cross-platform dependencies. You want to use the most stable, robust solution. What should you do?
1. Trigger a shell script on an on-premises server to extract legacy
sales data and send it to a Cloud Storage bucket.
2. Trigger a pipeline in Agent Platform Pipelines to train and validate the new model.
3. Push the validation metrics to a third-party API.
You need a fully managed orchestration service that provides native connectors to handle these cross-platform dependencies. You want to use the most stable, robust solution. What should you do?
Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are the lead ML engineer on a mission-critical project that involves analyzing massive datasets using Apache Spark. You need to establish a robust environment that allows your team to rapidly prototype Spark models using Jupyter notebooks. What is the fastest way to achieve this?
Correct Answer: B
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).
You are training an object detection model using a Cloud TPU v2. Training time is taking longer than expected. Based on this simplified trace obtained with a Cloud TPU profile, what action should you take to decrease training time in a cost-efficient way?


Correct Answer: C
Explanation: Only visible for TrainingDump members. You can sign-up / login (it's free).