How should you adjust your model to ensure that it converges?

During batch training of a neural network, you notice that there is an oscillation in the loss. How should you adjust your model to ensure that it converges?A . Increase the size of the training batchB . Decrease the size of the training batchC . Increase the learning rate hyperparameterD...

January 19, 2024 No Comments READ MORE +

How should you configure the pipeline?

You are building an ML model to detect anomalies in real-time sensor data. You will use Pub/Sub to handle incoming requests. You want to store the results for analytics and visualization. How should you configure the pipeline?A . 1 = Dataflow, 2 - Al Platform, 3 = BigQueryB . 1...

January 18, 2024 No Comments READ MORE +

What should you do?

As the lead ML Engineer for your company, you are responsible for building ML models to digitize scanned customer forms. You have developed a TensorFlow model that converts the scanned images into text and stores them in Cloud Storage. You need to use your ML model on the aggregated data...

January 18, 2024 No Comments READ MORE +

Which action should you try first to increase the efficiency of your pipeline?

You are profiling the performance of your TensorFlow model training time and notice a performance issue caused by inefficiencies in the input data pipeline for a single 5 terabyte CSV file dataset on Cloud Storage. You need to optimize the input pipeline performance. Which action should you try first to...

January 18, 2024 No Comments READ MORE +

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 +