How should you build the pipeline on Google Cloud while meeting the speed and processing requirements?

You want to rebuild your ML pipeline for structured data on Google Cloud. You are using PySpark to conduct data transformations at scale, but your pipelines are taking over 12 hours to run. To speed up development and pipeline run time, you want to use a serverless tool and SQL...

January 18, 2024 No Comments READ MORE +

What should you do?

You need to train a computer vision model that predicts the type of government ID present in a given image using a GPU-powered virtual machine on Compute Engine. You use the following parameters: • Optimizer: SGD • Image shape = 224x224 • Batch size = 64 • Epochs = 10...

January 18, 2024 No Comments READ MORE +

How should you ensure that AutoML fits the best model to your data?

You work for a large hotel chain and have been asked to assist the marketing team in gathering predictions for a targeted marketing strategy. You need to make predictions about user lifetime value (LTV) over the next 30 days so that marketing can be adjusted accordingly. The customer dataset is...

January 18, 2024 No Comments READ MORE +

How should you distribute the training examples across the train-test-eval subsets while maintaining the 80-10-10 proportion?

Your team is working on an NLP research project to predict political affiliation of authors based on articles they have written. You have a large training dataset that is structured like this: You followed the standard 80%-10%-10% data distribution across the training, testing, and evaluation subsets. How should you distribute...

January 17, 2024 No Comments READ MORE +

Which features or feature crosses should you use to train city-specific relationships between car type and number of sales?

You are an ML engineer at a global car manufacturer. You need to build an ML model to predict car sales in different cities around the world. Which features or feature crosses should you use to train city-specific relationships between car type and number of sales?A . Three individual features...

January 17, 2024 No Comments READ MORE +

Dispatch an appropriately sized shuttle and provide the map with the required stops based on the simulated outcome.

Dispatch an appropriately sized shuttle and provide the map with the required stops based on the simulated outcome.View AnswerAnswer: C Explanation: This is a case where machine learning would be terrible, as it would not be 100% accurate and some passengers would not get picked up. A simple algorith works...

January 17, 2024 No Comments READ MORE +

What should you do?

You have trained a text classification model in TensorFlow using Al Platform. You want to use the trained model for batch predictions on text data stored in BigQuery while minimizing computational overhead. What should you do?A . Export the model to BigQuery ML.B . Deploy and version the model on...

January 17, 2024 No Comments READ MORE +

What should your next step be to identify and fix the problem?

You are working on a classification problem with time series data and achieved an area under the receiver operating characteristic curve (AUC ROC) value of 99% for training data after just a few experiments. You haven’t explored using any sophisticated algorithms or spent any time on hyperparameter tuning. What should...

January 17, 2024 No Comments READ MORE +

What should you do?

You need to train a natural language model to perform text classification on product descriptions that contain millions of examples and 100,000 unique words. You want to preprocess the words individually so that they can be fed into a recurrent neural network. What should you do?A . Create a hot-encoding...

January 16, 2024 No Comments READ MORE +

What should you do?

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...

January 16, 2024 No Comments READ MORE +