You work for an international enterprise deploying a customer service application. The application translates technical support tickets across multiple languages using Google Cloud pre-trained translation services. However, your team notices that proprietary product names and domain-specific technical acronyms are frequently mistranslated by the default translation service. You need to ensure domain-specific terminology is translated correctly and consistently with minimal operational overhead. You have an approved translation for each term and need it applied exactly, not offered to the model as an example. What should you do?
ACall the Cloud Translation - Basic API and define search-and-replace rules for technical terms using application client libraries.
BTrain a custom translation model using AutoML and export the artifact to an online prediction endpoint for inference.
CUse the Translation LLM in Cloud Translation - Advanced API with adaptive translation examples supplied in request payloads.
DUse Cloud Translation - Advanced API and attach a custom glossary to your translation requests to control domain-specific terminology.
Show answer
Answer: D
Cloud Translation - Advanced API provides glossary support, which allows organizations to define custom terminology mappings so that domain-specific terms, named entities, and technical acronyms are translated consistently and correctly without requiring model retraining. In contrast, calling the Basic API and managing client-side string replacements fails to handle grammar context and creates substantial maintenance overhead, while training a custom model introduces unnecessary operational complexity when native glossary support directly satisfies the requirement.
A. Cloud Translation - Basic API lacks glossary support, and managing search-and-replace rules in client code ignores surrounding grammatical context and introduces heavy maintenance overhead.
B. Training and managing custom translation models introduces significant operational overhead and data preparation requirements when glossaries in the Advanced API directly resolve terminology consistency.
C. Adaptive translation supplies example sentence pairs that the model learns from at request time; it does not apply a fixed list of approved term translations.
Section 2: Collaborate on data, notebooks, and models
You work for a retail platform that processes 80 TB of raw customer interaction logs in Cloud Storage. Your data engineering team needs to run advanced feature engineering transformations, including complex window aggregations and multi-stage joins across heterogeneous data formats, before training an Agent Platform model. You want a fully managed service that autoscales across distributed worker VMs without requiring you to manually manage or configure clusters. What should you do?
AProvision an autoscaling Managed Service for Apache Spark cluster running Apache Spark to execute distributed transformations across the interaction logs in Cloud Storage.
BImplement an Apache Beam data pipeline and run it at scale using the Dataflow runner.
CDeploy a persistent Apache Spark cluster on Compute Engine VMs to execute distributed transformation scripts and monitor dataflows.
DExport the interaction logs directly to BigQuery tables and run procedural SQL loops for transformations.
Show answer
Answer: B
Dataflow is a fully managed service that executes Apache Beam pipelines at large scale. When a Dataflow job runs, the service allocates a pool of worker VMs to execute the pipeline in parallel and automatically autoscales compute resources by provisioning or shutting down worker VMs as needed, eliminating manual VM and cluster configuration. This matches the need to process 80 TB of raw logs with complex joins and window aggregations without managing clusters. In contrast, provisioning an autoscaling Managed Service for Apache Spark cluster running Apache Spark still requires users to configure, size, and maintain compute cluster parameters.
A. Provisioning an Apache Spark cluster on Managed Service for Apache Spark requires configuring and managing cluster infrastructure, violating the requirement for a fully managed service that does not require cluster management.
C. Deploying a persistent Apache Spark cluster on Compute Engine requires manual cluster sizing, configuration, and maintenance, directly violating the requirement for a fully managed, cluster-free service.
D. Running procedural SQL loops over raw heterogeneous interaction logs in BigQuery requires manual export steps and is inefficient compared to distributed pipeline processing.
You work for a retail analytics company with customer tabular transaction data stored in BigQuery. Your team of data analysts needs to build a supervised classification model to predict customer churn based on numerical and categorical features. You want to train a tree-based classifier directly using SQL without moving data outside the data warehouse, while keeping operational overhead to a minimum. What should you do?
ATrain an ARIMA_PLUS model in BigQuery ML using standard GoogleSQL syntax to classify customer churn over time.
BTrain a boosted tree classification model in BigQuery ML using GoogleSQL directly against the existing BigQuery table.
CDeploy a remote model on Agent Platform and query it via an HTTPS endpoint using BigQuery ML.
DExport the tabular data to Cloud Storage and train an XGBoost model using custom Python scripts in Colab Enterprise.
Show answer
Answer: B
BigQuery ML enables data analysts to train supervised classification models directly on existing warehouse tables using GoogleSQL without moving data or programming in Python. Boosted trees in BigQuery ML create classification and regression models based on XGBoost, satisfying the requirement for an in-warehouse tree-based classifier with minimal operational overhead. In contrast, deploying a remote model on Agent Platform requires managing external model deployment infrastructure and configuring endpoint connectivity, adding unnecessary operational complexity.
A. ARIMA_PLUS is intended for time series forecasting, not for supervised classification on tabular customer data.
C. Creating a remote model requires configuring an external deployment on Agent Platform, introducing additional operational and deployment overhead.
D. Exporting data to Cloud Storage and managing Python scripts in Colab Enterprise violates the constraint to avoid moving data outside the warehouse.
You work for a retail company and maintain an operational customer churn model registered in Model Registry. You recently trained a new model version on fresh Cloud Storage data using Agent Platform, and validation tests indicate it is ready to replace the active production version. You need to deploy the retrained model to your serving endpoint with minimal disruption and track production releases systematically. What should you do?
ARegister the retrained model as an entirely new model entity in Model Registry, assign it a unique name, and deploy it to a fresh serving endpoint.
BExport the existing model artifacts to BigQuery ML, update the target table schema, and deploy the new model version directly from BigQuery.
CRegister the retrained model as an independent model resource in Model Registry, and deploy this new resource directly to the existing serving endpoint.
DCreate a new model version under the existing model entity in Model Registry, update its alias, and deploy the model version to the endpoint.
Show answer
Answer: D
Creating a new model version under the existing model entity in Model Registry, updating its alias, and deploying it to the endpoint centralizes release management. Model Registry lets you organize and track iterations under a shared model entity; the alias lets you deploy the new version to the existing endpoint by reference, without clients or pipelines tracking version IDs. In contrast, registering the retrained model as an independent model resource fragments lifecycle tracking across separate resources, which bypasses iterative version control within the primary model entity and impairs systematic release tracking.
A. Creating a separate model entity and new endpoint fragments version tracking and requires reconfiguring client connections instead of updating the existing serving setup.
B. BigQuery ML integrates with Model Registry without exporting model artifacts, and deploying custom Agent Platform models directly from BigQuery is not standard.
C. Creating an independent model resource bypasses version tracking within the existing model entity, making systematic lifecycle management across iterations difficult.
You work for an enterprise analytics company coordinating tasks across distinct data engineering and machine learning teams. Data transformation occurs in BigQuery and model training executes on Agent Platform, but existing pipelines are authored as Apache Airflow Directed Acyclic Graphs (DAGs). You need to orchestrate and schedule these cross-team workflows end-to-end with minimal infrastructure management overhead while preserving your team's familiarity with native Airflow tools. What should you do?
AProvision an environment in Managed Service for Apache Airflow to schedule and run the cross-team DAGs using the native Airflow web interface.
BDeploy open source Apache Airflow on a self-managed Google Kubernetes Engine cluster and configure custom persistent volumes for DAG orchestration.
CRewrite existing Airflow workflows into Agent Platform Pipelines templates and schedule task execution directly through Cloud Scheduler jobs.
DInstall Apache Airflow components directly on individual Compute Engine virtual machines and schedule jobs manually using system cron daemons.
Show answer
Answer: A
Managed Service for Apache Airflow provides a fully managed workflow orchestration service built on Apache Airflow. It eliminates installation and infrastructure management overhead while allowing teams to retain their existing Airflow DAGs and native Airflow tools, such as the Airflow web interface and CLI. Deploying a self-managed Airflow cluster on Google Kubernetes Engine fails the deciding constraint of minimal operational overhead because it requires ongoing manual cluster operations, patching, and scaling. Managed Service for Apache Airflow handles these operational details natively.
B. Operating Apache Airflow on a self-managed cluster introduces substantial infrastructure provisioning, cluster maintenance, and operational overhead.
C. Rewriting existing workflows into pipeline templates requires extensive development rework instead of leveraging existing DAG assets directly.
D. Hosting Airflow manually across Compute Engine instances creates significant maintenance toil and lacks managed scalability and resiliency.
You work for a retail analytics company with customer tabular transaction data stored in BigQuery. Your team deploys an ensemble tree model to classify churn risk. Stakeholders review sample predictions and report that feature attribution scores vary widely across identical repeated explanation requests. You need to improve attribution stability with minimal architectural changes, accepting slightly higher explanation latency. What should you do?
AConfigure the explanation specification for the sampled Shapley method by increasing the number of paths.
BSwitch the attribution configuration to integrated gradients with an increased step count.
CChange the baseline configuration to use random noise vectors instead of median baseline values.
DAggregate local feature attributions across the training dataset instead of tuning explanation parameters.
Show answer
Answer: A
For structured tabular data models, feature attributions approximate Shapley values using the sampled Shapley method. Because this technique relies on sampling paths, low path counts can lead to variance across repeated identical requests. According to the documentation, you can increase the precision of the approximation by increasing the number of paths for the sampled Shapley method. In contrast, changing baseline values to random noise vectors alters the reference point against which attributions are measured rather than improving the precision or stability of the sampling approximation.
B. Integrated gradients is not used for tabular ensemble models and does not resolve sampling variance in sampled Shapley.
C. Using random noise vectors alters the reference baseline rather than improving the precision or stability of the Shapley approximation.
D. Aggregating feature attributions across datasets provides broad model insights, but it does not improve the precision or stability of individual inference explanations.
You work for a retail analytics company with customer interaction and purchase tables stored in BigQuery. Your team of data analysts must build a customer churn classifier, but they only have experience writing standard SQL queries and lack Python programming skills. You need to develop and train the classification model while keeping all data inside BigQuery and avoiding Python-based ML frameworks, with the least operational overhead. What should you do?
ATrain a logistic regression or boosted tree classifier directly in BigQuery by using a BigQuery ML CREATE MODEL statement written in SQL.
BExport customer tables from BigQuery to Cloud Storage as CSV files, then train an AutoML tabular classification model using Agent Platform AutoML.
CExtract data using the BigQuery REST API and train an XGBoost classification model locally using Python in an Agent Platform Workbench notebook.
DDeploy a custom scikit-learn classification pipeline container image to an Agent Platform endpoint and call it from BigQuery using a remote model.
Show answer
Answer: A
BigQuery ML satisfies all scenario constraints because it brings machine learning directly to the data warehouse, removing the need to extract or transfer customer records. Analysts can build classification models such as logistic regression or boosted trees using familiar SQL statements without writing Python code or adopting external ML frameworks. In contrast, exporting data to Cloud Storage for Agent Platform AutoML introduces operational data movement out of BigQuery.
B. Exporting BigQuery tables to Cloud Storage requires moving data out of the data warehouse, which violates the constraint to keep all data in BigQuery.
C. Extracting data and developing a model in Python violates the constraint to rely on analysts' SQL skills and avoid Python-based ML frameworks.
D. Building and containerizing a custom scikit-learn classifier requires advanced programming and infrastructure management beyond SQL.
Section 2: Collaborate on data, notebooks, and models
You work for a financial analytics company that evaluates diverse model architectures and hyperparameter sets for credit risk assessment. The data science team trains multiple models across distributed training jobs and needs to compare evaluation metrics, inspect inputs like datasets and hyperparameters, and verify the artifact lineage of generated models in a centralized interface. You want to track and compare these model development iterations with minimal operational overhead. What should you do?
AWrite training parameters, evaluation metrics, and model storage paths to BigQuery tables, and build a Looker Studio dashboard to analyze and compare model performance.
BLog training parameters and evaluation metrics to Cloud Logging structured logs, and use Log Analytics to query and compare model performance across training jobs.
CStore model checkpoints and metrics in Cloud Storage, and deploy a self-managed MLflow tracking server on Compute Engine instances to log and visualize runs.
DUse Agent Platform Experiments to log parameters, metrics, and steps within experiment runs, and compare models and artifact lineage using the Google Cloud console.
Show answer
Answer: D
Agent Platform Experiments lets you track steps, inputs, and outputs across experiment runs and compare multiple models directly in the Google Cloud console. Together with Agent Platform ML Metadata, it enables you to view artifact lineage and the artifacts consumed and produced by steps in a run with minimal operational overhead. In contrast, deploying and managing an MLflow tracking server on Compute Engine requires provisioning, configuring, patching, and maintaining infrastructure, which incurs substantial ongoing operational overhead.
A. Writing parameters and metrics to BigQuery and building Looker Studio dashboards requires custom schema design, data pipeline development, and dashboard maintenance, while failing to provide native artifact lineage tracking.
B. Logging to Cloud Logging and querying via Log Analytics requires writing custom queries and does not provide an integrated, centralized visual interface for comparing model architectures or tracking artifact lineage.
C. Deploying a self-managed MLflow tracking server on Compute Engine instances requires manual infrastructure provisioning, ongoing maintenance, and administrative patching, which does not meet the minimal operational overhead constraint.
You work for an enterprise that runs custom ML training jobs on Agent Platform across different environments. You are writing code for a TrainingPipeline resource that reads an input dataset and periodically saves training state and the final trained model. You specify the baseOutputDirectory field in the training configuration. You need to configure your training application to retrieve the designated Cloud Storage directories without hardcoding paths, to reduce maintenance. What should you do?
AAccess the AIP_TENSORBOARD_LOG_DIR environment variable to save model artifacts and the AIP_CHECKPOINT_DIR environment variable to store checkpoints.
BAccess the AIP_MODEL_DIR environment variable to save model artifacts and the AIP_CHECKPOINT_DIR environment variable to store checkpoints.
CMount Cloud Storage buckets locally using the /gcs/ directory to locate the automatically generated checkpoint and artifact folders.
DParse command-line arguments passed into the training script container named --model-dir and --checkpoint-dir.
Show answer
Answer: B
Accessing the AIP_MODEL_DIR environment variable to save model artifacts and the AIP_CHECKPOINT_DIR environment variable to store checkpoints is correct because specifying baseOutputDirectory populates these standard environment variables with Cloud Storage URIs for model artifacts and checkpoints. Conversely, accessing the AIP_TENSORBOARD_LOG_DIR environment variable to save model artifacts and the AIP_CHECKPOINT_DIR environment variable to store checkpoints is incorrect because AIP_TENSORBOARD_LOG_DIR is designated for TensorBoard logs rather than model artifacts.
A. AIP_TENSORBOARD_LOG_DIR is designated for TensorBoard summary logs, whereas AIP_MODEL_DIR is the environment variable populated by the service for saving model artifacts.
C. While Cloud Storage FUSE mounts buckets under /gcs/, specifying baseOutputDirectory exposes designated Cloud Storage URIs through environment variables rather than predefined local mount folders.
D. Specifying baseOutputDirectory sets the AIP_MODEL_DIR and AIP_CHECKPOINT_DIR environment variables instead of injecting --model-dir and --checkpoint-dir command-line flags into the container.
You work for an industrial manufacturing company that inspects circuit boards on factory assembly lines. You have trained an AutoML Edge image classification model in Gemini Enterprise Agent Platform to detect surface defects. The assembly line inspection stations are equipped with dedicated Google Coral Edge TPU hardware accelerators. You need to prepare the trained model for on-device inference on these Edge TPU devices with minimal operational latency. What should you do?
AExport the model as a Container (tf-saved-model) package to Cloud Storage, and deploy the exported Docker container to the Edge TPU inspection devices.
BExport the model as an Edge TPU TF Lite (edgetpu-tflite) package to Cloud Storage, and deploy the resulting edgetpu_model.tflite file to the devices.
CExport the model as a standard TF Lite (tflite) package to Cloud Storage, and deploy the uncompiled model file directly to the Edge TPU devices.
DDeploy the trained AutoML Edge model directly to an Agent Platform Prediction endpoint, and configure the edge inspection devices to call the online prediction API.
Show answer
Answer: B
To run inference on Edge TPU hardware, you must export the AutoML Edge model using the Edge TPU TF Lite (`edgetpu-tflite`) format. This exports a package containing `edgetpu_model.tflite`, which has been passed through the Edge TPU compiler to be compatible with Edge TPU accelerators. In contrast, the standard `tflite` export creates an uncompiled model intended for general edge or mobile devices without Edge TPU compatibility, and Agent Platform explicitly requires Edge models to be exported and deployed to an external device rather than served on a managed online prediction endpoint.
A. The Container (`tf-saved-model`) format exports a TensorFlow SavedModel designed to run in a Docker container, not an Edge TPU-compatible package.
C. The standard `tflite` package creates a model intended for general edge or mobile devices and is not compiled to run on Edge TPU devices.
D. Agent Platform does not permit deploying AutoML Edge models directly to online prediction endpoints; edge models must be exported and deployed externally.