PROFESSIONAL-MACHINE-LEARNING-ENGINEER practice question 16 of 35
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?
Full set: 283 questionsThe problem states that users confirm their presence and shuttle station one day in advance. This means the number of passengers and the required stops are known, deterministic inputs. Therefore, the task is not a prediction problem (which would require a machine learning model) but a classic optimization problem. The goal is to find the most efficient path connecting a known set of points, which is a Vehicle Routing Problem (VRP). Option C correctly frames the problem as finding the shortest route that services all confirmed stops, considering vehicle capacity constraints. This is the most direct and appropriate approach.
A: A regression model to predict passenger counts is unnecessary because the application provides the exact number of confirmed passengers for each stop. B: A classification model to predict whether a stop is needed is redundant. The user confirmations from the application already provide this information definitively. D: Reinforcement learning is an overly complex approach for a problem with known, deterministic inputs. A deterministic optimization algorithm is far more efficient and suitable for this VRP scenario.
1. Google Developers, OR-Tools Documentation: The Vehicle Routing Problem (VRP) is defined as finding the optimal set of routes for a fleet of vehicles to service a given set of customers (or stops). The documentation states, "The input to a VRP is a set of locations..." In this scenario, the confirmed shuttle stations are the known locations, making it a direct application for an optimization solver like OR-Tools, not a predictive model.
Source: Google Developers, OR-Tools, "Vehicle Routing". (https://developers.google.com/optimization/routing/vrp)
2. Stanford University, CS221 Course Notes: Artificial Intelligence courseware distinguishes between problem types. This scenario falls under "Search and Optimization" problems, where the goal is to find an optimal plan given a known model of the world (the confirmed stops and map), rather than "Supervised Learning," which involves making predictions based on past data.
Source: Stanford University, CS221: Artificial Intelligence: Principles and Techniques, Autumn 2019, Lecture Notes on "Search." (http://web.stanford.edu/class/cs221/lectures/search.pdf, Section 1: "Search problems")
3. Google Cloud Solutions: Google's official solutions for logistics and routing problems emphasize optimization over prediction for this specific task. The "Route optimization" solution pattern uses services like Cloud Optimization AI (or OR-Tools) to solve VRPs, taking known locations and constraints as inputs to generate optimal routes.
Source: Google Cloud Architecture Center, "Route optimization: Reference architecture". (https://cloud.google.com/architecture/route-optimization-reference-architecture)
Keep practicing
Take the free PROFESSIONAL-MACHINE-LEARNING-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PROFESSIONAL-MACHINE-LEARNING-ENGINEER practice questions
- Question 1You work for an advertising company and want to understand the effectiveness of your comp…
- Question 2You developed a custom model by using Vertex Al to forecast the sales of your company s p…
- Question 3You are an ML engineer at a global shoe store. You manage the ML models for the company's…
- Question 5During batch training of a neural network, you notice that there is an oscillation in the…
- Question 6You want to rebuild your ML pipeline for structured data on Google Cloud. You are using P…
- Question 7Your team is building a convolutional neural network (CNN)-based architecture from scratc…
