Free Professional Machine Learning Engineer Exam Braindumps (page: 8)

Page 8 of 69

You have trained a model on a dataset that required computationally expensive preprocessing operations. You need to execute the same preprocessing at prediction time. You deployed the model on AI Platform for high- throughput online prediction. Which architecture should you use?

  1. Validate the accuracy of the model that you trained on preprocessed data.
    Create a new model that uses the raw data and is available in real time.
    Deploy the new model onto AI Platform for online prediction.
  2. Send incoming prediction requests to a Pub/Sub topic.
    Transform the incoming data using a Dataflow job.
    Submit a prediction request to AI Platform using the transformed data.
    Write the predictions to an outbound Pub/Sub queue.
  3. Stream incoming prediction request data into Cloud Spanner.
    Create a view to abstract your preprocessing logic.
    Query the view every second for new records.
    Submit a prediction request to AI Platform using the transformed data.
    Write the predictions to an outbound Pub/Sub queue.
  4. Send incoming prediction requests to a Pub/Sub topic.
    Set up a Cloud Function that is triggered when messages are published to the Pub/Sub topic.
    Implement your preprocessing logic in the Cloud Function.
    Submit a prediction request to AI Platform using the transformed data.
    Write the predictions to an outbound Pub/Sub queue.

Answer(s): D


Reference:

https://cloud.google.com/pubsub/docs/publisher



Your team trained and tested a DNN regression model with good results. Six months after deployment, the model is performing poorly due to a change in the distribution of the input data. How should you address the input differences in production?

  1. Create alerts to monitor for skew, and retrain the model.
  2. Perform feature selection on the model, and retrain the model with fewer features.
  3. Retrain the model, and select an L2 regularization parameter with a hyperparameter tuning service.
  4. Perform feature selection on the model, and retrain the model on a monthly basis with fewer features.

Answer(s): A



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 = 224×224
-Batch size = 64
-Epochs = 10
-Verbose =2

During training you encounter the following error: ResourceExhaustedError: Out Of Memory (OOM) when allocating tensor. What should you do?

  1. Change the optimizer.
  2. Reduce the batch size.
  3. Change the learning rate.
  4. Reduce the image shape.

Answer(s): B


Reference:

https://github.com/tensorflow/tensorflow/issues/136



You developed an ML model with AI Platform, and you want to move it to production. You serve a few thousand queries per second and are experiencing latency issues. Incoming requests are served by a load balancer that distributes them across multiple Kubeflow CPU-only pods running on Google Kubernetes Engine (GKE). Your goal is to improve the serving latency without changing the underlying infrastructure. What should you do?

  1. Significantly increase the max_batch_size TensorFlow Serving parameter.
  2. Switch to the tensorflow-model-server-universal version of TensorFlow Serving.
  3. Significantly increase the max_enqueued_batches TensorFlow Serving parameter.
  4. Recompile TensorFlow Serving using the source to support CPU-specific optimizations. Instruct GKE to choose an appropriate baseline minimum CPU platform for serving nodes.

Answer(s): D



Page 8 of 69



Post your Comments and Discuss Google Professional Machine Learning Engineer exam with other Community members:

Tina commented on April 09, 2024
Good questions
Anonymous
upvote

Kavah commented on September 29, 2021
Very responsive and cool support team.
UNITED KINGDOM
upvote