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

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

You need to build classification workflows over several structured datasets currently stored in BigQuery. Because you will be performing the classification several times, you want to complete the following steps without writing code: exploratory data analysis, feature selection, model building, training, and hyperparameter tuning and serving.
What should you do?

  1. Train a TensorFlow model on Vertex AI.
  2. Train a classification Vertex AutoML model.
  3. Run a logistic regression job on BigQuery ML.
  4. Use scikit-learn in Notebooks with pandas library.

Answer(s): B



You work for a bank. You need to train a model by using unstructured data stored in Cloud Storage that predicts whether credit card transactions are fraudulent. The data needs to be converted to a structured format to facilitate analysis in BigQuery. Company policy requires that data containing personally identifiable information (PII) remain in Cloud Storage. You need to implement a scalable solution that preserves the data’s value for analysis.
What should you do?

  1. Use BigQuery’s authorized views and column-level access controls to restrict access to PII within the dataset.
  2. Use the DLP API to de-identify the sensitive data before loading it into BigQuery.
  3. Store the unstructured data in a separate PII-compliant BigQuery database.
  4. Remove the sensitive data from the files manually before loading them into BigQuery.

Answer(s): B

Explanation:

The DLP API (Data Loss Prevention API) can be used to identify and de-identify sensitive data (such as PII) in a scalable manner. This ensures that sensitive information is obfuscated or tokenized while retaining the data's utility for analysis.
De-identifying the data before loading it into BigQuery ensures compliance with the bank's policy that PII must remain in Cloud Storage, while allowing structured data analysis in BigQuery without risking exposure of sensitive information.



You are training a ResNet model on Vertex AI using TPUs to visually categorize types of defects in automobile engines. You capture the training profile using the Cloud TPU profiler plugin and observe that it is highly input-bound. You want to reduce the bottleneck and speed up your model training process.
Which modifications should you make to the tf.data dataset? (Choose two.)

  1. Use the interleave option for reading data.
  2. Reduce the value of the repeat parameter.
  3. Increase the buffer size for the shuttle option.
  4. Set the prefetch option equal to the training batch size.
  5. Decrease the batch size argument in your transformation.

Answer(s): A,D



You are training a custom language model for your company using a large dataset. You plan to use the Reduction Server strategy on Vertex AI. You need to configure the worker pools of the distributed training job.
What should you do?

  1. Configure the machines of the first two worker pools to have GPUs, and to use a container image where your training code runs. Configure the third worker pool to have GPUs, and use the reductionserver container image.
  2. Configure the machines of the first two worker pools to have GPUs, and to use a container image where your training code runs. Configure the third worker pool to use the reductionserver container image without accelerators, and choose a machine type that prioritizes bandwidth.
  3. Configure the machines of the first two worker pools to have TPUs, and to use a container image where your training code runs. Configure the third worker pool without accelerators, and use the reductionserver container image without accelerators, and choose a machine type that prioritizes bandwidth.
  4. Configure the machines of the first two pools to have TPUs, and to use a container image where your training code runs. Configure the third pool to have TPUs, and use the reductionserver container image.

Answer(s): B



You are deploying a new version of a model to a production Vertex Al endpoint that is serving traffic. You plan to direct all user traffic to the new model. You need to deploy the model with minimal disruption to your application.
What should you do?

  1. 1. Create a new endpoint
    2. Create a new model. Set it as the default version. Upload the model to Vertex AI Model Registry
    3. Deploy the new model to the new endpoint
    4. Update Cloud DNS to point to the new endpoint
  2. 1. Create a new endpoint
    2. Create a new model. Set the parentModel parameter to the model ID of the currently deployed model and set it as the default version. Upload the model to Vertex AI Model Registry
    3. Deploy the new model to the new endpoint, and set the new model to 100% of the traffic.
  3. 1. Create a new model. Set the parentModel parameter to the model ID of the currently deployed model. Upload the model to Vertex AI Model Registry.
    2. Deploy the new model to the existing endpoint, and set the new model to 100% of the traffic
  4. 1. Create a new model. Set it as the default version. Upload the model to Vertex AI Model Registry
    2. Deploy the new model to the existing endpoint

Answer(s): C



You developed a Transformer model in TensorFlow to translate text. Your training data includes millions of documents in a Cloud Storage bucket. You plan to use distributed training to reduce training time. You need to configure the training job while minimizing the effort required to modify code and to manage the cluster’s configuration.
What should you do?

  1. Create a Vertex AI custom training job with GPU accelerators for the second worker pool. Use tf.distribute.MultiWorkerMirroredStrategy for distribution.
  2. Create a Vertex AI custom distributed training job with Reduction Server. Use N1 high-memory machine type instances for the first and second pools, and use N1 high-CPU machine type instances for the third worker pool.
  3. Create a training job that uses Cloud TPU VMs. Use tf.distribute.TPUStrategy for distribution.
  4. Create a Vertex AI custom training job with a single worker pool of A2 GPU machine type instances. Use tf.distribute.MirroredStrategv for distribution.

Answer(s): A



You are training an LSTM-based model on AI Platform to summarize text using the following job submission script:
gcloud ai-platform jobs submit training $JOB_NAME \
--package-path $TRAINER_PACKAGE_PATH \
--module-name $MAIN_TRAINER_MODULE \
--job-dir $JOB_DIR \
--region $REGION \
--scale-tier basic \
-- \
--epochs 20 \
--batch_size=32 \
--learning_rate=0.001 \
You want to ensure that training time is minimized without significantly compromising the accuracy of your model.
What should you do?

  1. Modify the ‘epochs’ parameter.
  2. Modify the ‘scale-tier’ parameter.
  3. Modify the ‘batch size’ parameter.
  4. Modify the ‘learning rate’ parameter.

Answer(s): B



You work for a food product company. Your company’s historical sales data is stored in BigQuery.You need to use Vertex AI’s custom training service to train multiple TensorFlow models that read the data from BigQuery and predict future sales. You plan to implement a data preprocessing algorithm that performs min-max scaling and bucketing on a large number of features before you start experimenting with the models. You want to minimize preprocessing time, cost, and development effort. How should you configure this workflow?

  1. Write the transformations into Spark that uses the spark-bigquery-connector, and use Dataproc to preprocess the data.
  2. Write SQL queries to transform the data in-place in BigQuery.
  3. Add the transformations as a preprocessing layer in the TensorFlow models.
  4. Create a Dataflow pipeline that uses the BigQueryIO connector to ingest the data, process it, and write it back to BigQuery.

Answer(s): B



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!