
Professional-Machine-Learning-Engineer Updated Exam Dumps [2024] Practice Valid Exam Dumps Question
Professional-Machine-Learning-Engineer Sample with Accurate & Updated Questions
NEW QUESTION # 25
You have trained an XGBoost model that you plan to deploy on Vertex Al for online prediction. You are now uploading your model to Vertex Al Model Registry, and you need to configure the explanation method that will serve online prediction requests to be returned with minimal latency. You also want to be alerted when feature attributions of the model meaningfully change over time. What should you do?
- A. 1 Specify Integrated Gradients as the explanation method with a path count of 5.
2 Deploy the model to Vertex Al Endpoints.
3. Create a Model Monitoring job that uses prediction drift as the monitoring objective. - B. 1 Specify sampled Shapley as the explanation method with a path count of 5.
2 Deploy the model to Vertex Al Endpoints.
3. Create a Model Monitoring job that uses prediction drift as the monitoring objective. - C. 1 Specify Integrated Gradients as the explanation method with a path count of 50.
2. Deploy the model to Vertex Al Endpoints.
3 Create a Model Monitoring job that uses training-serving skew as the monitoring objective. - D. 1. Specify sampled Shapley as the explanation method with a path count of 50.
2. Deploy the model to Vertex Al Endpoints.
3. Create a Model Monitoring job that uses training-serving skew as the monitoring objective.
Answer: B
NEW QUESTION # 26
You work for a company that manages a ticketing platform for a large chain of cinemas. Customers use a mobile app to search for movies they're interested in and purchase tickets in the app. Ticket purchase requests are sent to Pub/Sub and are processed with a Dataflow streaming pipeline configured to conduct the following steps:
1. Check for availability of the movie tickets at the selected cinema.
2. Assign the ticket price and accept payment.
3. Reserve the tickets at the selected cinema.
4. Send successful purchases to your database.
Each step in this process has low latency requirements (less than 50 milliseconds). You have developed a logistic regression model with BigQuery ML that predicts whether offering a promo code for free popcorn increases the chance of a ticket purchase, and this prediction should be added to the ticket purchase process. You want to identify the simplest way to deploy this model to production while adding minimal latency. What should you do?
- A. Convert your model with TensorFlow Lite (TFLite), and add it to the mobile app so that the promo code and the incoming request arrive together in Pub/Sub.
- B. Export your model in TensorFlow format, and add a tfx_bsl.public.beam.RunInference step to the Dataflow pipeline.
- C. Run batch inference with BigQuery ML every five minutes on each new set of tickets issued.
- D. Export your model in TensorFlow format, deploy it on Vertex AI, and query the prediction endpoint from your streaming pipeline.
Answer: C
NEW QUESTION # 27
You work on a data science team at a bank and are creating an ML model to predict loan default risk. You have collected and cleaned hundreds of millions of records worth of training data in a BigQuery table, and you now want to develop and compare multiple models on this data using TensorFlow and Vertex AI. You want to minimize any bottlenecks during the data ingestion state while considering scalability. What should you do?
- A. Export data to CSV files in Cloud Storage, and use tf.data.TextLineDataset() to read them.
- B. Convert the data into TFRecords, and use tf.data.TFRecordDataset() to read them.
- C. Use the BigQuery client library to load data into a dataframe, and use tf.data.Dataset.from_tensor_slices() to read it.
- D. Use TensorFlow I/O's BigQuery Reader to directly read the data.
Answer: D
Explanation:
TensorFlow I/O's BigQuery Reader allows you to directly read data from BigQuery tables into your TensorFlow model without the need to export the data to a separate file format. This can minimize any bottlenecks during the data ingestion stage and also it can increase the scalability. By using BigQuery Reader, you can easily read large amounts of data from BigQuery and use it to train your model without having to worry about the performance impact of reading from a dataframe or CSV file.
You can use the tfio.BigQueryRecordDataset which will return a dataset of dictionaries, and where each key corresponds to a table column and each value corresponds to the value in that column.
NEW QUESTION # 28
You work for a telecommunications company You're building a model to predict which customers may fail to pay their next phone bill. The purpose of this model is to proactively offer at-risk customers assistance such as service discounts and bill deadline extensions. The data is stored in BigQuery, and the predictive features that are available for model training include
- Customer_id -Age
- Salary (measured in local currency) -Sex
-Average bill value (measured in local currency)
- Number of phone calls in the last month (integer) -Average duration of phone calls (measured in minutes) You need to investigate and mitigate potential bias against disadvantaged groups while preserving model accuracy What should you do?
- A. Determine whether there is a meaningful correlation between the sensitive features and the other features Train a BigQuery ML boosted trees classification model and exclude the sensitive features and any meaningfully correlated features
- B. Train a BigQuery ML boosted trees classification model with all features Use the ml. exflain_predict method to calculate the attribution values for each feature for each customer in a test set If for any individual customer the importance value for any feature exceeds a predefined threshold, discard the model and train the model again without this feature.
- C. Train a BigQuery ML boosted trees classification model with all features Use the ml. global explain method to calculate the global attribution values for each feature of the model If the feature importance value for any of the sensitive features exceeds a threshold, discard the model and tram without this feature
- D. Define a fairness metric that is represented by accuracy across the sensitive features Train a BigQuery ML boosted trees classification model with all features Use the trained model to make predictions on a test set Join the data back with the sensitive features, and calculate a fairness metric to investigate whether it meets your requirements.
Answer: A
NEW QUESTION # 29
You are building a model to predict daily temperatures. You split the data randomly and then transformed the training and test datasets. Temperature data for model training is uploaded hourly. During testing, your model performed with 97% accuracy; however, after deploying to production, the model's accuracy dropped to 66%. How can you make your production model more accurate?
- A. Apply data transformations before splitting, and cross-validate to make sure that the transformations are applied to both the training and test sets.
- B. Add more data to your test set to ensure that you have a fair distribution and sample for testing
- C. Split the training and test data based on time rather than a random split to avoid leakage
- D. Normalize the data for the training, and test datasets as two separate steps.
Answer: A
NEW QUESTION # 30
You trained a model, packaged it with a custom Docker container for serving, and deployed it to Vertex Al Model Registry. When you submit a batch prediction job, it fails with this error "Error model server never became ready Please validate that your model file or container configuration are valid. There are no additional errors in the logs What should you do?
- A. Change the HTTP port in your model's configuration to the default value of 8080
- B. Change the health Route value in your models configuration to /heal thcheck.
- C. Pull the Docker image locally and use the decker run command to launch it locally. Use the docker logs command to explore the error logs.
- D. Add a logging configuration to your application to emit logs to Cloud Logging.
Answer: C
NEW QUESTION # 31
You work for a large retailer and you need to build a model to predict customer churn. The company has a dataset of historical customer data, including customer demographics, purchase history, and website activity. You need to create the model in BigQuery ML and thoroughly evaluate its performance. What should you do?
- A. Create a linear regression model in BigQuery ML Use the ml. evaluate function to evaluate the model performance.
- B. Create a logistic regression model in BigQuery ML Use the ml.confusion_matrix function to evaluate the model performance.
- C. Create a logistic regression model in BigQuery ML and register the model in Vertex Al Model Registry. Evaluate the model performance in Vertex Al.
- D. Create a linear regression model in BigQuery ML and register the model in Vertex Al Model Registry Evaluate the model performance in Vertex Al.
Answer: C
NEW QUESTION # 32
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 NVIDIA P100 GPU. You notice that model training is taking a very long time. You want to decrease training time without sacrificing model performance. What should you do?
- A. Replace the NVIDIA P100 GPU with a v3-32 TPU in the training job.
- B. Use the tf.distribute.Strategy API and run a distributed training job.
- C. Increase the instance memory to 512 GB and increase the batch size.
- D. Enable early stopping in your Vertex AI Training job.
Answer: D
NEW QUESTION # 33
You are working on a Neural Network-based project. The dataset provided to you has columns with different ranges. While preparing the data for model training, you discover that gradient optimization is having difficulty moving weights to a good solution. What should you do?
- A. Change the partitioning step to reduce the dimension of the test set and have a larger training set.
- B. Improve the data cleaning step by removing features with missing values.
- C. Use the representation transformation (normalization) technique.
- D. Use feature construction to combine the strongest features.
Answer: B
NEW QUESTION # 34
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. One feature obtained as an element-wise product between latitude, longitude, and car type
- B. Three individual features binned latitude, binned longitude, and one-hot encoded car type
- C. One feature obtained as an element-wise product between binned latitude, binned longitude, and one-hot encoded car type
- D. Two feature crosses as a element-wise product the first between binned latitude and one-hot encoded car type, and the second between binned longitude and one-hot encoded car type
Answer: C
NEW QUESTION # 35
A retail company is using Amazon Personalize to provide personalized product recommendations for its customers during a marketing campaign. The company sees a significant increase in sales of recommended items to existing customers immediately after deploying a new solution version, but these sales decrease a short time after deployment. Only historical data from before the marketing campaign is available for training.
How should a data scientist adjust the solution?
- A. Add user metadata and use the HRNN-Metadata recipe in Amazon Personalize.
- B. Use the event tracker in Amazon Personalize to include real-time user interactions.
- C. Implement a new solution using the built-in factorization machines (FM) algorithm in Amazon SageMaker.
- D. Add event type and event value fields to the interactions dataset in Amazon Personalize.
Answer: D
NEW QUESTION # 36
You need to analyze user activity data from your company's mobile applications. Your team will use BigQuery for data analysis, transformation, and experimentation with ML algorithms. You need to ensure real-time ingestion of the user activity data into BigQuery. What should you do?
- A. Configure Pub/Sub to stream the data into BigQuery.
- B. Run a Dataflow streaming job to ingest the data into BigQuery.
- C. Configure Pub/Sub and a Dataflow streaming job to ingest the data into BigQuery,
- D. Run an Apache Spark streaming job on Dataproc to ingest the data into BigQuery.
Answer: A
Explanation:
Pub/Sub is a messaging service that can be used to stream data into BigQuery in real-time. Configuring Pub/Sub to stream the user activity data into BigQuery would ensure real-time ingestion of the data. Source: Google Cloud
NEW QUESTION # 37
You work at an ecommerce startup. You need to create a customer churn prediction model Your company's recent sales records are stored in a BigQuery table You want to understand how your initial model is making predictions. You also want to iterate on the model as quickly as possible while minimizing cost How should you build your first model?
- A. Create a tf.data.Dataset by using the TensorFlow BigQueryChent Implement a deep neural network in TensorFlow.
- B. Export the data to a Cloud Storage Bucket Create tf. data. Dataset to read the data from Cloud Storage Implement a deep neural network in TensorFlow.
- C. Export the data to a Cloud Storage Bucket Load the data into a pandas DataFrame on Vertex Al Workbench and train a logistic regression model with scikit-learn.
- D. Prepare the data in BigQuery and associate the data with a Vertex Al dataset Create an AutoMLTabuiarTrainmgJob to train a classification model.
Answer: D
NEW QUESTION # 38
You work on a growing team of more than 50 data scientists who all use Al Platform. You are designing a strategy to organize your jobs, models, and versions in a clean and scalable way. Which strategy should you choose?
- A. Separate each data scientist's work into a different project to ensure that the jobs, models, and versions created by each data scientist are accessible only to that user.
- B. Set up a BigQuery sink for Cloud Logging logs that is appropriately filtered to capture information about Al Platform resource usage In BigQuery create a SQL view that maps users to the resources they are using.
- C. Use labels to organize resources into descriptive categories. Apply a label to each created resource so that users can filter the results by label when viewing or monitoring the resources
- D. Set up restrictive I AM permissions on the Al Platform notebooks so that only a single user or group can access a given instance.
Answer: A
NEW QUESTION # 39
You have been asked to build a model using a dataset that is stored in a medium-sized (~10 GB) BigQuery table. You need to quickly determine whether this data is suitable for model development. You want to create a one-time report that includes both informative visualizations of data distributions and more sophisticated statistical analyses to share with other ML engineers on your team. You require maximum flexibility to create your report. What should you do?
- A. Use Vertex AI Workbench user-managed notebooks to generate the report.
- B. Use Dataprep to create the report.
- C. Use the output from TensorFlow Data Validation on Dataflow to generate the report.
- D. Use the Google Data Studio to create the report.
Answer: C
NEW QUESTION # 40
You are training an ML model on a large dataset. You are using a TPU to accelerate the training process You notice that the training process is taking longer than expected. You discover that the TPU is not reaching its full capacity. What should you do?
- A. Increase the batch size
- B. Increase the number of epochs
- C. Increase the learning rate
- D. Decrease the learning rate
Answer: A
NEW QUESTION # 41
You have a functioning end-to-end ML pipeline that involves tuning the hyperparameters of your ML model using Al Platform, and then using the best-tuned parameters for training. Hypertuning is taking longer than expected and is delaying the downstream processes. You want to speed up the tuning job without significantly compromising its effectiveness. Which actions should you take?
Choose 2 answers
- A. Change the search algorithm from Bayesian search to random search.
- B. Decrease the number of parallel trials
- C. Decrease the maximum number of trials during subsequent training phases.
- D. Set the early stopping parameter to TRUE
- E. Decrease the range of floating-point values
Answer: C,D
Explanation:
Reference:
https://cloud.google.com/ai-platform/training/docs/using-hyperparameter-tuning#early-stopping
NEW QUESTION # 42
You have a demand forecasting pipeline in production that uses Dataflow to preprocess raw data prior to model training and prediction. During preprocessing, you employ Z-score normalization on data stored in BigQuery and write it back to BigQuery. New training data is added every week. You want to make the process more efficient by minimizing computation time and manual intervention. What should you do?
- A. Translate the normalization algorithm into SQL for use with BigQuery
- B. Normalize the data with Apache Spark using the Dataproc connector for BigQuery
- C. Normalize the data using Google Kubernetes Engine
- D. Use the normalizer_fn argument in TensorFlow's Feature Column API
Answer: A
NEW QUESTION # 43
You work for a bank. You have created a custom model to predict whether a loan application should be flagged for human review. The input features are stored in a BigQuery table. The model is performing well and you plan to deploy it to production. Due to compliance requirements the model must provide explanations for each prediction. You want to add this functionality to your model code with minimal effort and provide explanations that are as accurate as possible What should you do?
- A. Upload the custom model to Vertex Al Model Registry and configure feature-based attribution by using sampled Shapley with input baselines.
- B. Create an AutoML tabular model by using the BigQuery data with integrated Vertex Explainable Al.
- C. Update the custom serving container to include sampled Shapley-based explanations in the prediction outputs.
- D. Create a BigQuery ML deep neural network model, and use the ML. EXPLAIN_PREDICT method with the num_integral_steps parameter.
Answer: A
NEW QUESTION # 44
You have built a custom model that performs several memory-intensive preprocessing tasks before it makes a prediction. You deployed the model to a Vertex Al endpoint. and validated that results were received in a reasonable amount of time After routing user traffic to the endpoint, you discover that the endpoint does not autoscale as expected when receiving multiple requests What should you do?
- A. Increase the CPU utilization target in the autoscaling configurations
- B. Decrease the CPU utilization target in the autoscaling configurations
- C. Decrease the number of workers per machine
- D. Use a machine type with more memory
Answer: D
NEW QUESTION # 45
You have deployed multiple versions of an image classification model on Al Platform. You want to monitor the performance of the model versions overtime. How should you perform this comparison?
- A. Compare the mean average precision across the models using the Continuous Evaluation feature
- B. Compare the receiver operating characteristic (ROC) curve for each model using the What-lf Tool
- C. Compare the loss performance for each model on the validation data
- D. Compare the loss performance for each model on a held-out dataset.
Answer: A
Explanation:
https://cloud.google.com/ai-platform/prediction/docs/continuous-evaluation/view-metrics
NEW QUESTION # 46
You work for a public transportation company and need to build a model to estimate delay times for multiple transportation routes. Predictions are served directly to users in an app in real time. Because different seasons and population increases impact the data relevance, you will retrain the model every month. You want to follow Google-recommended best practices. How should you configure the end-to-end architecture of the predictive model?
- A. Use Cloud Composer to programmatically schedule a Dataflow job that executes the workflow from training to deploying your model
- B. Write a Cloud Functions script that launches a training and deploying job on Ai Platform that is triggered by Cloud Scheduler
- C. Configure Kubeflow Pipelines to schedule your multi-step workflow from training to deploying your model.
- D. Use a model trained and deployed on BigQuery ML and trigger retraining with the scheduled query feature in BigQuery
Answer: C
Explanation:
(https://www.kubeflow.org/docs/components/pipelines/overview/pipelines-overview/
https://medium.com/google-cloud/how-to-build-an-end-to-end-propensity-to-purchase-solution-using-bigquery-ml-and-kubeflow-pipelines-cd4161f734d9#75c7
NEW QUESTION # 47
You work for a retail company. You have been tasked with building a model to determine the probability of churn for each customer. You need the predictions to be interpretable so the results can be used to develop marketing campaigns that target at-risk customers. What should you do?
- A. Build a random forest regression model in a Vertex Al Workbench notebook instance Configure the model to generate feature importance's after the model is trained.
- B. Build a custom TensorFlow neural network by using Vertex Al custom training Configure the model to generate explanations when it makes predictions.
- C. Build a random forest classification model in a Vertex Al Workbench notebook instance Configure the model to generate feature importance's after the model is trained.
- D. Build an AutoML tabular regression model Configure the model to generate explanations when it makes predictions.
Answer: D
NEW QUESTION # 48
......
Pass Google Professional-Machine-Learning-Engineer Premium Files Test Engine pdf - Free Dumps Collection: https://www.real4dumps.com/Professional-Machine-Learning-Engineer_examcollection.html
Professional-Machine-Learning-Engineer Exam Info and Free Practice Test | Real4dumps: https://drive.google.com/open?id=15DtUpiH2Ju7gKTyepgRKzKfqwnSj7-yN

