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.
A financial enterprise is deploying a high-density generative AI and agentic platform on Google Cloud. The architecture must satisfy the following requirements:
vLLM containers, preventing Out-of-Memory (OOM) failures from transient working memory spikes and enabling dynamic model updates without restarting containers.Which deployment and governance configuration should the team implement?
gpu-memory-partition ratios summing to less than 1.0 and use the update_models endpoint referencing a Cloud Storage YAML config; govern agent and MCP traffic with Agent Gateway and Agent Identity, and enforce Sensitive Data Protection screening in the application or backend for streamed OpenAI responses.This configuration combines deterministic GPU resource slicing and dynamic model hot-reloading inside Model Garden vLLM co-hosting containers with enterprise agent governance and application-layer streaming redaction on Cloud Run.
gpu-memory-partition argument reserves fixed percentages of GPU memory for pre-allocated memory (model weights and KV cache). Leaving the sum below 1.0 preserves dedicated headroom for transient memory (intermediate computations and working memory) and system overhead.model_config_path to the update_models endpoint reads a Cloud Storage YAML configuration, gracefully unloads removed models to reclaim VRAM, and reuses unchanged Tensor Parallelism (TP) and Pipeline Parallelism (PP) instances without restarting the container.Unlike rolling redeployments, cross-region load balancers, or network-only callouts, this design addresses the exact runtime memory semantics of vLLM co-hosting and the protocol-specific inspection boundaries of streaming generative AI APIs.
vLLM models on GKE using GKE Inference Gateway with sharedMemorySizeMb left at its 64MB default and trigger Cloud Deploy rollouts on config changes; run the ADK agent inside a standard un-isolated GKE Pod and use Apigee PromptTokenLimit policies to redact sensitive data in streamed responses.This option moves both LLM serving and the ADK agent onto Google Kubernetes Engine (GKE), keeps default container IPC shared memory settings, manages updates through Cloud Deploy container rollouts, and applies Apigee token-limit policies for output protection.
vLLM and Ray serving runtimes require substantial inter-process communication (IPC) shared memory. Leaving sharedMemorySizeMb at the 64MB default causes runtime failures or severe bottlenecks during tensor-parallel execution.update_models hot-reloading.PromptTokenLimit and LLMTokenQuota policies enforce token consumption budgets for cost control—they do not perform Sensitive Data Protection pattern detection or redaction on streamed responses.vLLM containers typically require explicit increases to sharedMemorySizeMb beyond 64MB.vLLM models behind a cross-region internal Application Load Balancer with Model Armor extensions on a shared public endpoint using the standard predict method; deploy the ADK agent to Cloud Run using GPU utilization autoscaling and end-user IAM passthrough for MCP tools.This design routes traffic through a cross-region internal Application Load Balancer, serves Model Garden vLLM models via a shared public endpoint's predict interface, attempts to autoscale Cloud Run GPU instances by GPU utilization, and relies on end-user OAuth token passthrough for tool authentication.
vLLM chat completion containers require a dedicated endpoint (dedicatedEndpointEnabled: true) supporting :rawPredict or /chat/completions, rather than a shared public endpoint using the standard predict schema.Authorization: Bearer) and requires provisioning every user with IAM roles like roles/aiplatform.user, rather than issuing cryptographic SPIFFE identities for autonomous agent-to-MCP interactions.max-concurrent-requests is required to optimize Cloud Run GPU instance scaling.gpu-memory-partition ratios to sum to 1.0 for maximum VRAM utilization and trigger rolling deployments via deployModel for updates; rely on Model Armor load balancer callouts to screen streamed OpenAI responses and use a shared Cloud Run service account for MCP tool authentication.This approach attempts to maximize GPU density by allocating 100% of device memory to static model partitions, relies on standard rolling deployments for model updates, delegates streamed output inspection entirely to network-layer load balancer callouts, and authenticates agent interactions using a single workload service account.
gpu-memory-partition values to sum to 1.0 accounts only for pre-allocated memory (model weights and KV cache), leaving zero headroom for transient memory needed for intermediate activations and inference working memory.deployModel replaces the underlying serving deployment rather than dynamically swapping models inside the running vLLM process.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