Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Google Professional Machine Learning Engineer Professional-Machine-Learning-Engineer Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 19 Total 283 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Architecting low-code AI solutions

Skill tested: Selects BigQuery ML or AutoML for structured-data prediction under deployment constraints.

A retailer stores several years of order history in BigQuery and wants to predict whether an order will be returned. Analysts need to iterate on SQL-based feature selection, inspect model evaluation results alongside the source data, and score new rows with SQL. The team has no requirement for custom TensorFlow code, and the model must be maintainable by analysts who already have BigQuery access. Which approach is most appropriate?

Correct Answer: A. Train and evaluate a BigQuery ML classification model using SQL, then use ML.PREDICT for scoring.
Explanation:

BigQuery ML supports creating and evaluating models directly from BigQuery data with SQL, and ML.PREDICT can score rows without exporting the dataset or building a separate serving path. This fits the structured binary prediction task and the analysts' existing workflow. A custom training job adds code and operational overhead that the scenario does not require. AutoML image classification targets image inputs, not tabular order records. Database triggers do not provide the requested trained classification model and would couple prediction to transactional writes.

Question 2

New Multiple answers

Topic: Architecting low-code AI solutions

Skill tested: Chooses a low-code modeling path and evaluation method for a tabular business prediction problem.

A subscription company has a labeled customer-churn table in BigQuery. Business analysts can write SQL but cannot maintain custom model code. They need to compare a small number of candidate models, avoid an expensive data export, and produce a batch of churn scores for a weekly retention campaign. Select TWO actions that best meet these requirements. (Select TWO.)

Correct Answer: A. Create a BigQuery ML model with a suitable supervised classification model type using the labeled table.; B. Use a BigQuery ML evaluation function and holdout data to compare predictive performance before scoring.
Explanation:

A BigQuery ML supervised classifier lets analysts train from the existing table without exporting it, while evaluation on held-out data provides a meaningful basis for selecting a model before campaign scoring. Distributed Spark training is unnecessary given the stated low-code and no-export constraints. AutoML Vision is designed for image tasks. Handwritten SQL rules may be useful business logic, but they neither train the requested predictive model nor provide a sound model evaluation process.

Question 3

New Single answer

Topic: Automating and orchestrating ML pipelines

Skill tested: Designs a repeatable pipeline with data validation gates before training and deployment.

A financial services team retrains a risk model every month. Its current script trains whenever a new file arrives, even when required columns are missing or category values have changed; these failures are discovered only after deployment. The team wants a repeatable managed workflow that validates input data, trains and evaluates a model, and blocks deployment when quality checks fail. Which design is best?

Correct Answer: A. Build a Vertex AI Pipelines workflow with data validation and evaluation steps, and make deployment conditional on passing the checks.
Explanation:

A pipeline can encode the recurring sequence - data validation, training, evaluation, and conditional deployment - as an auditable, repeatable workflow. Validation must happen before training or release so schema and value changes do not silently produce an unusable model. Endpoint rejection is a serving-time safeguard, not an input-data training gate. Post-deployment alerts detect problems too late to prevent a bad release. Manual inspection does not provide the requested reliable automation or consistent enforcement.

Question 4

New Single answer

Topic: Automating and orchestrating ML pipelines

Skill tested: Applies CI/CD promotion gates using reproducible model evaluation results.

An online marketplace has separate development and production projects. A pipeline builds candidate models from versioned training inputs, but engineers currently copy model artifacts manually and sometimes deploy a candidate whose evaluation is worse than production. The release process must preserve traceability and promote only a candidate that meets an agreed quality threshold. What is the best approach?

Correct Answer: D. Have the pipeline register artifacts and evaluation metrics, compare the candidate with the production baseline, and deploy through an approval or threshold-gated promotion step.
Explanation:

A gated promotion flow uses recorded artifacts and evaluation results to make deployment traceable and conditional on the team's quality criteria. Comparing the candidate to a baseline directly addresses regression risk, while an approval step can support controlled production access. Automatically copying the newest artifact reverses the required quality gate. Calendar-based releases ignore model performance. Ephemeral worker storage prevents reliable lineage and reproducibility.

Question 5

New Multiple answers

Topic: Collaborating within and across teams to manage data and models

Skill tested: Configures least-privilege access and secure dataset sharing across project teams.

