Skip to content

Professional Cloud Architect · Domain 2: Managing and provisioning a cloud solution infrastructure · 18% of the exam

Task 2.4: Leveraging Gemini Enterprise Agent Platform for end-to-end ML workflows.

Agent Platform Pipelines for the ML lifecycle, preparing data for Agent Platform, and AI Hypercomputer with GPUs, TPUs and consumption options for training and serving.

Study it

Sample questions

Try each one before opening the answer. Every option is explained, with the Google Cloud documentation page that proves it.

Question 1 · choose 1

A data science team retrains a demand-forecasting model weekly: extract data from BigQuery, engineer features, train, evaluate against the current model, and deploy only if the new model is better. The team wants every run to be reproducible, wants lineage for the artifacts each step produces, and does not want to manage orchestration infrastructure. What should the team use?

  1. AA Managed Airflow environment that runs each step
  2. BAgent Platform Pipelines with a conditional deployment step
  3. CCloud Scheduler triggering a chain of Cloud Run functions
  4. DA Dataflow batch pipeline that runs each step as a transform
Show the answer and why
  • AA Managed Airflow environment that runs each step

    Incorrect

    Managed Airflow is a general workflow orchestrator in an environment the team creates; it does not record ML artifacts and their lineage in ML Metadata.

  • BAgent Platform Pipelines with a conditional deployment step

    Correct

    Agent Platform Pipelines runs Kubeflow or TFX pipelines serverlessly and records each run's artifacts and lineage in ML Metadata.

  • CCloud Scheduler triggering a chain of Cloud Run functions

    Incorrect

    A scheduled chain of functions can run the steps but gives no pipeline definition, reproducibility or lineage.

  • DA Dataflow batch pipeline that runs each step as a transform

    Incorrect

    Dataflow processes data at scale; it is not an orchestrator for training, evaluation and deployment.

Agent Platform Pipelines is the managed way to automate the ML lifecycle: each step is a component, runs are reproducible from the pipeline definition, and ML Metadata tracks lineage.

Question 2 · choose 1

A research team needs 64 GPUs together for a fine-tuning run of about four days. The start date can slip by a few days, the run must not be preempted midway, and the team wants a discount without a long-term commitment. Which AI Hypercomputer consumption option fits best?

  1. ASpot VMs, which are discounted and need no commitment for the GPUs
  2. BFlex-start, which provisions the GPUs when capacity frees up for up to seven days
  3. CA standard reservation covered by a three-year committed use discount
  4. DOn-demand VMs created by hand once the training data is ready
Show the answer and why
  • ASpot VMs, which are discounted and need no commitment for the GPUs

    Incorrect

    Spot VMs are preemptible, which the run cannot tolerate.

  • BFlex-start, which provisions the GPUs when capacity frees up for up to seven days

    Correct

    Flex-start suits short jobs of up to seven days that can wait for capacity; it is discounted and not preemptible once running.

  • CA standard reservation covered by a three-year committed use discount

    Incorrect

    The discount comes from a long-term commitment, which the team wants to avoid.

  • DOn-demand VMs created by hand once the training data is ready

    Incorrect

    On-demand capacity has no discount and may not be available for 64 GPUs at once.

AI Hypercomputer's consumption options trade capacity assurance, preemption and price. A short, non-preemptible job with a flexible start date is the Flex-start case.

Question 3 · choose 1

A fraud model is trained on features that a data engineering team computes in BigQuery. At prediction time, the online service must fetch the latest values of those same features with low latency, and the team wants to avoid maintaining a second copy of the feature logic. What should the architect use?

  1. AAgent Platform Feature Store using the BigQuery tables as its source
  2. BA query to BigQuery from the online service for every prediction
  3. CA custom job that copies features into Memorystore every few minutes
  4. DA Firestore collection that the training job writes features into
Show the answer and why
  • AAgent Platform Feature Store using the BigQuery tables as its source

    Correct

    Feature Store serves the latest feature values online at low latency directly from the BigQuery tables or views, so the same feature data feeds training and serving.

  • BA query to BigQuery from the online service for every prediction

    Incorrect

    BigQuery is built for analytics, not low-latency lookups on every request.

  • CA custom job that copies features into Memorystore every few minutes

    Incorrect

    This works, but it is the second pipeline and copy of the logic the team wants to avoid.

  • DA Firestore collection that the training job writes features into

    Incorrect

    It adds another store and pipeline to keep consistent with the BigQuery features.

