You're developing a custom TensorFlow classification model based on tabular data stored in BigQuery. The dataset comprises hundreds of millions of rows with both categorical and numerical features. Your goal is to use a MaxMin scaler on some numerical features and apply one-hot encoding to categorical features like SKU names. The model will be trained over multiple epochs, and you aim to minimize both effort and cost. What approach should you take?
#22
You need to train an object detection model to identify bounding boxes around Post-it Notes® in an image. Post-it Notes can have a variety of background colors and shapes. You have a dataset with 1000 images with a maximum size of 1.4MB and a CSV file containing annotations stored in Cloud Storage. You want to select a training method that reliably detects Post-it Notes of any relative size in the image and that minimizes the time to train a model. What should you do?
#23
You are employed at a prominent healthcare company, tasked with creating advanced algorithms for a range of applications. Your dataset consists of unstructured text data with specialized annotations. Your objective is to extract and categorize different medical expressions with these annotations. What course of action should you take?
#24
You are employed by a major retailer and have received a request to categorize your customers based on their buying patterns. The buying records of all customers have been uploaded to BigQuery. You have a hunch that there might be multiple distinct customer segments, but you're uncertain about the exact number and the shared characteristics among them. Your goal is to discover the most efficient approach. What steps should you take?
#25
As an ML engineer at a manufacturing company, you're currently working on a predictive maintenance project. The goal is to create a classification model that predicts whether a critical machine will experience a failure within the next three days. This predictive capability allows the repair team to address potential issues before they lead to a breakdown. While routine maintenance for the machine is cost-effective, a failure can result in significant expenses. You've trained multiple binary classifiers to make predictions about the machine's failure, where a prediction of 1 indicates the model foresees a failure. Now, during the evaluation phase on a separate dataset, you face the decision of selecting a model that emphasizes detection. However, you also need to ensure that over 50% of the maintenance tasks initiated by your model are genuinely related to impending machine failures. Which model should you opt for to achieve this balance?
#26
You are a member of the data science team at a multinational beverage company. Your task is to create an ML model for predicting the profitability of a new line of naturally flavored bottled waters in various locations. You have access to historical data containing information such as product types, product sales volumes, expenses, and profits for all regions. What should you select as the input and output variables for your model?
#27
You have developed a Python module using Keras to train a regression model with two architectures: linear regression and deep neural network (DNN). The module utilizes the training_method argument to select the architecture, and for the DNN, it includes learning_rate and num_hidden_layers as hyperparameters. You plan to employ Vertex AI's hyperparameter tuning service with a budget of 100 trials to determine the optimal model architecture and hyperparameter values that minimize training loss and enhance performance. How should you proceed?
#28
You are part of a data center team responsible for server maintenance. Your management has tasked you with developing a predictive maintenance solution using monitoring data to detect potential server failures. However, the incident data has not been labeled yet. What should be your initial step in this process?
#29
You're employed at a credit card company and have been assigned the task of developing a custom fraud detection model using Vertex AI AutoML Tables, leveraging historical data. Your primary goal is to enhance the detection of fraudulent transactions while keeping false positives to a minimum. What optimization objective should you select when training the model?
#30
You're involved in a project that utilizes Neural Networks. The dataset you've been given contains columns with varying ranges. During the data preparation process for model training, you observe that gradient optimization is struggling to converge to a favorable solution. What is the recommended action to take?
#31
You work for a large retailer, and you need to build a model to predict customer churn. The company has a dataset of historical customer data, including customer demographics purchase history, and website activity. You need to create the model in BigQuery ML and thoroughly evaluate its performance. What should you do?
#32
You are training models in Vertex AI using data that spans across multiple Google Cloud projects. You need to find, track, and compare the performance of the different versions of your models. Which Google Cloud services should you include in your ML workflow?
#33
You are a member of the operations team at a global company that oversees a substantial fleet of on-premises servers situated in a handful of data centers worldwide. Your team is tasked with gathering monitoring data from these servers, which includes details on CPU and memory usage. In the event of a server incident, your team is responsible for resolving the issue. However, incident data has not yet been appropriately labeled. Your management has requested the development of a predictive maintenance solution that utilizes VM monitoring data to identify potential failures and subsequently notifies the service desk team. What should be your initial step in this process?
#34
You trained a model for sentiment analysis in TensorFlow Keras, saved it in SavedModel format, and deployed it with Vertex AI Predictions as a custom container. You selected a random sentence from the test set, and used a REST API call to send a prediction request. The service returned the error: “Could not find matching concrete function to call loaded from the SavedModel. Got: Tensor("inputs:0", shape=(None,), dtype=string). Expected: TensorSpec(shape=(None, None), dtype=tf.int64, name='inputs')”. You want to update the model’s code and fix the error while following Google-recommended best practices. What should you do?
#35
You've been tasked with operationalizing a proof-of-concept ML model developed with Keras. This model was trained in a Jupyter notebook on a data scientist's local machine, which includes data validation and model analysis cells. Your goal is to automate and orchestrate these notebook steps for weekly retraining, considering an anticipated increase in training data volume. To optimize cost-efficiency and leverage managed services, what steps should you take?
#36
You work as an ML engineer at a travel company, and you've been studying customers' travel behavior for an extended period. During this time, you've deployed models to forecast customers' vacation patterns. You've noticed that customers' vacation choices are influenced by seasonality and holidays, and these seasonal patterns remain consistent across different years. Your goal is to efficiently store and compare model versions and performance metrics across multiple years. How should you approach this task?
#37
You are developing a classification model to support predictions for your company’s various products. The dataset you were given for model development has class imbalance You need to minimize false positives and false negatives What evaluation metric should you use to properly train the model?
#38
You recently developed a regression model based on a training dataset that does not contain personally identifiable information (PII) data in compliance with regulatory requirements. Before deploying the model, you perform post-training analysis on multiple data slices and discover that the model is under-predicting for users who are more than 60 years old. You want to remove age bias while maintaining similar training offline performance. What should you do?
#39
You are employed at a biotech startup focused on experimenting with deep learning ML models inspired by biological organisms. Your team frequently engages in early-stage experiments involving novel ML model architectures and develops custom TensorFlow operations in C++. Training your models involves large datasets and substantial batch sizes, with a typical batch comprising 1024 examples, each approximately 1 MB in size. Furthermore, the average size of a network, including all weights and embeddings, is 20 GB. In light of these requirements, which hardware should you select for your models?
#40
You are employed by a prominent social network service provider where users publish articles and engage in news discussions. With millions of comments posted daily and over 200 human moderators screening comments for appropriateness, your team is developing an ML model to assist these human moderators in content review. The model assigns scores to each comment and identifies suspicious ones for human review. Which metric(s) should be employed to monitor the model's performance?
Want to track your score, take timed mock exams and get AI explanations? Create a free account