Exam Information
Free practice questions with explanations
Google Professional-Machine-Learning-Engineer Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 16
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Architecting low-code AI solutions
A retail analytics team stores three years of daily sales in a BigQuery table with roughly 400 million rows. The team needs a demand forecast per store and SKU, must keep all data inside BigQuery because of a data residency policy, and wants the fewest moving parts. Analysts are comfortable with SQL but have no Python experience. Which approach best meets these requirements?
Correct Answer: AExplanationBigQuery ML supports ARIMA_PLUS for univariate time series forecasting, and the TIME_SERIES_TIMESTAMP_COL and TIME_SERIES_ID_COL options let one model fit many store-SKU series at once in SQL, keeping data in place. Exporting to Cloud Storage breaks the residency constraint and adds Python work the analysts cannot do. A separate-region AutoML dataset violates the residency rule outright. A boosted tree regressor treats date as an ordinary number and is not a forecasting model, so ML.FORECAST does not apply to it.
-
2 Question 2 Drag and drop Architecting low-code AI solutions
A claims-processing company must extract structured fields from scanned insurance forms, translate short customer notes from six languages into English, and detect objects in accident photos. The company wants managed pretrained services and no custom model training. Match each workload to the Google Cloud service that fits it.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Extract key-value fields from scanned formsTranslate customer notes into EnglishDetect objects in accident photosCloud Speech-to-Text APICloud Vision APIBigQuery MLDocument AICloud Translation APICorrect Answer:- Extract key-value fields from scanned forms → Document AI
- Translate customer notes into English → Cloud Translation API
- Detect objects in accident photos → Cloud Vision API
ExplanationDocument AI processors are built to parse forms and extract entities and key-value pairs from scanned documents. Cloud Translation API handles language detection and translation without training. Cloud Vision API provides object localization for images. Speech-to-Text converts audio and does not apply to these inputs, and BigQuery ML trains models on tabular data rather than providing pretrained vision or language services.
-
3 Question 3 Single choice Automating and orchestrating ML pipelines
A fraud team trains a model in a Vertex AI Pipelines run that normalizes transaction amounts using statistics computed on the training set. The serving application currently reimplements the normalization in a separate Python service, and predictions in production have drifted from offline evaluation numbers. The team wants training and serving to apply exactly the same preprocessing with minimal duplication. What is the best change?
Correct Answer: DExplanationTraining-serving skew arises when the transformations applied at inference differ from those used during training. Saving the fitted preprocessing artifacts from the pipeline and reusing them in the serving container guarantees the same statistics and logic. Retraining more often does not remove the mismatch between two independent implementations. Recomputing statistics per serving batch changes the input distribution the model was trained on. Querying a BigQuery view per request adds latency and still does not bind serving to the artifacts fitted at training time.
-
4 Question 4 Multiple choice Automating and orchestrating ML pipelines
A healthcare company retrains a readmission risk model monthly with Vertex AI Pipelines. Before a newly trained model can be promoted to the production endpoint, the company requires that the pipeline reject any run whose input data fails schema and range checks, and that the candidate model be automatically compared to the current production model on a held-out evaluation set. Which TWO pipeline designs meet these requirements? (Choose two.)
Correct Answer: B, EExplanationA validation component placed before training stops bad data from ever producing a model, and failing the run enforces the gate. A conditional deployment step that compares candidate and incumbent on the same held-out set enforces the promotion rule. Deploying before review violates the stated gate. Training loss does not measure generalization, and mixing the evaluation set into training leaks the answers and inflates results.
-
5 Question 5 Order list Automating and orchestrating ML pipelines
A team has a Vertex AI custom training job that produces a new model version each week. They want an automated CI/CD/CT flow in which a code change to the training repository triggers retraining, and only a model that passes evaluation is registered and rolled out to a production endpoint. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Evaluation metrics are compared against the thresholds and the incumbent model
- The passing model is uploaded to the Vertex AI Model Registry as a new version
- The new model version is deployed to the production endpoint with a traffic split
- Cloud Build trigger starts on a commit and runs unit tests on the pipeline code
- Vertex AI Pipelines run executes data validation, training, and evaluation
Correct Answer:- Cloud Build trigger starts on a commit and runs unit tests on the pipeline code
- Vertex AI Pipelines run executes data validation, training, and evaluation
- Evaluation metrics are compared against the thresholds and the incumbent model
- The passing model is uploaded to the Vertex AI Model Registry as a new version
- The new model version is deployed to the production endpoint with a traffic split
ExplanationContinuous integration starts with the commit and tests, which must pass before any expensive training runs. The pipeline then validates data, trains, and evaluates. The comparison gates whether a version is registered at all. Only registered, approved versions are deployed, and traffic is shifted gradually rather than all at once. Registering or deploying before evaluation would let unvetted models reach production.
-
6 Question 6 Single choice Collaborating within and across teams to manage data and models
A bank's data science group must train a credit model on customer records containing names, national ID numbers, and addresses. Data scientists work in Vertex AI Workbench notebooks and need to explore distributions and build features, but the compliance team requires that direct identifiers never reach the training dataset or notebook storage in raw form. Which approach best meets this requirement?
Correct Answer: CExplanationSensitive Data Protection can inspect data for infoTypes such as national ID numbers and apply transformations like tokenization, masking, or redaction, producing a de-identified dataset that is what the team actually uses. IAM controls who can access data but does not stop raw identifiers from being present in the training set. Customer-managed keys protect data at rest against unauthorized storage access, not against the presence of PII inside permitted datasets. Manually dropping columns in each notebook is error-prone and leaves raw data available upstream.
-
7 Question 7 Dropdown Collaborating within and across teams to manage data and models
A data engineering team uses Dataflow for large-scale preprocessing of clickstream logs before writing features to a feature store. They are choosing the right tool for a transformation over 20 TB of semi-structured JSON, and a colleague asks which Google Cloud service should be selected. Complete the statement by selecting the correct value for each blank.
Choose the correct value for each blank.
For 20 TB of semi-structured JSON that needs distributed transformation, the team should use running on to write the processed output.Correct Answer:For 20 TB of semi-structured JSON that needs distributed transformation, the team should use Dataflow running on Dataflow workers to write the processed output.
ExplanationDataflow is Google's managed service for large, distributed batch and streaming transformations, and it runs on autoscaled Dataflow workers. BigQuery ML trains models rather than serving as a general ETL engine for arbitrary JSON pipelines. Colab Enterprise is an interactive notebook environment unsuited to 20 TB of processing. Cloud Functions handles event-driven small tasks, not large distributed reshaping. A single Workbench VM cannot scale to this volume, and Cloud Storage is storage rather than a compute engine, while Cloud SQL is a relational database not designed for this workload.
-
8 Question 8 Single choice Monitoring AI solutions
A ride-hailing company serves a demand prediction model from a Vertex AI endpoint. Over the past month, the feature distribution for trip distance in production has shifted substantially from the training data, while the relationship between distance and demand has stayed stable. The team wants an alert on the distribution change without waiting for ground-truth labels. Which Vertex AI Model Monitoring capability should they configure?
Correct Answer: DExplanationVertex AI Model Monitoring compares the distribution of input features in serving traffic against the training baseline, detecting skew and drift without labels, which matches the need here. Concept drift is defined by a change in the input-output relationship, and the scenario states that relationship is stable, so concept-drift-style accuracy alerts are the wrong signal and also need labels. Prediction drift is measured on outputs rather than the distance feature that shifted. Attribution drift flags changes in feature importance, which the scenario does not describe.
-
9 Question 9 Single choice Monitoring AI solutions
A public-facing assistant built on a Gemini model in Vertex AI is being hardened before launch. Security reviewers are concerned that users may submit prompts designed to extract confidential system instructions, and that responses might leak personal data stored in connected documents. The team needs a managed control that screens both prompts and responses against these risks without rewriting the application. Which control is the best fit?
Correct Answer: CExplanationModel Armor provides managed templates that inspect prompts and responses for prompt injection and jailbreak attempts and for sensitive data such as PII, applied without changing the model. VPC Service Controls limits data exfiltration paths but does not evaluate the content of malicious prompts from legitimate users. A regex filter on output only misses injection attacks and requires custom maintenance. Making the endpoint private restricts who can call it but does not protect against hostile prompts from permitted users, which is the scenario's concern.
-
10 Question 10 Single choice Scaling prototypes into ML models
A logistics company needs a model to classify delivery exception notes into eight categories. The notes are short English text, the company has about 60,000 labeled examples, and a regulator requires that the team can explain which words drove each prediction. Latency budget is 200 ms per request, and the team wants to avoid large GPU serving costs. Which model choice best satisfies these constraints?
Correct Answer: CExplanationInterpretable linear or tree models over TF-IDF features let the team report per-token contributions to satisfy the explainability requirement, and they serve comfortably under 200 ms on CPUs at low cost. A large LLM on GPUs maximizes accuracy at the expense of the explainability and cost constraints. A recurrent network trained from scratch on TPUs is expensive and opaque. ARIMA is designed for numeric time series and does not classify text.
-
11 Question 11 Multiple choice Scaling prototypes into ML models
A media company is fine-tuning a foundation model in Vertex AI to generate product descriptions in a house style. The team has 3,000 curated examples, must keep the base model's general capability intact for other applications, and wants to limit training cost. Which TWO actions best meet these goals? (Choose two.)
Correct Answer: A, CExplanationParameter-efficient tuning updates a small number of additional parameters and leaves the base weights frozen, reducing cost and limiting catastrophic forgetting of general capability. A validation split catches overfitting on a 3,000-example dataset. Training from scratch discards the foundation model's capability and is costly. Driving training loss to zero on a small dataset overfits, and evaluating on training data hides that overfitting.
-
12 Question 12 Order list Scaling prototypes into ML models
A fintech team is training a gradient-boosted model on Vertex AI and wants to tune hyperparameters while controlling compute cost. The training data is stored in BigQuery and must be exported to a format the training container reads. Arrange the steps in the correct order.
Drag the steps into the correct order, or use the arrows.
- Export the BigQuery training table to Cloud Storage in a format the training container reads
- Select the best trial and retrain the final model with its settings on the full training data
- Define the hyperparameter search space and the optimization metric to maximize
- Run the hyperparameter tuning job with a bounded number of trials
Correct Answer:- Define the hyperparameter search space and the optimization metric to maximize
- Run the hyperparameter tuning job with a bounded number of trials
- Select the best trial and retrain the final model with its settings on the full training data
- Export the BigQuery training table to Cloud Storage in a format the training container reads
ExplanationThe data must be available in Cloud Storage before any training container can read it, so the export comes first. The search space and optimization metric define what the tuning job explores. Bounded trials cap cost while exploring the space. Retraining the final model with the winning parameters on the full data follows the selection step. Tuning before the data is in place or retraining before selection would not produce a valid result.
-
13 Question 13 Drag and drop Serving and scaling models
A streaming media service needs to serve a recommendation model to millions of users with p99 latency under 50 ms, and it wants to test a new model version on 5 percent of traffic before a full rollout. The team also needs to serve a batch scoring job that runs nightly over a large dataset. Match each requirement to the serving approach that fits it best.
Drag each item onto its matching target. On a phone: tap an item, then tap a target.
Serving a custom container with autoscaling on demand for a lightweight APINightly scoring of a large dataset with no per-request latency requirementLow-latency online predictions with a gradual 5 percent traffic split to a new versionBigQuery ML ML.PREDICT called from a dashboardCloud Run serviceCloud Storage static website hostingVertex AI batch prediction jobVertex AI endpoint with traffic splitting across deployed model versionsCorrect Answer:- Nightly scoring of a large dataset with no per-request latency requirement → Vertex AI batch prediction job
- Low-latency online predictions with a gradual 5 percent traffic split to a new version → Vertex AI endpoint with traffic splitting across deployed model versions
- Serving a custom container with autoscaling on demand for a lightweight API → Cloud Run service
ExplanationBatch prediction jobs are designed for large offline scoring with no per-request latency target. Vertex AI endpoints support deploying multiple model versions with percentage-based traffic splits, which fits the canary requirement and online latency needs. Cloud Run hosts containerized services with autoscaling suited to lightweight APIs. BigQuery ML prediction is valid SQL scoring but is not an online serving path for millions of users under 50 ms, and static website hosting cannot run a model.
-
14 Question 14 Dropdown Serving and scaling models
A team deploys a PyTorch model to a Vertex AI endpoint that receives bursty traffic, and they need to keep p99 latency low during spikes while limiting idle cost. They are configuring the deployment with the gcloud CLI. Complete the command by selecting the correct value for each blank.
Choose the correct value for each blank.
gcloud ai endpoints deploy-model ENDPOINT_ID --region=us-central1 --model=MODEL_ID --machine-type= --min-replica-count= --max-replica-count=10 --traffic-split=0=100Correct Answer:gcloud ai endpoints deploy-model ENDPOINT_ID --region=us-central1 --model=MODEL_ID --machine-type=n1-standard-4 --min-replica-count=1 --max-replica-count=10 --traffic-split=0=100
ExplanationA standard CPU or GPU-capable machine type with autoscaling bounds lets the endpoint add replicas during spikes, and a minimum of one replica keeps idle cost low while avoiding cold start on the first request. A very large machine type drives cost up without matching the bursty pattern, and a micro type lacks the resources a PyTorch model needs. Setting the minimum to zero risks cold-start latency on the first request after idle periods, which conflicts with the stated latency goal, and a minimum of 20 maintains idle cost the team wants to avoid.
-
15 Question 15 Single choice Serving and scaling models
A fraud detection model in production must meet a 30 ms online scoring budget. The feature values it uses, such as a customer's 30-day transaction count, are recomputed every hour in a batch job. At scoring time, the serving application currently queries the raw transactions table in BigQuery to compute those features, which occasionally takes over 300 ms. The team wants low-latency, consistent feature retrieval at serving time. What should they do?
Correct Answer: CExplanationPrecomputed features served through an online feature store from entity ID lookups give millisecond retrieval and keep training and serving features consistent with the batch pipeline. Caching raw data and recomputing aggregations per request still performs heavy work at serving time. Cloud SQL would require loading and maintaining the raw data at scale and still aggregates at request time. More BigQuery slots do not change that the aggregation runs per request, so latency stays unpredictable.
-
16 Question 16 Single choice Architecting low-code AI solutions
A nonprofit wants to automatically route incoming donor emails to one of twelve departments. It has 4,000 historical emails with department labels stored in BigQuery and has no machine learning staff. Its security team requires that data never leave BigQuery for training. The team wants a model it can evaluate with standard metrics in SQL. Which solution is the most appropriate?
Correct Answer: BExplanationBigQuery ML supports multiclass logistic regression for labeled classification, trains in place within BigQuery, and ML.EVALUATE returns standard classification metrics in SQL, matching the constraints. K-means is unsupervised and does not use the department labels. Exporting the data violates the residency rule and adds custom ML effort the team cannot staff. Linear regression predicts continuous values, so treating a categorical department identifier as a regression target is incorrect.
These are 16 of the 283 questions in the full Professional-Machine-Learning-Engineer pack.
Get All 283 QuestionsGet all 283 questions & answers
Full access options for Google Professional-Machine-Learning-Engineer
Self-study
PDF Version
- 283 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 283 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 283 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Professional-Machine-Learning-Engineer Exam (Google Professional Machine Learning Engineer) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.