Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise machine learning team has defined an automated model retraining workflow using the Kubeflow Pipelines (KFP) SDK and compiled the pipeline specification into a YAML file stored in Cloud Storage.
The team wants to implement an event-driven architecture that triggers a new Vertex AI Pipeline execution whenever upstream data ingestion completes. The data ingestion service publishes a notification containing dynamic runtime parameter values.
Which architecture should you implement to trigger the Vertex AI Pipeline?
This pattern uses an event-driven Cloud Function subscribed to a Cloud Pub/Sub topic to automate pipeline execution. When upstream processes publish messages containing dynamic parameters, the function parses the message and uses the Vertex AI SDK (google-cloud-aiplatform) to launch a pipeline run.
base64 payload from the Pub/Sub event and extracts key-value parameter mappings.aiplatform.init() and executes aiplatform.PipelineJob.submit() pointing to the compiled YAML template in Cloud Storage.This approach aligns with Google Cloud best practices for reactive, serverless MLOps workflows by bridging asynchronous event sources to Vertex AI Pipelines without requiring continuously running virtual machines.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.