A healthcare analytics group prepares de-identified training examples in a dedicated Google Cloud project. A separate modeling team needs read access to a specific Cloud Storage dataset and must write trained artifacts to its own bucket. The data must not be exposed to other projects or made public, and the source team must retain ownership. Select TWO actions that best satisfy these conditions. (Select TWO.)

Correct Answer: A. Keep model outputs in the modeling project's bucket and grant no write access to the source dataset bucket.; B. Grant the modeling team's service account the minimum required object-read permissions on the source bucket.
Explanation:

Bucket-scoped, read-only access for the modeling service account follows least privilege and lets the source team retain control. Writing artifacts to the modeling team's own bucket separates responsibilities and avoids granting unnecessary write access to the source data. Project-wide owner access is excessive. Public access is inappropriate even for de-identified data and violates the explicit sharing boundary. Sharing another team's service-account credentials undermines identity accountability and secure access management.

Question 6

New Single answer

Topic: Collaborating within and across teams to manage data and models

Skill tested: Uses managed data exploration and preprocessing to preserve dataset provenance.

A research group receives labeled images from multiple hospitals and must inspect class balance, identify corrupt files, and prepare a shared training dataset. Each hospital's original files must remain unchanged for audit purposes, and only approved team members may access the prepared data. Which workflow is most appropriate?

Correct Answer: D. Keep the originals in a restricted Cloud Storage bucket, create a separately versioned prepared dataset, and record validation and preprocessing steps.
Explanation:

Preserving immutable source data while creating a separately managed prepared dataset supports provenance, reproducible preprocessing, and auditability. Access controls on the restricted bucket limit visibility to authorized collaborators. Local edits create inconsistent, difficult-to-audit copies; a public bucket violates the access requirement. Overwriting originals destroys the evidence needed to reconstruct the dataset. Aggregate counts alone cannot supply image examples for model training.

Question 7

New Single answer

Topic: Scaling prototypes into ML models

Skill tested: Selects a scalable training architecture that balances dataset size, cost, and model requirements.

A logistics company has a working prototype that trains a gradient-boosted model on a laptop. Its historical tabular dataset has grown beyond workstation capacity, but experiments still fit on a single worker with sufficient memory. The team wants managed, repeatable training and does not need distributed deep learning. It must limit infrastructure administration and avoid paying for a large cluster. Which approach is best?

Correct Answer: D. Move training to a managed Vertex AI custom training job on an appropriately sized single machine, storing data and artifacts in Cloud Storage.
Explanation:

A managed custom training job provides an operationally controlled environment and durable input/output storage while allowing the team to select a machine sized for the workload. Because a single worker is sufficient and distributed deep learning is not required, a large Spark cluster adds cost and administration without a demonstrated benefit. The laptop remains a capacity and reproducibility bottleneck. Prediction endpoints serve models; they are not training infrastructure.

Question 8

New Single answer

Topic: Scaling prototypes into ML models

Skill tested: Chooses an interpretable model and feature strategy for regulated decision support.

A lender is moving a prototype into a decision-support workflow. Reviewers must explain the effect of individual input features to auditors, and predictions must be available quickly for each application. The dataset is tabular, and the team is willing to accept a modest reduction in predictive accuracy in exchange for clear explanations. Which model direction is most appropriate?

Correct Answer: B. Use an interpretable model such as logistic regression, with documented feature preparation and appropriate evaluation.
Explanation:

Logistic regression is a reasonable interpretable baseline for tabular classification: its learned coefficients can support feature-effect explanations when preprocessing and reference conditions are documented appropriately. That choice aligns with the stated accuracy-versus-interpretability tradeoff and can serve low-latency scoring. A complex neural network with only aggregate metrics does not meet audit needs. An ensemble is not inherently more interpretable. Manual review eliminates consistent model-based decision support rather than scaling it.

Question 9

New Multiple answers

Topic: Scaling prototypes into ML models

Skill tested: Optimizes training throughput using managed distributed processing when data volume requires it.

A media company's prototype model now trains on a dataset too large for one machine, and experiments show that the workload is supported by distributed TensorFlow training. The company uses Google Cloud, wants workers to be provisioned only for training, and must retain reproducible outputs. Select TWO design choices that best address the scaling and operational requirements. (Select TWO.)