Preparing data for Agent Platform includes serving features consistently. Feature Store uses BigQuery as the source of truth and adds online serving on top of it.

Question 4 · choose 1

A demand model deployed on an Agent Platform endpoint was trained a year ago. The team suspects that customer behavior has changed and wants to be alerted when the distribution of production input features moves away from the training data. What should the architect set up?

  1. ACloud Monitoring alerts on the endpoint's CPU utilization
  2. BModel Monitoring with input feature drift objectives and alerts
  3. CError Reporting on the endpoint's prediction request logs
  4. DA weekly retraining job that replaces the deployed model every time
Show the answer and why
  • ACloud Monitoring alerts on the endpoint's CPU utilization

    Incorrect

    Infrastructure metrics show load, not changes in what the model is being asked to predict.

  • BModel Monitoring with input feature drift objectives and alerts

    Correct

    Model Monitoring compares production feature distributions with a baseline and alerts when drift exceeds a threshold.

  • CError Reporting on the endpoint's prediction request logs

    Incorrect

    Error Reporting groups exceptions; drifting inputs do not raise errors.

  • DA weekly retraining job that replaces the deployed model every time

    Incorrect

    Blind retraining hides the signal and can make things worse; it does not detect drift.

The ML lifecycle does not end at deployment. Monitoring for skew and drift tells the team when to re-evaluate or retrain.

Question 5 · choose 1

Each night a retailer must score 200 million customer rows stored in BigQuery with a custom churn model, and the results are only needed by the next morning. The team wants to avoid paying for always-on serving capacity. How should the scoring run?

  1. AAs a batch inference job that reads from and writes to BigQuery
  2. BThrough an online endpoint called once per row by a script
  3. CThrough an online endpoint with autoscaling set to a high node count
  4. DIn a Cloud Run function that loads the model for every row
Show the answer and why
  • AAs a batch inference job that reads from and writes to BigQuery

    Correct

    Batch inference processes a whole input source and writes results to Cloud Storage or BigQuery, with no endpoint to keep running.

  • BThrough an online endpoint called once per row by a script

    Incorrect

    An online endpoint must stay deployed, and 200 million calls is the slow, costly way to score a table.

  • CThrough an online endpoint with autoscaling set to a high node count

    Incorrect

    Autoscaling helps online traffic, but the endpoint still costs money between runs.

  • DIn a Cloud Run function that loads the model for every row

    Incorrect

    Loading a model per row is slow and fragile at this volume.

Choosing a serving mode is part of an end-to-end ML workflow. When latency does not matter, batch inference is cheaper and simpler than online serving.

Question 6 · choose 1

A data scientist trains a custom model on Agent Platform and changes the learning rate, batch size and number of layers by hand between runs. The team wants the platform to try many configurations, learn from earlier attempts which values to try next, and report the best configuration for a chosen accuracy metric. What should the team use?

  1. AAutoML training on the same data in place of the custom model
  2. BAccelerators with more memory for each of the training runs
  3. CA hyperparameter tuning job over the three training settings
  4. DA script that starts one training job for each combination
Show the answer and why
  • AAutoML training on the same data in place of the custom model

    Incorrect

    AutoML builds its own model from the data; it does not tune the team's custom training code.

  • BAccelerators with more memory for each of the training runs

    Incorrect

    Bigger accelerators speed up each run, but someone still picks every configuration by hand.

  • CA hyperparameter tuning job over the three training settings

    Correct

    Hyperparameter tuning runs many trials, uses the results of earlier trials, such as through Bayesian optimization, to choose the next values, and reports the best configuration.

  • DA script that starts one training job for each combination

    Incorrect

    A fixed grid of jobs does not learn from earlier results, and the team still compares the runs itself.

Hyperparameters govern the training process itself. A hyperparameter tuning job on Agent Platform searches them across trials toward the target metric, which replaces trial and error by hand.

Practise domain 2 →Practise all domains →