Google CloudProfessional levelPage 4 of 6

Google Professional Machine Learning Engineer exam dumps: questions 301 to 400 of 521

Page 4 of the free Google Professional Machine Learning Engineer question bank for the Professional Machine Learning Engineer exam. Questions 301 to 400 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated December 2024

Free Google Professional Machine Learning Engineer practice questions

Questions 301 to 305 of 521

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

Google Professional Machine Learning Engineer Question 301

Select 2Google Cloud Platform

You are building a machine learning system for a retail company that predicts daily sales for each store location. The company requires real-time predictions for its online store to update product availability and batch predictions for its physical stores' inventory planning every night. Which combination of tools or services would best meet these requirements?

  1. A

    Use Vertex AI for online inference and Dataflow for batch predictions.

  2. B

    Use BigQuery ML for online inference and Vertex AI Batch Prediction for batch predictions.

  3. C

    Use Vertex AI for online inference and Vertex AI Batch Prediction for batch predictions.

  4. D

    Use Dataproc for online inference and Dataflow for batch predictions.

  5. E

    Use BigQuery ML for online inference and Dataflow for batch predictions.

Show answer and explanation

Correct answers: A, C

Explanation

For this scenario, real-time predictions for the online store require a tool that supports online inference, such as Vertex AI. Batch predictions for the physical stores' inventory planning can be handled by either Vertex AI Batch Prediction or Dataflow, as both are capable of handling batch processing efficiently. Vertex AI offers a unified platform for both online and batch predictions, making it an ideal choice in this case.

  • A. Correct.

    Correct. Vertex AI supports online inference through deployed models and can be used for real-time predictions, while Dataflow is a great choice for processing large-scale data in batch mode.

  • B. Incorrect.

    Incorrect. BigQuery ML is primarily designed for training and running SQL-based machine learning models and is not optimized for real-time online inference.

  • C. Correct.

    Correct. Vertex AI supports both online inference through deployed models and batch predictions, making it a suitable choice for this scenario.

  • D. Incorrect.

    Incorrect. Dataproc is a managed Hadoop/Spark service and is not typically used for online inference. It is better suited for large-scale data processing jobs.

  • E. Incorrect.

    Incorrect. BigQuery ML is not designed for real-time predictions, and Dataflow is not typically used for online inference either.

Google Professional Machine Learning Engineer Question 302

Select 2Google Cloud Platform

You are working for an e-commerce company that wants to personalize product recommendations for users. The company has a pre-trained recommendation model deployed on Vertex AI. They want to provide real-time recommendations while a user is browsing the website and also generate daily batch recommendations for email campaigns. Which combination of Google Cloud services should you use to meet these requirements?

  1. A

    Use Vertex AI Endpoint for online inference and Dataflow for batch inference.

  2. B

    Use BigQuery ML for both online and batch inference.

  3. C

    Use Vertex AI Endpoint for online inference and BigQuery ML for batch inference.

  4. D

    Use Dataflow for online inference and Dataproc for batch inference.

  5. E

    Use Vertex AI Endpoint for both online and batch inference.

Show answer and explanation

Correct answers: A, C

Explanation

The scenario requires both real-time (online) and batch inference capabilities. Vertex AI Endpoint is designed for low-latency, real-time predictions, making it suitable for online inference. For batch inference, Dataflow or BigQuery ML are appropriate choices. Dataflow can process large-scale pipelines, while BigQuery ML is suited for batch inference on structured data within BigQuery. Combining Vertex AI Endpoint with either Dataflow or BigQuery ML ensures both requirements are met.

  • A. Correct.

    Vertex AI Endpoint is designed for online (real-time) inference, while Dataflow can process large-scale data pipelines for batch inference. This combination meets the requirements for both real-time and batch recommendations.

  • B. Incorrect.

    BigQuery ML is primarily designed for training and batch inference directly on BigQuery data. It is not suitable for real-time (online) inference.

  • C. Correct.

    Vertex AI Endpoint is suitable for online inference, and BigQuery ML can handle batch inference. This combination is valid for the described use case.

  • D. Incorrect.

    Dataflow is not optimized for online (real-time) inference, and while Dataproc can be used for batch inference, it is not the best choice given the availability of more specialized tools like BigQuery ML.

  • E. Incorrect.

    Vertex AI Endpoint is not designed for batch inference. It is optimized for real-time predictions, so this option does not meet the batch processing requirement.