Correct Answer: A. Keep training inputs and model artifacts in durable Cloud Storage locations and record the job configuration.; D. Run a managed Vertex AI distributed custom training job with a worker configuration appropriate to the supported training strategy.
Explanation:

A managed distributed training job provides coordinated worker resources for a workload known to support distributed TensorFlow, avoiding the single-machine bottleneck. Durable inputs and outputs, combined with recorded job configuration, improve reproducibility and operational traceability. A permanently provisioned peak-sized cluster wastes resources when training is occasional. Independent local runs do not constitute coordinated distributed training. Serving endpoints handle inference, not model training.

Question 10

New Single answer

Topic: Serving and scaling models

Skill tested: Plans a canary rollout with controlled traffic shifting and rollback criteria.

An e-commerce company has a new product-ranking model and an existing Vertex AI endpoint serving the production model. The new model must be evaluated on live traffic without immediately exposing all customers to it. The team needs to compare latency and business metrics, then stop exposure quickly if the candidate regresses. What should the team do?

Correct Answer: C. Deploy the candidate to the endpoint, direct a small controlled share of traffic to it, monitor defined metrics, and increase traffic only when gates pass.
Explanation:

A controlled canary exposes a limited portion of online requests to the candidate while preserving the established model for the remaining traffic. Monitoring latency and business outcomes at each stage supports an evidence-based rollout, and retaining the prior deployment allows traffic to be shifted back if thresholds fail. Full replacement removes the safety margin. Offline batch evaluation cannot establish live serving behavior. Sending all traffic immediately is not a canary and lacks a deliberate rollback procedure.

Question 11

New Multiple answers

Topic: Serving and scaling models

Skill tested: Designs a low-latency feature-serving path consistent with training-time transformations.

A travel service predicts booking cancellation during checkout. The model uses customer and itinerary features that are available in online application requests, plus a compact set of frequently updated aggregates. The team must keep request latency low and avoid training-serving skew; it cannot run a warehouse query synchronously for every prediction. Select TWO actions that best address these requirements. (Select TWO.)

Correct Answer: A. Use request-time features directly where available and retrieve the required stored online features through an appropriate online serving path.; B. Use a low-latency online feature-serving design for frequently accessed features and ensure training and serving use consistent feature definitions.
Explanation:

Low-latency online feature retrieval is appropriate for frequently used aggregates, while request-available values can be supplied directly for the current booking. Consistent feature definitions across training and serving reduce skew, a common source of degraded online quality. Synchronous full-table warehouse queries are too costly and slow for the stated request path. Divergent transformations create inconsistent inputs. Daily batch prediction cannot meet checkout-time inference needs.

Question 12

New Single answer

Topic: Monitoring AI solutions

Skill tested: Distinguishes prediction-quality monitoring from input-data drift monitoring.

A claims model receives predictions continuously, but ground-truth outcomes are not available until investigations close several weeks later. The operations team wants an early warning if production input distributions change, even before it can calculate model accuracy. It also needs a later assessment of actual predictive quality. Which monitoring plan is best?

Correct Answer: A. Monitor input-feature distributions against an appropriate baseline for early drift signals, then evaluate predictive quality when labels become available.
Explanation:

Input distribution monitoring can identify changes in production data without waiting for outcome labels, providing an early signal that the model's operating conditions may have shifted. It does not establish that predictions are wrong, so the team should evaluate model quality against delayed ground truth once labels arrive. Confidence is not a substitute for accuracy. Waiting entirely for labels forfeits early detection, while endpoint availability measures service health rather than predictive validity.

Question 13

New Single answer

Topic: Monitoring AI solutions

Skill tested: Detects label leakage through temporal validation and feature availability checks.

A fraud model achieves unusually high validation performance, but performance drops sharply after deployment. Investigation shows that one feature is populated from a case-resolution table and is often recorded after investigators confirm fraud. The training split was random, mixing records from different time periods. What is the most appropriate corrective action?

Correct Answer: B. Remove or reconstruct the feature using only information available at prediction time, then reevaluate with a time-aware split.
Explanation:

The case-resolution value is unavailable, or potentially outcome-derived, at the time the model must make a prediction. Its use leaks future information into training and can inflate random-split validation results. Removing it or reconstructing it from prediction-time data, followed by a time-aware evaluation, better reflects production conditions. A more complex model cannot fix leakage. More randomly split records can preserve the same flaw, and latency monitoring cannot detect predictive validity problems.