Google Professional Machine Learning Engineer PROFESSIONAL MACHINE LEARNING ENGINEER Dumps in PDF

Free Google PROFESSIONAL MACHINE LEARNING ENGINEER Real Questions (page: 16)

You are responsible for building a unified analytics environment across a variety of on-premises data marts. Your company is experiencing data quality and security challenges when integrating data across the servers, caused by the use of a wide range of disconnected tools and temporary solutions. You need a fully managed, cloud-native data integration service that will lower the total cost of work and reduce repetitive work. Some members on your team prefer a codeless interface for building Extract, Transform, Load (ETL) process.
Which service should you use?

  1. Dataflow
  2. Dataprep
  3. Apache Flink
  4. Cloud Data Fusion

Answer(s): D



You have developed a BigQuery ML model that predicts customer churn, and deployed the model to Vertex AI Endpoints. You want to automate the retraining of your model by using minimal additional code when model feature values change. You also want to minimize the number of times that your model is retrained to reduce training costs.
What should you do?

  1. 1 Enable request-response logging on Vertex AI Endpoints
    2. Schedule a TensorFlow Data Validation job to monitor prediction drift
    3. Execute model retraining if there is significant distance between the distributions
  2. 1. Enable request-response logging on Vertex AI Endpoints
    2. Schedule a TensorFlow Data Validation job to monitor training/serving skew
    3. Execute model retraining if there is significant distance between the distributions
  3. 1. Create a Vertex AI Model Monitoring job configured to monitor prediction drift
    2. Configure alert monitoring to publish a message to a Pub/Sub queue when a monitoring alert is detected
    3. Use a Cloud Function to monitor the Pub/Sub queue, and trigger retraining in BigQuery
  4. 1. Create a Vertex AI Model Monitoring job configured to monitor training/serving skew
    2. Configure alert monitoring to publish a message to a Pub/Sub queue when a monitoring alert is detected
    3. Use a Cloud Function to monitor the Pub/Sub queue, and trigger retraining in BigQuery

Answer(s): D



You are responsible for managing the recommendation engine on an ecommerce website. The current model is deployed on a public Agent Platform endpoint and is actively serving production traffic. You have developed an updated version of the model and registered the model in Model Registry. You need to perform an A/B test to compare the new model’s performance to the current model.
You plan to implement a traffic split, routing 10% of all incoming production requests to the new model and sending the remaining 90% to the current model. You want this transition to be transparent, and require no modifications to the client application that calls the endpoint.
What should you do?

  1. Deploy the new model to a serverless Cloud Run service. Implement logic in the client application that routes 10% of user requests to the Cloud Run service and the rest to the original endpoint.
  2. Deploy the new model to the Agent Platform endpoint where the current model is deployed. Configure the endpoint’s traffic split to allocate 10% of user requests to the new model.
  3. Create two separate Agent Platform Pipelines, one for each model version. Use Agent Platform Experiments to run both pipelines simultaneously. Configure the experiment to send 10% of user requests to the new model’s pipeline and the rest to the production model’s pipeline.
  4. Deploy the new model to a new Agent Platform endpoint. Configure Cloud Load Balancing to send 10% of user requests to the new endpoint and the rest to the original endpoint.

Answer(s): B

Explanation:

Deploying both model versions to the same Agent Platform endpoint allows the endpoint’s native traffic-splitting configuration to route 10% of prediction requests to the new model and 90% to the current model. The endpoint URL remains unchanged, so the A/B test requires no client application modifications.



You have deployed a model on Vertex AI for real-time inference. During an online prediction request, you get an “Out of Memory” error.
What should you do?

  1. Use batch prediction mode instead of online mode.
  2. Send the request again with a smaller batch of instances.
  3. Use base64 to encode your data before using it for prediction.
  4. Apply for a quota increase for the number of prediction requests.

Answer(s): B



One of your models is trained using data provided by a third-party data broker. The data broker does not reliably notify you of formatting changes in the data. You want to make your model training pipeline more robust to issues like this.
What should you do?

  1. Use TensorFlow Data Validation to detect and flag schema anomalies.
  2. Use TensorFlow Transform to create a preprocessing component that will normalize data to the expected distribution, and replace values that don’t match the schema with 0.
  3. Use tf.math to analyze the data, compute summary statistics, and flag statistical anomalies.
  4. Use custom TensorFlow functions at the start of your model training to detect and flag known formatting errors.

Answer(s): A



You work with a data engineering team that has developed a pipeline to clean your dataset and save it in a Cloud Storage bucket. You have created an ML model and want to use the data to refresh your model as soon as new data is available. As part of your CI/CD workflow, you want to automatically run a Kubeflow Pipelines training job on Google Kubernetes Engine (GKE). How should you architect this workflow?

  1. Configure your pipeline with Dataflow, which saves the files in Cloud Storage. After the file is saved, start the training job on a GKE cluster.
  2. Use App Engine to create a lightweight python client that continuously polls Cloud Storage for new files. As soon as a file arrives, initiate the training job.
  3. Configure a Cloud Storage trigger to send a message to a Pub/Sub topic when a new file is available in a storage bucket. Use a Pub/Sub-triggered Cloud Function to start the training job on a GKE cluster.
  4. Use Cloud Scheduler to schedule jobs at a regular interval. For the first step of the job, check the timestamp of objects in your Cloud Storage bucket. If there are no new files since the last run, abort the job.

Answer(s): C



You are creating a deep neural network classification model using a dataset with categorical input values. Certain columns have a cardinality greater than 10,000 unique values. How should you encode these categorical values as input into the model?

  1. Convert each categorical value into an integer value.
  2. Convert the categorical string data to one-hot hash buckets.
  3. Map the categorical variables into a vector of boolean values.
  4. Convert each categorical value into a run-length encoded string.

Answer(s): B



You want to train an AutoML model to predict house prices by using a small public dataset stored in BigQuery. You need to prepare the data and want to use the simplest, most efficient approach.
What should you do?

  1. Write a query that preprocesses the data by using BigQuery and creates a new table. Create a Vertex AI managed dataset with the new table as the data source.
  2. Use Dataflow to preprocess the data. Write the output in TFRecord format to a Cloud Storage bucket.
  3. Write a query that preprocesses the data by using BigQuery. Export the query results as CSV files, and use those files to create a Vertex AI managed dataset.
  4. Use a Vertex AI Workbench notebook instance to preprocess the data by using the pandas library. Export the data as CSV files, and use those files to create a Vertex AI managed dataset.

Answer(s): A



Share your comments for Google PROFESSIONAL MACHINE LEARNING ENGINEER exam with other users:

A
Albin
10/13/2023 12:37:00 AM

good ................

AI Tutor 👋 I’m here to help!