Home / Google Cloud Professional Machine Learning Engineer / Mock exam
Google Cloud Professional Machine Learning Engineer Exam-style mock test

Google Cloud Professional Machine Learning Engineer Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Architecting Low-Code ML Solutions and ML Solutions
A fintech startup stores millions of card transactions in BigQuery. A data analyst who knows SQL but not Python must build a model to flag likely fraudulent transactions directly on the warehouse data. Which approach lets the analyst train and predict with the least new tooling?
✓Train a logistic regression model using BigQuery ML with a CREATE MODEL statement
Correct. BigQuery ML lets a SQL user train a logistic regression model in place with CREATE MODEL and no new language.
・Export the transactions to Cloud Storage and train a custom scikit-learn model on a GPU-backed Compute Engine VM
Incorrect. Exporting data and writing scikit-learn code requires Python skills the analyst lacks.
・Stand up a Dataproc Spark cluster and author an MLlib pipeline that reads the warehouse tables over a connector
Incorrect. Running a Spark MLlib pipeline on Dataproc adds heavy infrastructure and code the analyst cannot maintain.
・Build a custom TensorFlow training package and submit it as a Vertex AI custom training job container
Incorrect. Packaging TensorFlow for a Vertex AI custom job demands Python and container skills beyond SQL.
Explanation
BigQuery ML is the low-code path: a SQL analyst can train and serve models on warehouse data without leaving BigQuery.
Example2 · Data Preparation and Processing
A fintech startup stores 4 TB of raw transaction logs in BigQuery and wants analysts to profile the data, spot anomalies, and build repeatable cleaning recipes visually before any model training. The team has little coding experience. Which Google Cloud tool fits this need best?
✓Cloud Dataprep by Trifacta, run on the dataset
Correct. Cloud Dataprep provides a visual, no-code interface for profiling, detecting anomalies, and authoring reusable cleaning recipes over BigQuery data.
・A custom Apache Beam pipeline deployed and operated on Dataflow
Incorrect. A custom Beam pipeline on Dataflow requires coding and is aimed at production streaming, not interactive visual exploration.
・A hand-written PySpark job scheduled to run on a Dataproc cluster
Incorrect. A hand-written PySpark job on Dataproc demands coding skills the team lacks and offers no visual profiling.
・Direct manual SQL exploration typed into the BigQuery console editor
Incorrect. Manual SQL exploration works but gives no visual profiling, anomaly flags, or reusable recipe authoring for non-coders.
Explanation
Cloud Dataprep targets exactly this use case: visual, repeatable data profiling and cleaning over BigQuery without writing code.
Example3 · ML Model Development
A fintech startup needs to predict whether a loan applicant will default. The data science team has tabular data with 80 numeric and categorical features and wants strong accuracy with minimal custom code. Which approach should the team select first?
✓Build a gradient-boosted decision tree model for the mixed tabular features
Correct. Gradient-boosted trees are a strong default for mixed tabular features and frequently beat deep nets on modest structured datasets with little tuning.
・Hand-code a convolutional neural network, since CNNs supposedly generalize better on any financial data
Incorrect. CNNs are designed for spatial grid data like images and do not inherently suit tabular loan features.
・Use a recurrent neural network because loan applications are naturally sequential time-series records
Incorrect. A single loan application is not a sequence, so an RNN adds complexity without benefit.
・Train a very deep transformer from scratch to learn every possible feature interaction automatically
Incorrect. Training a deep transformer from scratch is overkill and needs far more data and compute than this problem warrants.
Explanation
For structured tabular prediction with limited data, gradient-boosted trees are a pragmatic, high-performing first choice.
Example4 · ML Pipeline Automation and Orchestration
A healthcare analytics company builds a readmission-risk model and wants a repeatable, serverless workflow that chains data validation, training, and model registration without managing cluster infrastructure. Which Google Cloud service should the ML engineer use to orchestrate these steps?
✓Vertex AI Pipelines
Correct. Vertex AI Pipelines runs serverless, reusable ML workflows that chain steps such as validation, training, and registration.
・Cloud Scheduler triggering a single Cloud Function
Incorrect. A single Cloud Function cannot express a multi-step ML DAG with artifact passing between tasks.
・A long-running Compute Engine VM that runs a shell script invoking each step in sequence every night
Incorrect. Maintaining a VM and shell script is not serverless and loses artifact lineage and reusability.
・BigQuery scheduled queries
Incorrect. BigQuery scheduled queries run SQL on a timer and do not orchestrate training and registration steps.
Explanation
Vertex AI Pipelines is the managed, serverless orchestrator for multi-step ML workflows with lineage tracking.
Example5 · ML Solution Monitoring, Optimization, and Maintenance
A healthcare analytics company deployed a patient readmission model on a Vertex AI endpoint. Clinicians report degraded accuracy after a new hospital onboarded with different intake forms. The team wants an automatic alert when incoming request features diverge from the training data distribution. What should they configure?
✓Vertex AI Model Monitoring with training-serving skew detection on the endpoint
Correct. Model Monitoring skew detection compares serving feature distributions against the training baseline and alerts on divergence.
・A BigQuery scheduled query that recomputes model accuracy every night
Incorrect. Recomputing accuracy needs ground-truth labels, which arrive late and will not flag feature divergence quickly.
・Cloud Logging sinks exporting all prediction requests to a bucket
Incorrect. Exporting raw requests gives you data but no automatic distribution comparison or alerting.
・A manual weekly review where analysts re-run the training notebook and compare metric plots side by side for each feature
Incorrect. A manual review is slow, error-prone, and does not scale to continuous automatic alerting.
Explanation
Training-serving skew detection in Vertex AI Model Monitoring directly addresses feature divergence between training and serving data with automatic alerts.
Example6 · Architecting Low-Code ML Solutions and ML Solutions
A healthcare analytics company stores millions of patient visit records in BigQuery and wants a data analyst, who writes SQL fluently but has no Python experience, to build a model that predicts 30-day readmission risk directly where the data lives. Which approach best fits these constraints?
✓Train a logistic regression model using BigQuery ML with a CREATE MODEL SQL statement
Correct. BigQuery ML lets the analyst train a logistic_reg model with a CREATE MODEL statement in SQL, keeping data in place and requiring no Python.
・Export the table to Cloud Storage and train a custom scikit-learn model on Vertex AI
Incorrect. Exporting data and writing scikit-learn code demands Python skills and moves data out of BigQuery unnecessarily.
・Build and train a deep neural network in a Vertex AI Workbench notebook using TensorFlow
Incorrect. Authoring a TensorFlow deep neural network in a notebook requires substantial Python and framework expertise the analyst lacks.
・Provision a Dataproc cluster and run a Spark MLlib classification pipeline on the records
Incorrect. Standing up a Dataproc cluster and coding Spark MLlib adds operational overhead and requires programming skills beyond SQL.
Explanation
BigQuery ML is the low-code option that enables SQL users to train models without moving data or writing Python.
Example7 · Architecting Low-Code ML Solutions and ML Solutions
An online retailer stores all of its order history in BigQuery. A data analyst who knows SQL but not Python must build a model to predict next-month spend per customer directly where the data already lives, with minimal new tooling. Which approach best fits these constraints?
✓Train a linear regression model with BigQuery ML using a CREATE MODEL statement
Correct. BigQuery ML lets the analyst train a regression model in place using familiar SQL CREATE MODEL syntax, with no data movement or Python.
・Export the tables to Cloud Storage and train a custom scikit-learn model on a Vertex AI notebook
Incorrect. Exporting data and writing scikit-learn code adds tooling and requires Python skills the analyst lacks.
・Stream the order data to Pub/Sub and process it with a Dataflow pipeline before training
Incorrect. A Pub/Sub and Dataflow pipeline addresses streaming ingestion, not low-code model training on existing tables.
・Build and host a TensorFlow model in a container deployed to a Google Kubernetes Engine cluster
Incorrect. Containerizing TensorFlow on GKE is heavyweight and far beyond the stated low-code, SQL-only requirement.
Explanation
BigQuery ML is the low-code path for SQL users to train models directly on data already stored in BigQuery.
Example8 · Architecting Low-Code ML Solutions and ML Solutions
The retailer's merchandising team wants to automatically categorize new product photos into existing catalog categories, but it has no ML engineers available. Which Vertex AI capability lets them train an image classifier with labeled examples and no custom model code?
✓Vertex AI AutoML image classification
Correct. AutoML image classification trains an image model from labeled examples without any custom model code.
・A manually authored convolutional network trained with the Vertex AI custom training service using a user-supplied container
Incorrect. Authoring and containerizing a custom CNN requires ML engineering effort the team does not have.
・Dataflow batch processing jobs
Incorrect. Dataflow handles data processing pipelines, not no-code image model training.
・BigQuery scheduled queries
Incorrect. BigQuery scheduled queries automate SQL execution, not image classification training.
Explanation
AutoML is designed for teams without ML expertise to train quality models from labeled data.
Example9 · Architecting Low-Code ML Solutions and ML Solutions
The retailer wants its support app to auto-detect the sentiment and language of incoming customer reviews without collecting training data or building a model. Which option meets this need most directly?
✓Call the Cloud Natural Language API from the application
Correct. The Cloud Natural Language API provides pretrained sentiment and language detection with a simple API call and no training data.
・Train an AutoML text classifier on a labeled corpus of reviews
Incorrect. AutoML text classification still requires assembling and labeling a training corpus.
・Build a BigQuery ML logistic regression model over review text
Incorrect. BigQuery ML over text requires building and training a model rather than using a pretrained API.
・Fine-tune a custom transformer model with Vertex AI custom training
Incorrect. Fine-tuning a custom transformer is the most effort-intensive path and unnecessary here.
Explanation
Pretrained ML APIs like Cloud Natural Language handle common NLP tasks without any training.
Example10 · Architecting Low-Code ML Solutions and ML Solutions
A manufacturing firm stores six years of machine sensor telemetry and defect labels in BigQuery. The reliability team, who write SQL daily but have no Python experience, want to predict whether a part will fail inspection without exporting the data. Which approach lets them build and evaluate the model fastest while keeping the data in place?
・Export the tables to Cloud Storage and train a scikit-learn model in a notebook
Incorrect. Exporting to a notebook forces the SQL-focused team into Python and moves data out of the warehouse.
✓Train a logistic regression model directly with BigQuery ML using CREATE MODEL
Correct. BigQuery ML lets the SQL-literate team train and evaluate a classifier in place with a simple CREATE MODEL statement.
・Stand up a Dataproc Spark cluster and fit an MLlib classifier on the exported sensor data before loading predictions back into the warehouse
Incorrect. Spinning up a Spark cluster and exporting the data adds infrastructure and skills the team does not have.
・Build a custom TensorFlow training pipeline on Vertex AI
Incorrect. A custom TensorFlow pipeline requires Python and ML engineering effort the reliability team lacks.
Explanation
BigQuery ML is the low-code path for SQL users to train models on data already in BigQuery.
Example11 · Architecting Low-Code ML Solutions and ML Solutions
A manufacturing firm wants to automatically read serial numbers and lot codes printed on photographed parts arriving at its inspection station. The team has no labeled training data and wants a result this week. Which option best fits the goal?
・Train a custom CNN from scratch on part images
Incorrect. Training a CNN from scratch requires data and time the team does not have.
✓Use the Cloud Vision API text detection feature
Correct. The Cloud Vision API provides pretrained text detection that reads printed codes with no training data.
・Label thousands of images and train an AutoML Vision object detection model, then deploy it to an endpoint for inference on the station images
Incorrect. Labeling thousands of images and training AutoML is far slower than using a pretrained API for OCR.
・Fine-tune a large language model on the firm's documents
Incorrect. Fine-tuning an LLM does not address reading printed text from part photos.
Explanation
A pretrained ML API like Cloud Vision solves common tasks such as OCR with no labeled data or training.
Example12 · Architecting Low-Code ML Solutions and ML Solutions
A SaaS company stores billions of subscription-usage rows in BigQuery and wants its data analysts, who know SQL but not Python, to build a churn classifier without exporting data. Which approach fits best?
✓Train a logistic regression model directly in BigQuery ML using a CREATE MODEL SQL statement
Correct. BigQuery ML lets SQL-literate analysts train models in place with CREATE MODEL, no data export or Python needed.
・Export the table to Cloud Storage, open a Vertex AI Workbench notebook, and hand-code a scikit-learn pipeline that the analysts must learn to maintain
Incorrect. Exporting data and hand-coding scikit-learn forces analysts into Python, defeating the low-code goal.
・Stand up a Dataproc cluster and have the analysts write Spark MLlib jobs over the exported usage data
Incorrect. Spark MLlib on Dataproc requires exporting data and programming skills the analysts lack.
・Stream the rows into Bigtable and build a custom TensorFlow training loop on a Compute Engine VM
Incorrect. A custom TensorFlow loop on a VM is high-code and needs no in-place SQL training.
Explanation
BigQuery ML keeps data in place and uses familiar SQL, making it ideal for SQL-skilled analysts who need a low-code path.
Example13 · Architecting Low-Code ML Solutions and ML Solutions
A SaaS help-desk platform wants to auto-detect the language and sentiment of inbound support tickets with minimal engineering effort and no model training. Which Google Cloud service should it use?
✓The Cloud Natural Language API
Correct. The Cloud Natural Language API provides pretrained sentiment and language detection with no training required.
・A custom AutoML text model trained on a large labeled corpus the team must first collect and annotate itself
Incorrect. AutoML still requires collecting and labeling a dataset, which is unnecessary effort here.
・A TensorFlow model trained from scratch on Vertex AI custom training jobs
Incorrect. Training a TensorFlow model from scratch is high-code and needs no labeled data for a pretrained task.
・BigQuery ML with a boosted-tree classifier
Incorrect. BigQuery ML would require building and training a classifier rather than calling a ready API.
Explanation
Pretrained ML APIs like Cloud Natural Language cover common tasks such as sentiment and language detection with zero training.
Example14 · Architecting Low-Code ML Solutions and ML Solutions
A media streaming company stores years of subscriber viewing logs in BigQuery. A data analyst who knows SQL but not Python needs to predict monthly churn without exporting data to another service. Which approach best fits these constraints?
✓Train a logistic regression model directly in BigQuery ML using the existing tables
Correct. BigQuery ML lets the SQL-skilled analyst train a logistic regression churn model in place using CREATE MODEL, with no data movement or Python.
・Export the tables to Cloud Storage and build a custom TensorFlow training job on Vertex AI
Incorrect. Exporting data and writing custom TensorFlow adds Python work the analyst cannot do and moves data out of BigQuery.
・Stand up a Dataproc cluster running Spark MLlib to train the churn classifier on the logs
Incorrect. A Dataproc Spark MLlib cluster requires cluster management and Spark coding, far beyond the SQL-only constraint.
・Stream every viewing event through Dataflow into a self-managed scikit-learn pipeline on Compute Engine
Incorrect. Streaming through Dataflow into a self-managed scikit-learn pipeline is heavy engineering that ignores the in-place SQL requirement.
Explanation
BigQuery ML is designed so SQL users can train models where the data already lives, matching the analyst's skills and the no-export constraint.
Example15 · Architecting Low-Code ML Solutions and ML Solutions
The streaming company wants to auto-generate closed captions for user-uploaded clips in dozens of languages, but has no ML team to train a speech model. Which choice meets the need with the least development effort?
✓Use the Cloud Speech-to-Text API to transcribe the audio
Correct. The pre-trained Cloud Speech-to-Text API transcribes many languages out of the box with minimal code and no training.
・Collect labeled transcripts and train a custom sequence model on Vertex AI
Incorrect. Training a custom sequence model needs labeled data and ML expertise the company lacks.
・Fine-tune an open source acoustic model on Compute Engine GPUs for each language
Incorrect. Fine-tuning acoustic models per language is a large, specialized effort that defeats the low-effort goal.
・Build a Dataflow pipeline that chains several in-house signal processing steps and a bespoke decoder
Incorrect. Building a bespoke Dataflow decoding pipeline is complex custom engineering when a managed API already exists.
Explanation
Pre-trained ML APIs like Speech-to-Text deliver common capabilities instantly, which is ideal when no ML team is available.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)