
Professional-Machine-Learning-Engineer Sample Practice Exam Questions 2022 Updated Verified
Exam Study Guide Free Practice Test LAST UPDATED Professional-Machine-Learning-Engineer
How much Professional Machine Learning Engineer - Google Cost
The cost of the Professional Machine Learning Engineer - Google is $200. For more information related to exam price, please visit the official website Google Website as the cost of exams may be subjected to vary county-wise.
Career Bonuses
The Google Professional Machine Learning Engineer certification proves that the successful candidates possess sufficient knowledge and skills to design and create scalable solutions for optimal performance. Some of the job roles that these individuals can consider include a Data Engineer, a Senior Data Engineer, a Machine Learning Engineer, a Technical Solutions Engineer, a Software Engineer, and a Cloud Infrastructure Engineer, among others. The median salary that the certificate holders can count on is around $140,000 per annum.
NEW QUESTION 20
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
* Verbose = 2
During training you encounter the following error: ResourceExhaustedError: out of Memory (oom) when allocating tensor. What should you do?
- A. Change the optimizer
- B. Change the learning rate
- C. Reduce the image shape
- D. Reduce the batch size
Answer: D
Explanation:
Reference:
https://stackoverflow.com/questions/59394947/how-to-fix-resourceexhaustederror-oom-when-allocating-tensor/59395251#:~:text=OOM%20stands%20for%20%22out%20of,in%20your%20Dense%20%2C%20Conv2D%20layers
NEW QUESTION 21
A financial services company is building a robust serverless data lake on Amazon S3. The data lake should be flexible and meet the following requirements:
* Support querying old and new data on Amazon S3 through Amazon Athena and Amazon Redshift Spectrum.
* Support event-driven ETL pipelines
* Provide a quick and easy way to understand metadata
Which approach meets these requirements?
- A. Use an AWS Glue crawler to crawl S3 data, an AWS Lambda function to trigger an AWS Glue ETL job, and an AWS Glue Data catalog to search and discover metadata.
- B. Use an AWS Glue crawler to crawl S3 data, an Amazon CloudWatch alarm to trigger an AWS Batch job, and an AWS Glue Data Catalog to search and discover metadata.
- C. Use an AWS Glue crawler to crawl S3 data, an Amazon CloudWatch alarm to trigger an AWS Glue ETL job, and an external Apache Hive metastore to search and discover metadata.
- D. Use an AWS Glue crawler to crawl S3 data, an AWS Lambda function to trigger an AWS Batch job, and an external Apache Hive metastore to search and discover metadata.
Answer: D
NEW QUESTION 22
You need to design a customized deep neural network in Keras that will predict customer purchases based on their purchase history. You want to explore model performance using multiple model architectures, store training data, and be able to compare the evaluation metrics in the same dashboard. What should you do?
- A. Run multiple training jobs on Al Platform with similar job names
- B. Automate multiple training runs using Cloud Composer
- C. Create an experiment in Kubeflow Pipelines to organize multiple runs
- D. Create multiple models using AutoML Tables
Answer: C
Explanation:
https://www.kubeflow.org/docs/components/pipelines/concepts/experiment/ https://www.kubeflow.org/docs/components/pipelines/concepts/run/
NEW QUESTION 23
A company's Machine Learning Specialist needs to improve the training speed of a time-series forecasting model using TensorFlow. The training is currently implemented on a single-GPU machine and takes approximately 23 hours to complete. The training needs to be run daily.
The model accuracy is acceptable, but the company anticipates a continuous increase in the size of the training data and a need to update the model on an hourly, rather than a daily, basis. The company also wants to minimize coding effort and infrastructure changes.
What should the Machine Learning Specialist do to the training solution to allow it to scale for future demand?
- A. Move the training to Amazon EMR and distribute the workload to as many machines as needed to achieve the business goals.
- B. Do not change the TensorFlow code. Change the machine to one with a more powerful GPU to speed up the training.
- C. Change the TensorFlow code to implement a Horovod distributed framework supported by Amazon SageMaker. Parallelize the training to as many machines as needed to achieve the business goals.
- D. Switch to using a built-in AWS SageMaker DeepAR model. Parallelize the training to as many machines as needed to achieve the business goals.
Answer: C
NEW QUESTION 24
A Machine Learning Specialist is required to build a supervised image-recognition model to identify a cat. The ML Specialist performs some tests and records the following results for a neural network-based image classifier:
Total number of images available = 1,000
Test set images = 100 (constant test set)
The ML Specialist notices that, in over 75% of the misclassified images, the cats were held upside down by their owners.
Which techniques can be used by the ML Specialist to improve this specific test error?
- A. Increase the number of epochs for model training
- B. Increase the training data by adding variation in rotation for training images.
- C. Increase the dropout rate for the second-to-last layer.
- D. Increase the number of layers for the neural network.
Answer: A
NEW QUESTION 25
A company wants to predict the sale prices of houses based on available historical sales data. The target variable in the company's dataset is the sale price. The features include parameters such as the lot size, living area measurements, non-living area measurements, number of bedrooms, number of bathrooms, year built, and postal code. The company wants to use multi-variable linear regression to predict house sale prices.
Which step should a machine learning specialist take to remove features that are irrelevant for the analysis and reduce the model's complexity?
- A. Plot a histogram of the features and compute their standard deviation. Remove features with low variance.
- B. Plot a histogram of the features and compute their standard deviation. Remove features with high variance.
- C. Run a correlation check of all features against the target variable. Remove features with low target variable correlation scores.
- D. Build a heatmap showing the correlation of the dataset against itself. Remove features with low mutual correlation scores.
Answer: C
NEW QUESTION 26
A Data Scientist is training a multilayer perception (MLP) on a dataset with multiple classes. The target class of interest is unique compared to the other classes within the dataset, but it does not achieve and acceptable recall metric. The Data Scientist has already tried varying the number and size of the MLP's hidden layers, which has not significantly improved the results. A solution to improve recall must be implemented as quickly as possible.
Which techniques should be used to meet these requirements?
- A. Train an XGBoost model instead of an MLP
- B. Add class weights to the MLP's loss function and then retrain
- C. Train an anomaly detection model instead of an MLP
- D. Gather more data using Amazon Mechanical Turk and then retrain
Answer: A
NEW QUESTION 27
Your task is classify if a company logo is present on an image. You found out that 96% of a data does not include a logo. You are dealing with data imbalance problem. Which metric do you use to evaluate to model?
- A. F1 Score
- B. F Score with higher recall weighted than precision
- C. F Score with higher precision weighting than recall
- D. RMSE
Answer: B
NEW QUESTION 28
A machine learning (ML) specialist wants to secure calls to the Amazon SageMaker Service API. The specialist has configured Amazon VPC with a VPC interface endpoint for the Amazon SageMaker Service API and is attempting to secure traffic from specific sets of instances and IAM users. The VPC is configured with a single public subnet.
Which combination of steps should the ML specialist take to secure the traffic? (Choose two.)
- A. Modify the ACL on the endpoint network interface to restrict access to the instances.
- B. Add a SageMaker Runtime VPC endpoint interface to the VPC.
- C. Modify the users' IAM policy to allow access to Amazon SageMaker Service API calls only.
- D. Modify the security group on the endpoint network interface to restrict access to the instances.
- E. Add a VPC endpoint policy to allow access to the IAM users.
Answer: D,E
Explanation:
Explanation/Reference: https://aws.amazon.com/blogs/machine-learning/private-package-installation-in-amazon- sagemaker-running-in-internet-free-mode/
NEW QUESTION 29
You work for an online retail company that is creating a visual search engine. You have set up an end-to-end ML pipeline on Google Cloud to classify whether an image contains your company's product. Expecting the release of new products in the near future, you configured a retraining functionality in the pipeline so that new data can be fed into your ML models. You also want to use Al Platform's continuous evaluation service to ensure that the models have high accuracy on your test data set. What should you do?
- A. Replace your test dataset with images of the newer products when they are introduced to retraining.
- B. Extend your test dataset with images of the newer products when they are introduced to retraining
- C. Update your test dataset with images of the newer products when your evaluation metrics drop below a pre-decided threshold.
- D. Keep the original test dataset unchanged even if newer products are incorporated into retraining
Answer: B
NEW QUESTION 30
You were asked to investigate failures of a production line component based on sensor readings. After receiving the dataset, you discover that less than 1% of the readings are positive examples representing failure incidents. You have tried to train several classification models, but none of them converge. How should you resolve the class imbalance problem?
- A. Remove negative examples until the numbers of positive and negative examples are equal
- B. Downsample the data with upweighting to create a sample with 10% positive examples
- C. Use a convolutional neural network with max pooling and softmax activation
- D. Use the class distribution to generate 10% positive examples
Answer: B
Explanation:
https://developers.google.com/machine-learning/data-prep/construct/sampling-splitting/imbalanced-data#downsampling-and-upweighting
https://developers.google.com/machine-learning/data-prep/construct/sampling-splitting/imbalanced-data
NEW QUESTION 31
A Machine Learning Specialist wants to determine the appropriate
SageMakerVariantInvocationsPerInstancesetting for an endpoint automatic scaling configuration.
The Specialist has performed a load test on a single instance and determined that peak requests per second (RPS) without service degradation is about 20 RPS. As this is the first deployment, the Specialist intends to set the invocation safety factor to 0.5.
Based on the stated parameters and given that the invocations per instance setting is measured on a per- minute basis, what should the Specialist set as the SageMakerVariantInvocationsPerInstance setting?
- A. 0
- B. 1
- C. 2
- D. 2,400
Answer: C
NEW QUESTION 32
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?
- A. 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
- B. 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.
- C. 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
- D. 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
Answer: D
Explanation:
https://cloud.google.com/architecture/architecture-for-mlops-using-tfx-kubeflow-pipelines-and-cloud-build#triggering-and-scheduling-kubeflow-pipelines
NEW QUESTION 33
A Data Engineer needs to build a model using a dataset containing customer credit card information How can the Data Engineer ensure the data remains encrypted and the credit card information is secure?
- A. Use a custom encryption algorithm to encrypt the data and store the data on an Amazon SageMaker instance in a VPC. Use the SageMaker DeepAR algorithm to randomize the credit card numbers.
- B. Use an Amazon SageMaker launch configuration to encrypt the data once it is copied to the SageMaker instance in a VPC. Use the SageMaker principal component analysis (PCA) algorithm to reduce the length of the credit card numbers.
- C. Use an IAM policy to encrypt the data on the Amazon S3 bucket and Amazon Kinesis to automatically discard credit card numbers and insert fake credit card numbers.
- D. Use AWS KMS to encrypt the data on Amazon S3 and Amazon SageMaker, and redact the credit card numbers from the customer data with AWS Glue.
Answer: B
Explanation:
Explanation/Reference: https://docs.aws.amazon.com/sagemaker/latest/dg/pca.html
NEW QUESTION 34
A Data Science team is designing a dataset repository where it will store a large amount of training data commonly used in its machine learning models. As Data Scientists may create an arbitrary number of new datasets every day, the solution has to scale automatically and be cost-effective. Also, it must be possible to explore the data using SQL.
Which storage scheme is MOST adapted to this scenario?
- A. Store datasets as global tables in Amazon DynamoDB.
- B. Store datasets as files in an Amazon EBS volume attached to an Amazon EC2 instance.
- C. Store datasets as tables in a multi-node Amazon Redshift cluster.
- D. Store datasets as files in Amazon S3.
Answer: D
NEW QUESTION 35
You work for an online travel agency that also sells advertising placements on its website to other companies.
You have been asked to predict the most relevant web banner that a user should see next. Security is important to your company. The model latency requirements are 300ms@p99, the inventory is thousands of web banners, and your exploratory analysis has shown that navigation context is a good predictor. You want to Implement the simplest solution. How should you configure the prediction pipeline?
- A. Embed the client on the website, deploy the gateway on App Engine, deploy the database on Cloud Bigtable for writing and for reading the user's navigation context, and then deploy the model on AI Platform Prediction.
- B. Embed the client on the website, deploy the gateway on App Engine, and then deploy the model on AI Platform Prediction.
- C. Embed the client on the website, deploy the gateway on App Engine, deploy the database on Memorystore for writing and for reading the user's navigation context, and then deploy the model on Google Kubernetes Engine.
- D. Embed the client on the website, and then deploy the model on AI Platform Prediction.
Answer: A
Explanation:
https://medium.com/google-cloud/secure-cloud-run-cloud-functions-and-app-engine-with-api-key-73c57bededd1
NEW QUESTION 36
You have trained a deep neural network model on Google Cloud. The model has low loss on the training data, but is performing worse on the validation dat a. You want the model to be resilient to overfitting. Which strategy should you use when retraining the model?
- A. Apply a 12 regularization parameter of 0.4, and decrease the learning rate by a factor of 10.
- B. Run a hyperparameter tuning job on Al Platform to optimize for the L2 regularization and dropout parameters
- C. Apply a dropout parameter of 0 2, and decrease the learning rate by a factor of 10
- D. Run a hyperparameter tuning job on Al Platform to optimize for the learning rate, and increase the number of neurons by a factor of 2.
Answer: C
NEW QUESTION 37
You are developing ML models with Al Platform for image segmentation on CT scans. You frequently update your model architectures based on the newest available research papers, and have to rerun training on the same dataset to benchmark their performance. You want to minimize computation costs and manual intervention while having version control for your code. What should you do?
- A. Use the gcloud command-line tool to submit training jobs on Al Platform when you update your code
- B. Use Cloud Build linked with Cloud Source Repositories to trigger retraining when new code is pushed to the repository
- C. Create an automated workflow in Cloud Composer that runs daily and looks for changes in code in Cloud Storage using a sensor.
- D. Use Cloud Functions to identify changes to your code in Cloud Storage and trigger a retraining job
Answer: B
Explanation:
CI/CD for Kubeflow pipelines. At the heart of this architecture is Cloud Build, infrastructure. Cloud Build can import source from Cloud Source Repositories, GitHub, or Bitbucket, and then execute a build to your specifications, and produce artifacts such as Docker containers or Python tar files.
https://cloud.google.com/architecture/architecture-for-mlops-using-tfx-kubeflow-pipelines-and-cloud-build#cicd_architecture
NEW QUESTION 38
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?
- A. Run a BigQuery ML task to perform logistic regression for the classification
- B. Configure AutoML Tables to perform the classification task
- C. Use Al Platform to run the classification model job configured for hyperparameter tuning
- D. Use Al Platform Notebooks to run the classification model with pandas library
Answer: A
Explanation:
BigQuery ML supports supervised learning with the logistic regression model type.
NEW QUESTION 39
You are building a linear regression model on BigQuery ML to predict a customer's likelihood of purchasing your company's products. Your model uses a city name variable as a key predictive component. In order to train and serve the model, your data must be organized in columns. You want to prepare your data using the least amount of coding while maintaining the predictable variables. What should you do?
- A. Use Dataprep to transform the state column using a one-hot encoding method, and make each city a column with binary values.
- B. Create a new view with BigQuery that does not include a column with city information
- C. Use Cloud Data Fusion to assign each city to a region labeled as 1, 2, 3, 4, or 5r and then use that number to represent the city in the model.
- D. Use TensorFlow to create a categorical variable with a vocabulary list Create the vocabulary file, and upload it as part of your model to BigQuery ML.
Answer: C
NEW QUESTION 40
You are an ML engineer at a large grocery retailer with stores in multiple regions. You have been asked to create an inventory prediction model. Your models features include region, location, historical demand, and seasonal popularity. You want the algorithm to learn from new inventory data on a daily basis. Which algorithms should you use to build the model?
- A. Recurrent Neural Networks (RNN)
- B. Convolutional Neural Networks (CNN)
- C. Reinforcement Learning
- D. Classification
Answer: C
NEW QUESTION 41
You are developing a Kubeflow pipeline on Google Kubernetes Engine. The first step in the pipeline is to issue a query against BigQuery. You plan to use the results of that query as the input to the next step in your pipeline. You want to achieve this in the easiest way possible. What should you do?
- A. Write a Python script that uses the BigQuery API to execute queries against BigQuery Execute this script as the first step in your Kubeflow pipeline
- B. Locate the Kubeflow Pipelines repository on GitHub Find the BigQuery Query Component, copy that component's URL, and use it to load the component into your pipeline. Use the component to execute queries against BigQuery
- C. Use the Kubeflow Pipelines domain-specific language to create a custom component that uses the Python BigQuery client library to execute queries
- D. Use the BigQuery console to execute your query and then save the query results Into a new BigQuery table.
Answer: D
NEW QUESTION 42
You recently designed and built a custom neural network that uses critical dependencies specific to your organization's framework. You need to train the model using a managed training service on Google Cloud. However, the ML framework and related dependencies are not supported by Al Platform Training. Also, both your model and your data are too large to fit in memory on a single machine. Your ML framework of choice uses the scheduler, workers, and servers distribution structure. What should you do?
- A. Build your custom container to run jobs on Al Platform Training
- B. Use a built-in model available on Al Platform Training
- C. Reconfigure your code to a ML framework with dependencies that are supported by Al Platform Training
- D. Build your custom containers to run distributed training jobs on Al Platform Training
Answer: D
NEW QUESTION 43
You recently joined a machine learning team that will soon release a new project. As a lead on the project, you are asked to determine the production readiness of the ML components. The team has already tested features and data, model development, and infrastructure. Which additional readiness check should you recommend to the team?
- A. Ensure that feature expectations are captured in the schema
- B. Ensure that model performance is monitored
- C. Ensure that all hyperparameters are tuned
- D. Ensure that training is reproducible
Answer: D
NEW QUESTION 44
An agency collects census information within a country to determine healthcare and social program needs by province and city. The census form collects responses for approximately 500 questions from each citizen.
Which combination of algorithms would provide the appropriate insights? (Select TWO.)
- A. The Latent Dirichlet Allocation (LDA) algorithm
- B. The principal component analysis (PCA) algorithm
- C. The k-means algorithm
- D. The Random Cut Forest (RCF) algorithm
- E. The factorization machines (FM) algorithm
Answer: B,C
Explanation:
The PCA and K-means algorithms are useful in collection of data using census form.
NEW QUESTION 45
......
The Google Professional Machine Learning Engineer certification is developed to validate the ability of the specialists to design, build, and productionize the Machine Learning models to solve business challenges with the help of Google Cloud technologies as well as their knowledge of the proven Machine Learning models & techniques. Specifically, this certificate equips the candidates with an understanding of all the aspects related to data pipeline interaction, model architecture, as well as metrics interpretation. It also provides the target individuals with the comprehension of the basic concepts of application development, data engineering, infrastructure management, and data governance. To get certified, the individuals need to take one qualifying exam.
The New Professional-Machine-Learning-Engineer 2022 Updated Verified Study Guides & Best Courses: https://www.actual4cert.com/Professional-Machine-Learning-Engineer-real-questions.html
Authentic Professional-Machine-Learning-Engineer Exam Dumps PDF - 2022 Updated: https://drive.google.com/open?id=1cEXQhltsWLmCQtEMOn8B1aCDPFuU_VIV