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 is automating a real-time fraud detection pipeline using Vertex AI Pipelines and Cloud Build before promoting candidate models from Model Registry to a production Vertex AI Endpoint. To satisfy production readiness gates, the pipeline must automatically:
None features), and adversarial attacks.Which pipeline validation strategy should you implement?
min_replica_count=1 and a gpu_partition_size parameter to verify single-request smoke-test latency.Cloud Build executes continuous integration (CI) code tests and container builds. Apigee provides API gateway rate limiting and traffic control, while Model Armor screens inbound prompts and outbound responses. GPU partitioning (gpu_partition_size) uses Multi-Instance GPU (MIG) hardware slices to coschedule model replicas efficiently.
min_replica_count=1 with coscheduled GPU partitions keeps the deployment on a single VM node. Vertex AI Inference cannot spread replicas across multiple VMs and zones until the replica count exceeds a single VM node; at least two nodes (VMs) are required for multi-node high availability.None features) on the model itself.This configuration would be suitable only for an initial CI smoke test of an LLM API wrapper where perimeter prompt screening is prioritized over multi-node high availability and concurrent load benchmarking.
min_replica_count >= 2), and execute a load-testing component using Locust or Apache JMeter while validating p90 latency, throughput, error rate, and GPU utilization via Cloud Monitoring before production promotion.Orchestrated pre-deployment validation embeds automated robustness, security, and operational stress-testing components directly into a Vertex AI Pipelines workflow using Kubeflow Pipelines (KFP) control flows. Rather than evaluating only offline predictive metrics such as accuracy or F1 score, this approach gates production promotion on both model resilience and satisficing operational metrics under realistic serving conditions.
None feature payloads), logging evaluation results to Vertex ML Metadata for full lineage and auditability.dsl.If) deploys models that pass quality and robustness checks to an isolated staging Vertex AI Endpoint. A subsequent component executes synthetic traffic profiles with Locust or Apache JMeter across varying concurrency levels while querying Cloud Monitoring for p90 latency, throughput, error rates, and GPU utilization.min_replica_count >= 2 beyond a single VM node allows Vertex AI Inference to distribute replicas across multiple VMs and zones rather than keeping all partitions on one host.Unlike post-deployment monitoring or training-time profiling, combining pipeline-orchestrated adversarial testing, staging load generation, and multi-node endpoint validation catches security vulnerabilities, serialization edge cases, and tail-latency regressions before any customer transaction reaches the candidate model.
cloud_profiler plugin during training to inspect GPU traces in Vertex AI TensorBoard, and promote the model if offline AuPRC and batch execution time meet thresholds.cloud_profiler doTensorFlow Data Validation (TFDV) inspects dataset schemas, feature types, and statistical distributions during data ingestion. Vertex AI Batch Prediction scores large static datasets asynchronously, while the cloud_profiler plugin captures host CPU and GPU/TPU execution traces during model training for visualization in Vertex AI TensorBoard.
cloud_profiler profiles the training job (input pipeline bottlenecks and device step times), not online HTTP prediction p90 latency, request queueing, or concurrent serving throughput on a Vertex AI Endpoint.None payloads.cloud_profiler requires short step windows (typically 2–10 training steps) to diagnose training-loop hardware utilization.This approach would be appropriate if your primary goal were validating upstream training data quality, optimizing training-step GPU utilization, and evaluating predictive metrics for an asynchronous batch-scoring pipeline rather than a low-latency online fraud endpoint.
A canary release combined with Vertex AI Model Monitoring and Cloud Monitoring alerts gradually shifts a small percentage (such as 5%) of live production traffic to a newly deployed model version while continuously observing statistical feature drift, training-serving skew, and runtime endpoint telemetry.
None inputs) inside the pipeline prior to deployment.This strategy would be the right choice after the model has already passed automated adversarial, edge-case, and load validation in staging, and the team now wants to safely observe live production performance and detect long-term data drift during incremental rollout.
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