Google Professional Machine Learning Engineer Question 303

Select 3Google Cloud Platform

You are a machine learning engineer at a retail company. Your team has trained a recommendation model to suggest products to users based on their browsing history. The model will serve millions of users daily and needs to provide personalized recommendations within 100 milliseconds for each request. Additionally, the team also wants to generate daily aggregate reports for trending product recommendations using the same model. Which combination of tools would be the most appropriate to address these requirements?

  1. A

    Deploy the model as an online endpoint using Vertex AI for real-time predictions.

  2. B

    Use BigQuery ML to serve the model for real-time predictions.

  3. C

    Use Dataflow to batch-process user data daily for trending product reports.

  4. D

    Deploy the model to Dataproc for real-time predictions.

  5. E

    Use BigQuery to store logs of online predictions and generate daily aggregate reports.

Show answer and explanation

Correct answers: A, C, E

Explanation

To meet the requirements, you need to serve real-time predictions with low latency and also generate daily batch reports. Vertex AI is the best tool for deploying the model as an online endpoint for real-time predictions. Dataflow is suitable for batch processing data to generate daily reports. BigQuery can be used to store logs of predictions and perform SQL-based analytics for aggregate reporting. This combination of tools leverages Google Cloud's capabilities to handle both real-time and batch inference effectively.

  • A. Correct.

    Deploying the model as an online endpoint using Vertex AI is the most suitable option for serving real-time predictions with low latency, meeting the requirement of providing recommendations within 100 milliseconds.

  • B. Incorrect.

    BigQuery ML is designed for training and batch inference on large datasets but is not optimized for low-latency, real-time predictions, so this option is not suitable for the real-time prediction requirement.

  • C. Correct.

    Dataflow is well-suited for batch-processing large-scale data, making it an excellent choice for generating daily aggregate reports for trending product recommendations.

  • D. Incorrect.

    Dataproc is primarily used for big data processing and distributed computing frameworks like Hadoop or Spark. It is not optimized for low-latency, real-time predictions, so it is not suitable for serving the recommendations in this scenario.

  • E. Correct.

    BigQuery is an ideal choice for storing logs of online predictions and performing analytics, such as generating daily aggregate reports, due to its scalability and ability to handle large datasets efficiently.

Google Professional Machine Learning Engineer Question 304

Single answerGoogle Cloud Platform

You have trained two machine learning models: a PyTorch model for image classification and an XGBoost model for customer churn prediction. You need to deploy both models on Google Cloud and ensure they can be served simultaneously with minimal operational complexity while scaling independently. Which approach should you take?

  1. A

    Deploy both models using Vertex AI Prediction with custom containers.

  2. B

    Export the PyTorch model to TensorFlow SavedModel format and deploy both models using Vertex AI Prediction with pre-built containers.

  3. C

    Deploy the PyTorch model using Vertex AI and the XGBoost model using Cloud Run.

  4. D

    Package both models together into a single custom container and deploy it on Google Kubernetes Engine (GKE).

Show answer and explanation

Correct answer: A

Explanation

Vertex AI Prediction with custom containers is the optimal solution for deploying models built with different frameworks. It simplifies operations by providing a unified deployment platform, supports independent scaling of models, and reduces the need for manual management. Other approaches either introduce unnecessary complexity or lack scalability and manageability.

  • A. Correct.

    This is the correct approach. Vertex AI Prediction supports custom containers, allowing you to deploy models built with different frameworks like PyTorch and XGBoost while ensuring scalability and operational simplicity.

  • B. Incorrect.

    Exporting the PyTorch model to TensorFlow SavedModel format introduces unnecessary complexity and is not required, as Vertex AI Prediction supports custom containers for serving models built with different frameworks.

  • C. Incorrect.

    Deploying the models on different services (Vertex AI and Cloud Run) adds operational complexity and makes scaling them independently harder to manage compared to using a unified solution like Vertex AI Prediction with custom containers.

  • D. Incorrect.

    Packaging both models into a single custom container and deploying them on GKE increases operational complexity, as you would need to manage scaling and routing requests manually, making this option suboptimal.

