Professional Machine Learning Engineer

Here you have the best Google Professional Machine Learning Engineer practice exam questions

  • You have 285 total questions to study from
  • Each page has 5 questions, making a total of 57 pages
  • You can navigate through the pages using the buttons at the bottom
  • This questions were last updated on December 17, 2024
Question 1 of 285

You are building an ML model to detect anomalies in real-time sensor data. You will use Pub/Sub to handle incoming requests. You want to store the results for analytics and visualization. How should you configure the pipeline?

    Correct Answer: A

    To handle real-time streaming data and apply machine learning models for anomaly detection, the ideal configuration involves using Dataflow for data processing. Dataflow is a fully managed service for executing Apache Beam pipelines that handle stream and batch data processing. Using AI Platform allows for deploying and managing machine learning models. BigQuery is a powerful analytics data warehouse that can store the results for further analysis and visualization. Therefore, the correct configuration is 1 = Dataflow, 2 = AI Platform, 3 = BigQuery.

Question 2 of 285

Your organization wants to make its internal shuttle service route more efficient. The shuttles currently stop at all pick-up points across the city every 30 minutes between 7 am and 10 am. The development team has already built an application on Google Kubernetes Engine that requires users to confirm their presence and shuttle station one day in advance. What approach should you take?

    Correct Answer: C

    To make the internal shuttle service route more efficient, an optimization approach should be used rather than a prediction model. Since users are required to confirm their presence and shuttle station one day in advance, the presence of passengers is a known factor. The optimal route would be the shortest route that passes by all shuttle stations with confirmed attendance at the given time while considering capacity constraints. This ensures that the shuttle service is both time-efficient and resource-efficient.

Question 3 of 285

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?

    Correct Answer: C

    When dealing with a class imbalance problem in machine learning where less than 1% of the readings are positive examples, one effective strategy is to downsample the data with upweighting. This involves reducing the number of examples from the majority class (negative examples) and giving more weight to the minority class (positive examples) during training. This helps to create a more balanced sample that better represents the underlying data distribution and allows the model to focus more on the positive examples, thus improving its performance in identifying failure incidents. Techniques like using a convolutional neural network are not specifically addressing the class imbalance issue directly, hence resolving the imbalance through downsampling and upweighting is more appropriate in this context.

Question 4 of 285

You want to rebuild your ML pipeline for structured data on Google Cloud. You are using PySpark to conduct data transformations at scale, but your pipelines are taking over 12 hours to run. To speed up development and pipeline run time, you want to use a serverless tool and SQL syntax. You have already moved your raw data into Cloud Storage. How should you build the pipeline on Google Cloud while meeting the speed and processing requirements?

    Correct Answer: D

    To optimize the pipeline on Google Cloud using a serverless tool with SQL syntax, you should ingest the data into BigQuery. BigQuery is serverless and supports SQL queries, which allows you to transform the data efficiently and at scale. After performing the transformations using BigQuery SQL queries, you can write the results to a new table. This approach meets both the speed and processing requirements.

Question 5 of 285

You manage a team of data scientists who use a cloud-based backend system to submit training jobs. This system has become very difficult to administer, and you want to use a managed service instead. The data scientists you work with use many different frameworks, including Keras, PyTorch, theano, Scikit-learn, and custom libraries. What should you do?

    Correct Answer: A

    AI Platform custom containers feature allows teams to use a variety of frameworks including Keras, PyTorch, Theano, Scikit-learn, and custom libraries. This managed service provides the flexibility and scalability needed to handle different frameworks in a cloud-based backend system, making it easier to administer training jobs.