Google Professional Machine Learning Engineer Practice Test 40
Question 390
During a production ML inference release on Google Cloud, the following condition occurs: A team deploys a model using a mutable storage path named production-latest and cannot reconstruct which evaluation approved its weights. The service must meet its agreed quality and latency requirements. Which technical explanation best accounts for the reported behavior?
- A cloud-only inference architecture cannot satisfy hard offline and low-latency edge requirements.
- Mutable nicknames do not establish immutable model provenance for controlled production releases.
- Bundling compatible requests can amortize GPU launch overhead, but excessive batch waiting raises response times.
- Container readiness checks alone do not guarantee successful predictions under real traffic and data distributions.
Explanation
Correct Answer
B:Mutable nicknames do not establish immutable model provenance for controlled production releases. This explains the mechanism behind model registry version provenance and why the described failure is possible. A discriminating investigation is: Review immutable artifact IDs, Model Registry versions, evaluation reports, approvals and deployed revision metadata. The corresponding repair is: Promote an explicitly approved model version from Agent Platform Model Registry and record deployment lineage. This matters here because a team deploys a model using a mutable storage path named production-latest and cannot reconstruct which evaluation….
Incorrect Answers
A:A cloud-only inference architecture cannot satisfy hard offline and low-latency edge requirements. This principle describes edge versus cloud inference network constraints, which is not the cause of the observed model registry version provenance failure. The controlling explanation is: Mutable nicknames do not establish immutable model provenance for controlled production releases.
C:Bundling compatible requests can amortize GPU launch overhead, but excessive batch waiting raises response times. This principle describes dynamic batch serving for gpu saturation, which is not the cause of the observed model registry version provenance failure. The controlling explanation is: Mutable nicknames do not establish immutable model provenance for controlled production releases.
D:Container readiness checks alone do not guarantee successful predictions under real traffic and data distributions. This principle describes model traffic rollback on high error rate, which is not the cause of the observed model registry version provenance failure. The controlling explanation is: Mutable nicknames do not establish immutable model provenance for controlled production releases.
Question 391
During an independent acceptance rehearsal of a customer-facing AI capability, the following condition occurs: An accounts-payable team needs supplier names, invoice totals and line items but uses image classification to decide whether an invoice is present. The owners require measurable quality and controlled operating cost. Which evidence most directly establishes what is wrong with this AI or ML workflow?
- Check whether real class labels exist and examine the standardized input distributions and cluster stability under different seeds.
- Inspect representative invoices, desired structured fields, supported processor output and field-level extraction errors.
- Inspect source languages, target locale requirements, formatting preservation and translation quality on a multilingual sample.
- Inspect requested labels or bounding boxes, sample image quality, supported Vision API capabilities and required detection thresholds.
Explanation
Correct Answer
B:Inspect representative invoices, desired structured fields, supported processor output and field-level extraction errors. This inspects evidence relevant to document ai structured invoice extraction. Object or image classification only identifies image categories; document understanding targets structured text fields. After identifying the cause, the matching correction is: Use an appropriate Document AI processor for form or invoice extraction and validate required fields before downstream posting. This matters here because during an independent acceptance rehearsal of a customer-facing AI capability, the following condition occurs: An….
Incorrect Answers
A:Check whether real class labels exist and examine the standardized input distributions and cluster stability under different seeds. This examines bigquery ml kmeans customer segmentation rather than the specific mechanism reported here. It is not the decisive first check for document ai structured invoice extraction. The relevant evidence is: Inspect representative invoices, desired structured fields, supported processor output and field-level extraction errors.
C:Inspect source languages, target locale requirements, formatting preservation and translation quality on a multilingual sample. This examines translate api for multilingual product descriptions rather than the specific mechanism reported here. It is not the decisive first check for document ai structured invoice extraction. The relevant evidence is: Inspect representative invoices, desired structured fields, supported processor output and field-level extraction errors.
D:Inspect requested labels or bounding boxes, sample image quality, supported Vision API capabilities and required detection thresholds. This examines vision api pretrained image labels versus custom detection rather than the specific mechanism reported here. It is not the decisive first check for document ai structured invoice extraction. The relevant evidence is: Inspect representative invoices, desired structured fields, supported processor output and field-level extraction errors. This matters here because during an independent acceptance rehearsal of a customer-facing AI capability, the following condition occurs: An….
Question 392
While preparing a production training workflow on Gemini Enterprise Agent Platform, the following condition occurs: An existing TensorFlow training pipeline has large dense matrix operations and engineers select a TPU solely from marketing without checking model operation support. Engineers need an auditable, resource-aware correction to the issue. What acceptance result verifies the intended behavior after remediation?
- Training loss remains finite under representative batches while memory and throughput benefits are measured.
- The model fits and trains across devices with controlled synchronization overhead and reproducible checkpoints.
- The chosen accelerator meets throughput and convergence expectations without unsupported operations or unstable retracing.
- The job schedules successfully with the approved hardware and remains inside budget and residency constraints.
Explanation
Correct Answer
C:The chosen accelerator meets throughput and convergence expectations without unsupported operations or unstable retracing. This is specific acceptance evidence for tpu versus gpu for tensorflow workload. TPU and GPU performance depends on operations, data pipeline and framework integration, not headline compute alone. It confirms the controlled correction: Benchmark compatible TPU and GPU configurations and select hardware based on measured throughput and target budget. This matters here because while preparing a production training workflow on Gemini Enterprise Agent Platform, the following condition occurs:….
Incorrect Answers
A:Training loss remains finite under representative batches while memory and throughput benefits are measured. This result could demonstrate success for mixed precision overflow diagnosis but not for the stated tpu versus gpu for tensorflow workload issue. The direct test is: The chosen accelerator meets throughput and convergence expectations without unsupported operations or unstable retracing.
B:The model fits and trains across devices with controlled synchronization overhead and reproducible checkpoints. This result could demonstrate success for model parallelism for memory-bound transformer but not for the stated tpu versus gpu for tensorflow workload issue. The direct test is: The chosen accelerator meets throughput and convergence expectations without unsupported operations or unstable retracing.
D:The job schedules successfully with the approved hardware and remains inside budget and residency constraints. This result could demonstrate success for accelerator quota and regional availability but not for the stated tpu versus gpu for tensorflow workload issue. The direct test is: The chosen accelerator meets throughput and convergence expectations without unsupported operations or unstable retracing.
Question 393
While preparing a production training workflow on Gemini Enterprise Agent Platform, the following condition occurs: A regulated loan approval team chooses a large neural network despite needing explanations for which borrower attributes affected decisions. Engineers need an auditable, resource-aware correction to the issue. Which TWO choices together provide the decisive diagnostic evidence and the most direct acceptance test? Select TWO.
- Trials stay within the approved compute budget and a winner improves the specified independent metric.
- Examine model governance constraints, feature sensitivity, explanation fidelity and performance of simpler interpretable baselines.
- New warranty rules appear correctly after the index update without unnecessary retraining and sources remain traceable.
- Auditors can reproduce feature influence evidence while holdout quality remains within the approved threshold.
- Inspect output schema, decoding configuration, structured-output support and malformed samples under representative prompts.
Explanation
Correct Answers
B:Examine model governance constraints, feature sensitivity, explanation fidelity and performance of simpler interpretable baselines. This inspects evidence relevant to interpretability-constrained model baseline. Interpretability is an engineering requirement that must be considered with predictive power, not appended as a label. After identifying the cause, the matching correction is: Compare an interpretable model or validated feature attribution approach with the black box and document decision tradeoffs.
D:Auditors can reproduce feature influence evidence while holdout quality remains within the approved threshold. This is specific acceptance evidence for interpretability-constrained model baseline. Interpretability is an engineering requirement that must be considered with predictive power, not appended as a label. It confirms the controlled correction: Compare an interpretable model or validated feature attribution approach with the black box and document decision tradeoffs.
Incorrect Answers
A:Trials stay within the approved compute budget and a winner improves the specified independent metric. This relates to hyperparameter search budget limit but does not establish the requested before-and-after evidence. The actual diagnostic is: Examine model governance constraints, feature sensitivity, explanation fidelity and performance of simpler interpretable baselines. The specific acceptance result is: Auditors can reproduce feature influence evidence while holdout quality remains within the approved threshold.
C:New warranty rules appear correctly after the index update without unnecessary retraining and sources remain traceable. This relates to foundation model prompt versus fine-tuning but does not establish the requested before-and-after evidence. The actual diagnostic is: Examine model governance constraints, feature sensitivity, explanation fidelity and performance of simpler interpretable baselines. The specific acceptance result is: Auditors can reproduce feature influence evidence while holdout quality remains within the approved threshold.
E:Inspect output schema, decoding configuration, structured-output support and malformed samples under representative prompts. This relates to constrained generative json outputs but does not establish the requested before-and-after evidence. The actual diagnostic is: Examine model governance constraints, feature sensitivity, explanation fidelity and performance of simpler interpretable baselines. The specific acceptance result is: Auditors can reproduce feature influence evidence while holdout quality remains within the approved threshold.
Question 394
During a controlled replay of the data and model handoff to a second engineering team, the following condition occurs: An auditor cannot identify which training dataset and code commit produced a deployed model because the model archive has only a human-readable name. The handoff must preserve privacy, lineage and testable behavior. What should the engineer inspect before selecting a correction?
- Inspect judge rubric prompts, evaluation dataset balance, repeated ratings, human benchmark and uncertainty in pairwise preferences.
- Inspect Agent Platform ML Metadata artifacts, pipeline executions, dataset fingerprints and deployment revisions.
- Inspect pipeline execution IDs, experiment tracking records, artifact URIs and the link between metrics and saved models.
- Inspect join-key frequency distributions, per-task runtime, shuffle spill and the output cardinality before optimization.
Explanation
Correct Answer
B:Inspect Agent Platform ML Metadata artifacts, pipeline executions, dataset fingerprints and deployment revisions. This inspects evidence relevant to ml metadata lineage for production model. MLOps provenance requires a recorded chain from code and data to model and deployment, not merely a friendly name. After identifying the cause, the matching correction is: Record input dataset versions, training runs, code revisions and output artifact links in the managed metadata and registry workflow.
Incorrect Answers
A:Inspect judge rubric prompts, evaluation dataset balance, repeated ratings, human benchmark and uncertainty in pairwise preferences. This examines llm-as-a-judge rubric reliability rather than the specific mechanism reported here. It is not the decisive first check for ml metadata lineage for production model. The relevant evidence is: Inspect Agent Platform ML Metadata artifacts, pipeline executions, dataset fingerprints and deployment revisions.
C:Inspect pipeline execution IDs, experiment tracking records, artifact URIs and the link between metrics and saved models. This examines pipeline experiment versus notebook-only tracking rather than the specific mechanism reported here. It is not the decisive first check for ml metadata lineage for production model. The relevant evidence is: Inspect Agent Platform ML Metadata artifacts, pipeline executions, dataset fingerprints and deployment revisions.
D:Inspect join-key frequency distributions, per-task runtime, shuffle spill and the output cardinality before optimization. This examines managed spark join-key skew repair rather than the specific mechanism reported here. It is not the decisive first check for ml metadata lineage for production model. The relevant evidence is: Inspect Agent Platform ML Metadata artifacts, pipeline executions, dataset fingerprints and deployment revisions.
Question 395
During a staged restoration test at a secondary serving deployment, the following condition occurs: A CPU model exceeds its edge latency budget and engineers plan to delete layers without measuring whether quantization affects accuracy. The team must prove an actual user-visible improvement without weakening access controls. Which targeted engineering change most directly addresses the failure?
- Configure an appropriate request-concurrency or workload-driven scaling policy with resource and cooldown limits.
- Preserve stable canonical identifier types end-to-end and backfill only the affected feature records.
- Implement the required serving contract and make the container report readiness only after loading model assets.
- Test a supported post-training quantization or optimization path and release only if target quality remains acceptable.
Explanation
Correct Answer
D:Test a supported post-training quantization or optimization path and release only if target quality remains acceptable. This is the targeted corrective response for inference optimization using quantization. Lower precision can improve serving efficiency but may harm numerical accuracy, so it must be validated. Verify the diagnosis using: Compare baseline model size, supported precision, target hardware instructions and accuracy on representative samples. Confirm success using: Latency and memory decline on target hardware while validation degradation stays within the approved threshold.
Incorrect Answers
A:Configure an appropriate request-concurrency or workload-driven scaling policy with resource and cooldown limits. This action addresses throughput-based autoscaling versus cpu metric, not the failure in the described inference optimization using quantization case. The targeted correction is: Test a supported post-training quantization or optimization path and release only if target quality remains acceptable.
B:Preserve stable canonical identifier types end-to-end and backfill only the affected feature records. This action addresses feature online entity key mismatch, not the failure in the described inference optimization using quantization case. The targeted correction is: Test a supported post-training quantization or optimization path and release only if target quality remains acceptable.
C:Implement the required serving contract and make the container report readiness only after loading model assets. This action addresses inference container health interface mismatch, not the failure in the described inference optimization using quantization case. The targeted correction is: Test a supported post-training quantization or optimization path and release only if target quality remains acceptable.
Question 396
At a Google Cloud analytics team preparing a governed pilot, the following condition occurs: A small operations team with labeled tabular defect records and no custom training-code requirement begins maintaining a complex self-hosted neural framework. The team must satisfy a reproducible low-code AI assessment. Which configuration or procedure is the most appropriate correction?
- Use Cloud Translation API for supported text translation, then separately validate downstream classification against localized content.
- Exclude post-outcome fields, create point-in-time valid training and evaluation partitions, and rerun ML.EVALUATE.
- Evaluate Agent Platform AutoML tabular training against a simple baseline and select it if quality and operating cost justify the managed path.
- Train an appropriately scaled BigQuery ML KMEANS model and assess cluster cohesion, size and business interpretability.
Explanation
Correct Answer
C:Evaluate Agent Platform AutoML tabular training against a simple baseline and select it if quality and operating cost justify the managed path. This is the targeted corrective response for automl tabular supervised model selection. Managed AutoML can train supported supervised tabular tasks without requiring custom neural-network code. Verify the diagnosis using: Inspect label availability, feature types, tuning needs, governance requirements, and supported AutoML model interfaces. Confirm success using: A trained candidate reaches the agreed quality threshold without maintaining unsupported bespoke training infrastructure.
Incorrect Answers
A:Use Cloud Translation API for supported text translation, then separately validate downstream classification against localized content. This action addresses translate api for multilingual product descriptions, not the failure in the described automl tabular supervised model selection case. The targeted correction is: Evaluate Agent Platform AutoML tabular training against a simple baseline and select it if quality and operating cost justify the managed path.
B:Exclude post-outcome fields, create point-in-time valid training and evaluation partitions, and rerun ML.EVALUATE. This action addresses bigquery ml ml.evaluate leakage detection, not the failure in the described automl tabular supervised model selection case. The targeted correction is: Evaluate Agent Platform AutoML tabular training against a simple baseline and select it if quality and operating cost justify the managed path.
D:Train an appropriately scaled BigQuery ML KMEANS model and assess cluster cohesion, size and business interpretability. This action addresses bigquery ml kmeans customer segmentation, not the failure in the described automl tabular supervised model selection case. The targeted correction is: Evaluate Agent Platform AutoML tabular training against a simple baseline and select it if quality and operating cost justify the managed path.
Question 397
During model-training validation on a Google Cloud experimental project, the following condition occurs: A product search team trains a binary spam classifier to find the most semantically relevant help article for a free-text question. The change should preserve a meaningful independent model-quality comparison. What acceptance result verifies the intended behavior after remediation?
- Relevant articles rank highly for unseen paraphrased queries and retrieval hit rate is measured against judgments.
- The selected candidate meets fraud recall, inference latency and cost limits on a representative untouched split.
- New warranty rules appear correctly after the index update without unnecessary retraining and sources remain traceable.
- The model fits and trains across devices with controlled synchronization overhead and reproducible checkpoints.
Explanation
Correct Answer
A:Relevant articles rank highly for unseen paraphrased queries and retrieval hit rate is measured against judgments. This is specific acceptance evidence for embedding retrieval versus text classifier. A binary classifier assigns predefined labels; semantic search needs query-to-document relevance ranking. It confirms the controlled correction: Use suitable text embeddings with vector similarity search and reranking rather than a binary spam decision. This matters here because during model-training validation on a Google Cloud experimental project, the following condition occurs: A product….
Incorrect Answers
B:The selected candidate meets fraud recall, inference latency and cost limits on a representative untouched split. This result could demonstrate success for deep model versus gradient boosted trees on tabular but not for the stated embedding retrieval versus text classifier issue. The direct test is: Relevant articles rank highly for unseen paraphrased queries and retrieval hit rate is measured against judgments.
C:New warranty rules appear correctly after the index update without unnecessary retraining and sources remain traceable. This result could demonstrate success for foundation model prompt versus fine-tuning but not for the stated embedding retrieval versus text classifier issue. The direct test is: Relevant articles rank highly for unseen paraphrased queries and retrieval hit rate is measured against judgments.
D:The model fits and trains across devices with controlled synchronization overhead and reproducible checkpoints. This result could demonstrate success for model parallelism for memory-bound transformer but not for the stated embedding retrieval versus text classifier issue. The direct test is: Relevant articles rank highly for unseen paraphrased queries and retrieval hit rate is measured against judgments.
Question 398
While preparing a production training workflow on Gemini Enterprise Agent Platform, the following condition occurs: An operations team uses a general-purpose chat model to forecast thousands of numeric hourly warehouse counts but ignores established daily and weekly seasonality. Engineers need an auditable, resource-aware correction to the issue. What acceptance result verifies the intended behavior after remediation?
- A batch of representative requests yields valid schema-conforming objects and rejects invalid types explicitly.
- The chosen threshold detects clinically relevant positives while the false-alarm rate is documented for deployment review.
- Trials stay within the approved compute budget and a winner improves the specified independent metric.
- Rolling-origin backtests improve horizon error and seasonal intervals without inventing unsupported demand figures.
Explanation
Correct Answer
D:Rolling-origin backtests improve horizon error and seasonal intervals without inventing unsupported demand figures. This is specific acceptance evidence for forecast trend and seasonality versus llm. Structured numeric forecasting relies on temporal evidence; a conversational model is not automatically the best forecaster. It confirms the controlled correction: Evaluate ARIMA_PLUS or an appropriate time-series forecasting model before adopting an expensive generative approach. This matters here because while preparing a production training workflow on Gemini Enterprise Agent Platform, the following condition occurs:….
Incorrect Answers
A:A batch of representative requests yields valid schema-conforming objects and rejects invalid types explicitly. This result could demonstrate success for constrained generative json outputs but not for the stated forecast trend and seasonality versus llm issue. The direct test is: Rolling-origin backtests improve horizon error and seasonal intervals without inventing unsupported demand figures.
B:The chosen threshold detects clinically relevant positives while the false-alarm rate is documented for deployment review. This result could demonstrate success for cost-sensitive threshold for rare positives but not for the stated forecast trend and seasonality versus llm issue. The direct test is: Rolling-origin backtests improve horizon error and seasonal intervals without inventing unsupported demand figures.
C:Trials stay within the approved compute budget and a winner improves the specified independent metric. This result could demonstrate success for hyperparameter search budget limit but not for the stated forecast trend and seasonality versus llm issue. The direct test is: Rolling-origin backtests improve horizon error and seasonal intervals without inventing unsupported demand figures.
Question 399
During model-training validation on a Google Cloud experimental project, the following condition occurs: A team wants to tune an image-generation foundation model using scraped brand imagery without verifying usage rights or consent. The change should preserve a meaningful independent model-quality comparison. Which outcome most directly demonstrates a successful, measurable fix?
- New warranty rules appear correctly after the index update without unnecessary retraining and sources remain traceable.
- No duplicated or synthetic neighbor crosses the evaluation boundary and rare-class recall reflects unseen defects.
- The training manifest contains traceable permitted sources and safety tests detect known prohibited outputs.
- Domain accuracy improves while broad language capability remains within the agreed retention threshold.
Explanation
Correct Answer
C:The training manifest contains traceable permitted sources and safety tests detect known prohibited outputs. This is specific acceptance evidence for fine-tuning image generator data rights. Fine-tuning technical feasibility does not confer rights to reuse restricted training images or ignore model safety. It confirms the controlled correction: Use licensed and permitted training images with appropriate governance reviews before any supported tuning job.
Incorrect Answers
A:New warranty rules appear correctly after the index update without unnecessary retraining and sources remain traceable. This result could demonstrate success for foundation model prompt versus fine-tuning but not for the stated fine-tuning image generator data rights issue. The direct test is: The training manifest contains traceable permitted sources and safety tests detect known prohibited outputs.
B:No duplicated or synthetic neighbor crosses the evaluation boundary and rare-class recall reflects unseen defects. This result could demonstrate success for training class imbalance fold leakage but not for the stated fine-tuning image generator data rights issue. The direct test is: The training manifest contains traceable permitted sources and safety tests detect known prohibited outputs.
D:Domain accuracy improves while broad language capability remains within the agreed retention threshold. This result could demonstrate success for fine-tuning catastrophic forgetting but not for the stated fine-tuning image generator data rights issue. The direct test is: The training manifest contains traceable permitted sources and safety tests detect known prohibited outputs.
Question 400
During model-training validation on a Google Cloud experimental project, the following condition occurs: A neural network's training loss continues falling for fifty epochs while validation loss starts rising after epoch ten. The change should preserve a meaningful independent model-quality comparison. Which result is the strongest postchange evidence of success?
- Auditors can reproduce feature influence evidence while holdout quality remains within the approved threshold.
- Training loss remains finite under representative batches while memory and throughput benefits are measured.
- The deployed artifact corresponds to the best held-out epoch rather than the final overfit epoch.
- A controlled interruption resumes near the saved step without restarting training from zero.
Explanation
Correct Answer
C:The deployed artifact corresponds to the best held-out epoch rather than the final overfit epoch. This is specific acceptance evidence for early stopping on validation divergence. More training steps can increase overfitting even when training-set loss keeps improving. It confirms the controlled correction: Configure early stopping with a justified patience window and restore the best validated checkpoint.
Incorrect Answers
A:Auditors can reproduce feature influence evidence while holdout quality remains within the approved threshold. This result could demonstrate success for interpretability-constrained model baseline but not for the stated early stopping on validation divergence issue. The direct test is: The deployed artifact corresponds to the best held-out epoch rather than the final overfit epoch.
B:Training loss remains finite under representative batches while memory and throughput benefits are measured. This result could demonstrate success for mixed precision overflow diagnosis but not for the stated early stopping on validation divergence issue. The direct test is: The deployed artifact corresponds to the best held-out epoch rather than the final overfit epoch.
D:A controlled interruption resumes near the saved step without restarting training from zero. This result could demonstrate success for training checkpoint persistence across interruptions but not for the stated early stopping on validation divergence issue. The direct test is: The deployed artifact corresponds to the best held-out epoch rather than the final overfit epoch.