Google Professional Machine Learning Engineer Question 305

Single answerGoogle Cloud Platform

You are deploying a machine learning model built with PyTorch to production on Google Cloud. The model is designed for real-time inference. Which of the following approaches should you take to efficiently serve the model while ensuring scalability and low latency?

  1. A

    Use TensorFlow Serving to deploy the PyTorch model directly without conversion.

  2. B

    Deploy the PyTorch model on Vertex AI and use a custom container to handle inference.

  3. C

    Convert the PyTorch model to TensorFlow format and use TensorFlow Serving for deployment.

  4. D

    Deploy the PyTorch model using AI Platform Prediction with built-in PyTorch serving support.

Show answer and explanation

Correct answer: B

Explanation

Vertex AI with a custom container is the recommended approach for deploying a PyTorch model on Google Cloud for real-time inference. It provides flexibility to package the model and dependencies while benefiting from autoscaling, low latency, and seamless integration with Google Cloud services. TensorFlow Serving is specific to TensorFlow models, and converting the PyTorch model to TensorFlow format introduces unnecessary complexity. AI Platform Prediction does not natively support PyTorch models, making a custom container essential for PyTorch deployment.

  • A. Incorrect.

    TensorFlow Serving is designed for TensorFlow models, not PyTorch models. Using TensorFlow Serving without converting the model is not possible.

  • B. Correct.

    Using Vertex AI with a custom container allows you to package your PyTorch model with the necessary runtime dependencies and scaling capabilities, making it an efficient solution for real-time inference.

  • C. Incorrect.

    While converting the PyTorch model to TensorFlow format and using TensorFlow Serving might work, this approach introduces an unnecessary conversion step, which can lead to inaccuracies and is not the most efficient option.

  • D. Incorrect.

    AI Platform Prediction does not have built-in support for serving PyTorch models directly. Instead, custom containers are required for such use cases.

Timed practice exam

Take a Google Professional Machine Learning Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

