Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Machine Learning Engineer practice bank has an additional 974 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your ML engineering team prototypes models in Gemini Enterprise Agent Platform Workbench and transitions validated workflows into production on Vertex AI Pipelines. Currently, teams experience dependency drift between notebook kernels and pipeline steps, wasted CI/CD runs whenever exploratory .ipynb files are committed, and missing provenance between deployed models and source code commits.
To establish a collaborative, reproducible, and secure MLOps workflow, you must satisfy these requirements:
Which architecture should you implement?
pip install from a shared requirements.txt file in Cloud Storage, trigger Cloud Build on all commits to push updated notebooks to Cloud Storage, execute scheduled Workbench notebook runs for production retraining, and query Cloud Logging to trace model lineage.This approach relies on post-startup shell scripts to dynamically install Python packages onto Agent Platform Workbench virtual machines and uses scheduled notebook executions to run training workflows directly inside interactive notebook instances, while relying on Cloud Logging for operational records.
pip install dynamically from a requirements.txt file at instance startup is non-deterministic because upstream PyPI packages and transitive dependencies can change over time, causing environment drift across team members and runs rather than enforcing immutable container images..ipynb changes. Furthermore, copying raw notebooks to Cloud Storage bypasses unit testing, static code analysis, component containerization, and pipeline compilation.The team only needed a lightweight, ad-hoc automation mechanism for an internal exploratory report or early-stage prototype where strict reproducibility, CI/CD testing, and regulatory lineage auditing were not required.
roles/editor, and rely on Cloud Audit Logs to trace model provenance.This design relies on manually exporting scripts from Colab Enterprise to Cloud Storage, orchestrating jobs with Managed Service for Apache Airflow (Cloud Composer) using prebuilt containers and a broad roles/editor service account, while using Cloud Audit Logs for compliance tracking.
.py files from notebooks bypasses Git version control and breaks reproducibility. Furthermore, relying solely on generic prebuilt containers does not capture custom system libraries or pinned team dependencies required to prevent drift between notebook prototypes and pipeline runs.roles/editor violates zero-trust and least-privilege principles, exposing training data and production endpoints to over-privileged access without IAM Conditions. Moreover, Cloud Audit Logs record who called an API and when, not ML provenance such as training parameters, evaluation metrics, or dataset-to-model lineage tracked by Vertex ML Metadata.An organization already standardized on enterprise-wide Apache Airflow for multi-cloud ETL orchestration, required no custom container dependencies, and only needed administrative API auditing rather than ML artifact lineage.
cloudbuild.yaml in a Git repository; configure Cloud Build triggers to skip experimentation notebook edits while running unit tests and Pylint, building $COMMIT_SHA-tagged immutable container images and compiled pipeline definitions in Artifact Registry; and execute Vertex AI Pipelines via a least-privilege service account restricted by IAM Conditions while logging lineage in Vertex ML Metadata.This architecture establishes an automated GitOps-driven MLOps workflow that separates interactive notebook experimentation from hardened production pipelines. Source code, component specifications, Dockerfile definitions, and exploratory notebooks reside together in a Git repository, while Cloud Build automates testing, containerization, and pipeline compilation into Artifact Registry.
$COMMIT_SHA and storing them in Artifact Registry. Updating each component.yaml file with the commit-specific image URI guarantees that identical dependencies execute across development, staging, and production..ipynb notebooks or documentation from triggering builds. When production component or pipeline code changes, Cloud Build automatically executes unit tests, integration tests, and static analysis with Pylint, compiles the pipeline specification (pipeline.json or YAML), and uploads it to Artifact Registry.Unlike manual notebook scheduling or mutable :latest image tags, this design combines deterministic builds, selective CI/CD automation, cryptographic image traceability, and native Vertex ML Metadata governance in a fully managed serverless architecture.
:latest in Artifact Registry on every commit, orchestrate individual notebook cells as separate steps in Cloud Workflows, and export workflow execution payloads to BigQuery for lineage tracking.:latest Containers and Cloud Workflows Orchestration DoThis pattern uses Cloud Build to overwrite a single shared container image using the mutable :latest tag in Artifact Registry, orchestrates granular tasks using Cloud Workflows, and records raw execution payloads inside BigQuery tables.
:latest tag violates container immutability. If an image is overwritten between builds, historical runs cannot be deterministically reproduced, and running workloads can experience inconsistent environments unless images are pinned to immutable $COMMIT_SHA tags or digests.component.yaml validation.The workload consisted of general infrastructure automation—such as starting VMs or coordinating external REST microservices—where ML artifact lineage and deterministic pipeline compilation were unnecessary.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated