Examness
GCP-PMLEGoogle Cloud

Google Professional Machine Learning Engineer

301 questions · 120 min · Pass 700

  • #1

    You work at a bank, and your task is to develop a credit risk model to support loan application decisions. You've chosen to implement this model using a neural network in TensorFlow. Regulatory requirements mandate that you should be able to explain the model's predictions based on its features. Additionally, when the model is deployed, you want to continuously monitor its performance over time. To achieve this, you have opted to utilize Vertex AI for both model development and deployment. What should be your course of action?

  • #2

    You are developing a training pipeline for a new XGBoost classification model based on tabular data. The data is stored in a BigQuery table. You need to complete the following steps: - Randomly split the data into training and evaluation datasets in a 65/35 ratio - Conduct feature engineering - Obtain metrics for the evaluation dataset - Compare models trained in different pipeline executions How should you execute these steps?

  • #3

    You are employed by a toy manufacturer that has witnessed a significant surge in demand. Your task is to create an ML model to expedite the inspection process for product defects, thereby achieving quicker defect detection. There is unreliable Wi-Fi connectivity within the factory, and the company is eager to implement the new ML model promptly. Which model should you select for this purpose?

  • #4

    You are employed by a gaming company specializing in massively multiplayer online (MMO) games. You have constructed a TensorFlow model designed to forecast whether players will engage in in-app purchases exceeding $10 within the next two weeks. These predictions are intended to tailor each user's game experience. All user data is stored in BigQuery. What is the most effective approach for deploying your model to strike a balance between cost optimization, user experience enhancement, and ease of management?

  • #5

    You are investigating the root cause of a misclassification error made by one of your models. You used Vertex AI Pipelines to train and deploy the model. The pipeline reads data from BigQuery. creates a copy of the data in Cloud Storage in TFRecord format, trains the model in Vertex AI Training on that copy, and deploys the model to a Vertex AI endpoint. You have identified the specific version of that model that misclassified, and you need to recover the data this model was trained on. How should you find that copy of the data?

  • #6

    You are training a TensorFlow model on a structured dataset with 100 billion records stored in several CSV files. You need to improve the input/output execution performance. What should you do?

  • #7

    You have a task to train a regression model using a dataset stored in BigQuery, consisting of 50,000 records. The dataset contains 20 features, a mix of categorical and numerical, and the target variable can have negative values. Your goal is to achieve high model performance while minimizing both effort and training time. What is the most suitable approach to train this regression model efficiently?

  • #8

    You've recently created a custom neural network that relies on essential dependencies unique to your organization's framework. Now, you want to train this model using a managed training service in Google Cloud. However, there's a challenge: the ML framework and its related dependencies aren't compatible with AI Platform Training. Additionally, both your model and data exceed the capacity of a single machine's memory. Your preferred ML framework is designed around a distribution structure involving schedulers, workers, and servers. What steps should you take in this situation?

  • #9

    You've trained a deep neural network model on Google Cloud that shows low loss on training data but underperforms on validation data, indicating overfitting. What strategy should be adopted to enhance the model's resilience against overfitting during retraining?

  • #10

    You have trained a model using data that was preprocessed in a batch Dataflow pipeline, and now you need real-time inference while ensuring consistent data preprocessing between training and serving. What should you do?

  • #11

    You are currently in the process of training an object detection model utilizing a Cloud TPU v2, and you've noticed that the training duration is exceeding your initial expectations. To address this issue in a manner that is both cost-effective and efficient, what course of action should you pursue, as indicated by this simplified Cloud TPU profile trace?

  • #12

    You have deployed a model on Vertex AI for real-time inference. While processing an online prediction request, you encounter an 'Out of Memory' error. What should be your course of action?

  • #13

    You work for a delivery company. You need to design a system that stores and manages features such as parcels delivered and truck locations over time. The system must retrieve the features with low latency and feed those features into a model for online prediction. The data science team will retrieve historical data at a specific point in time for model training. You want to store the features with minimal effort. What should you do?

  • #14

    You work for a company that sells corporate electronic products to thousands of businesses worldwide. Your company stores historical customer data in BigQuery. You need to build a model that predicts customer lifetime value over the next three years. You want to use the simplest approach to build the model and you want to have access to visualization tools. What should you do?

  • #15

    You have constructed a Vertex AI pipeline consisting of two key stages. The initial step involves the preprocessing of a substantial 10 TB dataset, completing this task within approximately 1 hour, and then saving the resulting data in a Cloud Storage bucket. The subsequent step utilizes this preprocessed data to train a model. Your current objective is to make adjustments to the model's code, facilitating the testing of different algorithms. Throughout this process, you aim to reduce both the pipeline's execution time and cost while keeping any alterations to the pipeline itself to a minimum. What actions should you take to meet these goals?

  • #16

    As an employee at a social media company, your task is to identify whether uploaded images feature cars. Each training sample belongs to precisely one category. Having trained an object detection neural network, you've deployed this model version to AI Platform Prediction for evaluation, also setting up an evaluation job linked to this model version. You observe that the model's precision falls short of the required business standards. What adjustments should you make to the softmax threshold in the model's final layer to improve precision?

  • #17

    You have received a request to construct a model using a dataset residing in a medium-sized BigQuery table, approximately 10 GB in size. Your objective is to swiftly assess the suitability of this data for model development. You intend to generate a one-time report that encompasses informative data distribution visualizations as well as advanced statistical analyses, which you will share with fellow ML engineers on your team. To achieve maximum flexibility in creating your report, what steps should you take?

  • #18

    You collaborate with a data engineering team that has developed a pipeline to clean the dataset and store it in a Cloud Storage bucket. You've created an ML model and aim to refresh it as soon as new data becomes available. As part of your CI/CD workflow, you intend to automate the execution of a Kubeflow Pipelines training job on a Google Kubernetes Engine (GKE) cluster. How should you design this workflow?

  • #19

    You have recently used TensorFlow to train a classification model on tabular data. You have created a Dataflow pipeline that can transform several terabytes of data into training or prediction datasets consisting of TFRecords. You now need to productionize the model, and you want the predictions to be automatically uploaded to a BigQuery table on a weekly schedule. What should you do?

  • #20

    You have a dataset that is split into training, validation, and test sets. All the sets have similar distributions. You have sub-selected the most relevant features and trained a neural network in TensorFlow. TensorBoard plots show the training loss oscillating around 0.9, with the validation loss higher than the training loss by 0.3. You want to update the training regime to maximize the convergence of both losses and reduce overfitting. What should you do?

Want to track your score, take timed mock exams and get AI explanations? Create a free account