Google Professional Machine Learning Engineer practice questions 301 to 400 of 521

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 6 pages of up to 100 questions.

  1. 301.You are building a machine learning system for a retail company that predicts daily sales for each store...
  2. 302.You are working for an e-commerce company that wants to personalize product recommendations for users. The...
  3. 303.You are a machine learning engineer at a retail company. Your team has trained a recommendation model to...
  4. 304.You have trained two machine learning models: a PyTorch model for image classification and an XGBoost model...
  5. 305.You are deploying a machine learning model built with PyTorch to production on Google Cloud. The model is...
  6. 306.You are tasked with deploying a machine learning model for real-time predictions on Google Cloud. The model...
  7. 307.You are working on deploying a machine learning model on Google Cloud. Your team has trained the model using...
  8. 308.You are tasked with deploying a machine learning model built using PyTorch for a production environment on...
  9. 309.Your team is building a machine learning platform on Google Cloud for deploying multiple models and tracking...
  10. 310.You are a machine learning engineer managing a model registry for your organization using Vertex AI. Your...
  11. 311.You are working on a machine learning project where multiple teams collaborate on developing and deploying...
  12. 312.Your organization has implemented several machine learning models that are used across different teams. You...
  13. 313.You are leading a team responsible for deploying machine learning models in production using Google Cloud. To...
  14. 314.Your team has deployed a new version of a recommendation model on Google Cloud, and you want to use A/B...
  15. 315.You are deploying a machine learning model to production on Google Cloud and want to evaluate the performance...
  16. 316.You are a Machine Learning Engineer at a retail company, and you have deployed two versions of a...
  17. 317.You are deploying a new version of a recommendation model in production and want to evaluate its performance...
  18. 318.You are deploying two versions of a machine learning model, Model A (current version) and Model B (new...
  19. 319.Your organization has deployed a machine learning model for real-time predictions on Google Cloud. The model...
  20. 320.Your team has deployed a machine learning model for real-time predictions using Google Cloud's Vertex AI...
  21. 321.You are deploying a machine learning model for online inference on Google Cloud. The model is expected to...
  22. 322.You are tasked with deploying a machine learning model to serve predictions for a high-traffic e-commerce...
  23. 323.You are designing an online model serving system on Google Cloud for a recommendation engine that handles...
  24. 324.You are building a recommendation system for an e-commerce platform using Vertex AI. The system requires...
  25. 325.You are building a real-time fraud detection system using Google Cloud services. The system uses a machine...
  26. 326.You are working on a machine learning project that uses customer data to predict purchase behavior. The...
  27. 327.Your team is building an ML pipeline that predicts customer churn. You want to use Vertex AI Feature Store to...
  28. 328.You are designing a machine learning application that predicts customer churn for a subscription service. The...
  29. 329.You are deploying a machine learning model using Google Cloud Vertex AI and need to ensure that the endpoint...
  30. 330.You are deploying a machine learning model using Vertex AI and need to ensure that the endpoint hosting the...
  31. 331.You are deploying a machine learning model using Vertex AI for an organization with strict security...
  32. 332.You are deploying a machine learning model using Vertex AI and need to ensure that the model’s endpoint is...
  33. 333.You are a Machine Learning Engineer responsible for deploying a custom model on Vertex AI. The model will...
  34. 334.You are tasked with building a machine learning model to process large batches of images for training a...
  35. 335.You are designing a machine learning pipeline to train a deep learning model on a large image dataset. The...
  36. 336.You are designing a machine learning pipeline for a deep learning model that involves training on a large...
  37. 337.You are designing a machine learning pipeline to train a deep learning model for image classification using...
  38. 338.You are designing a machine learning system for a client that requires low latency for real-time object...
  39. 339.You have deployed a machine learning model on Google Cloud's Vertex AI Prediction service for real-time...
  40. 340.You are deploying a machine learning model using Vertex AI Prediction to serve real-time predictions. Your...
  41. 341.You are deploying a machine learning model using Vertex AI Prediction to serve online predictions. The...
  42. 342.You are deploying a machine learning model using Vertex AI Prediction to serve online predictions. The model...
  43. 343.You are running a machine learning model on Vertex AI Prediction to serve online predictions. During peak...
  44. 344.You are a machine learning engineer tasked with deploying a trained model for real-time inference on Google...
  45. 345.You are deploying a machine learning model using a containerized serving approach on Google Cloud. The model...
  46. 346.You are deploying a machine learning model to production using Google Kubernetes Engine (GKE). The model is...
  47. 347.You are tasked with deploying a machine learning model to production, and the requirement is to serve...
  48. 348.You are deploying a machine learning model for real-time predictions using a containerized serving solution...
  49. 349.You are designing a machine learning model to classify customer reviews as positive or negative. The model...
  50. 350.You are designing a machine learning model to predict customer churn for a subscription-based business. The...
  51. 351.You are deploying a machine learning model to production on Google Cloud, and the model's inference latency...
  52. 352.You are designing a machine learning model to predict user churn for a subscription service. During training,...
  53. 353.You are designing a machine learning model for real-time predictions in a production environment with strict...
  54. 354.You are deploying a deep learning model on Google Cloud that processes real-time video streams. The model is...
  55. 355.You are deploying a machine learning model on Google Cloud for a real-time fraud detection system. The...
  56. 356.You are deploying a machine learning model on Google Cloud to process user queries in real-time. The...
  57. 357.You are deploying a machine learning model to predict customer churn for a subscription service. The model...
  58. 358.You are deploying a machine learning model on Google Cloud for a real-time recommendation system. The system...
  59. 359.You are tasked with designing an end-to-end ML pipeline for a retail company to predict customer churn using...
  60. 360.You are tasked with developing an end-to-end machine learning pipeline on Google Cloud to classify images...
  61. 361.You are tasked with developing an end-to-end machine learning pipeline on Google Cloud for a fraud detection...
  62. 362.Your team is tasked with building an end-to-end machine learning pipeline for a retail company to predict...
  63. 363.You are tasked with developing an end-to-end ML pipeline for a retail company to predict future sales. The...
  64. 364.You are building a machine learning pipeline on Google Cloud to predict customer churn. After training your...
  65. 365.You are developing a machine learning model to predict customer churn for an online subscription service....
  66. 366.You are a Machine Learning Engineer at a retail company. You have built a demand forecasting model using...
  67. 367.You are developing a machine learning model to predict customer churn for an e-commerce platform. Before...
  68. 368.You are building a machine learning model to predict customer churn for a subscription-based business. After...
  69. 369.You are building a machine learning pipeline on Google Cloud. During training, you preprocess raw data by...
  70. 370.You are building a machine learning model on Google Cloud that classifies customer feedback. During training,...
  71. 371.You are designing a machine learning pipeline on Google Cloud. During training, you use a custom Python...
  72. 372.You are designing a machine learning pipeline on Google Cloud and need to ensure consistent data...
  73. 373.You are building a machine learning model on Google Cloud Platform. During training, you apply several...
  74. 374.You are a Machine Learning Engineer tasked with deploying a third-party MLFlow pipeline on Google Cloud. The...
  75. 375.You are tasked with hosting a third-party MLFlow pipeline on Google Cloud for your company's machine learning...
  76. 376.Your team is tasked with hosting an MLFlow-based third-party machine learning pipeline on Google Cloud. The...
  77. 377.You are tasked with deploying a third-party ML pipeline management tool, such as MLflow, on Google Cloud. The...
  78. 378.You are tasked with deploying a machine learning workflow built on MLflow to Google Cloud. The workflow...
  79. 379.You are tasked with setting up a CI/CD pipeline for a machine learning model training workflow on Google...
  80. 380.You are tasked with setting up a CI/CD pipeline to automate the deployment of machine learning models on...
  81. 381.You are tasked with setting up a CI/CD pipeline for deploying a machine learning model into production on...
  82. 382.You are working on deploying a machine learning model to production using Google Cloud. The model requires...
  83. 383.You are tasked with building an automated machine learning pipeline for training and deploying a model on...
  84. 384.You are a Machine Learning Engineer tasked with deploying a trained machine learning model as a REST API for...
  85. 385.You are developing a machine learning web application that serves predictions via a REST API. The model...
  86. 386.You are deploying a machine learning model as a REST API using Google Cloud Run. The model requires GPU...
  87. 387.Your team has developed a REST API-based machine learning model inference service. The service needs to...
  88. 388.You are deploying a machine learning inference service that processes real-time predictions using a trained...
  89. 389.You are designing a machine learning workflow for a model that will process large-scale time-series data. The...
  90. 390.You are designing a machine learning workflow to train and deploy a model using Google Cloud. Your team...
  91. 391.You are tasked with building a machine learning workflow to preprocess data, train a model, and deploy it for...
  92. 392.You are tasked with building a machine learning pipeline to automate the training, evaluation, and deployment...
  93. 393.You are designing a machine learning pipeline for a large-scale image classification project. The pipeline...
  94. 394.You are a machine learning engineer managing a Google Cloud Composer workflow to automate the retraining of...
  95. 395.You are tasked with orchestrating a data preprocessing pipeline for a machine learning workflow in Google...
  96. 396.You are a machine learning engineer tasked with orchestrating a pipeline that preprocesses data, trains a...
  97. 397.You are a Machine Learning Engineer tasked with orchestrating a machine learning pipeline using Google Cloud...
  98. 398.You are designing a machine learning pipeline for a model that processes real-time customer interactions and...
  99. 399.Your company has deployed a machine learning model for real-time fraud detection on Google Cloud. Due to...
  100. 400.Your organization is implementing a hybrid cloud strategy to train machine learning models. Sensitive data...