Google Professional Machine Learning Engineer Practice Test 20
Question 190
At Fairfield Logistics, an authorized Google Cloud machine learning engineering team handles this technical situation: a notebook prototype commits a service account key directly in a shared cell to access a Cloud Storage training bucket. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. What system constraint is responsible for the reported failure?
- A copied notebook containing static keys can expose privileges far beyond a single researcher
- Training-only stochastic layers such as dropout should not ordinarily alter production predictions
- Table-wide read access can expose records outside an individual group's allowed scope
- Direct identifiers can create privacy risk without adding task-relevant predictive value
Explanation
Correct Answer
A:
A copied notebook containing static keys can expose privileges far beyond a single researcher. This condition explains the specific colab enterprise shared credential exposure problem at Fairfield Logistics. The supported corrective action is: Use approved short-lived managed identity or authorized secret retrieval instead of embedding key material. The direct validation is: A shared notebook runs using scoped identity and contains no credential material in cells or logs.
Incorrect Answers
B:
Training-only stochastic layers such as dropout should not ordinarily alter production predictions. That explanation applies to a different technical failure. Here the controlling principle is: A copied notebook containing static keys can expose privileges far beyond a single researcher.
C:
The offered statement is true for this other mechanism: Table-wide read access can expose records outside an individual group's allowed scope. It does not explain the facts described here, which follow from: A copied notebook containing static keys can expose privileges far beyond a single researcher.
D:
This principle describes a separate cause: Direct identifiers can create privacy risk without adding task-relevant predictive value. The reported condition is governed by: A copied notebook containing static keys can expose privileges far beyond a single researcher. The two mechanisms should not be conflated.
Question 191
At Fairfield Logistics, an authorized Google Cloud machine learning engineering team handles this technical situation: a notebook prototype commits a service account key directly in a shared cell to access a Cloud Storage training bucket. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. What measurable evidence confirms correct operation in this case?
- A controlled compute operation runs on the expected TPU devices with compatible packages
- A reviewer can trace the feature back to its classified inputs and approve its permitted use
- A shared notebook runs using scoped identity and contains no credential material in cells or logs
- A past experiment record resolves to exact input snapshot and model artifact identifiers
Explanation
Correct Answer
C:
A shared notebook runs using scoped identity and contains no credential material in cells or logs. This directly tests whether the supported remedy—use approved short-lived managed identity or authorized secret retrieval instead of embedding key material—addressed the reported problem. The distinction matters because a copied notebook containing static keys can expose privileges far beyond a single researcher. A generic healthy platform indicator would not establish this particular condition was fixed.
Incorrect Answers
A:
The alternative verifies a different condition: Installing a numerical library does not by itself provision a hardware accelerator. The current case instead depends on: A copied notebook containing static keys can expose privileges far beyond a single researcher. Confirm that “A shared notebook runs using scoped identity and contains no credential material in cells or logs”.
B:
That test belongs to another control with this basis: A derived table may retain sensitivity inherited from its source even after column renaming. In the current case, the governing reason is: A copied notebook containing static keys can expose privileges far beyond a single researcher. The direct verification is “A shared notebook runs using scoped identity and contains no credential material in cells or logs”.
D:
The alternative verifies a different condition: Unversioned isolated scores are not reproducible experiment evidence. The current case instead depends on: A copied notebook containing static keys can expose privileges far beyond a single researcher. Confirm that “A shared notebook runs using scoped identity and contains no credential material in cells or logs”.
Question 192
At Fairfield Logistics, an authorized Google Cloud machine learning engineering team handles this technical situation: a notebook prototype commits a service account key directly in a shared cell to access a Cloud Storage training bucket. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. What ongoing review would best prevent recurrence?
- Check model resource requirements before choosing local versus managed inference
- Require source-linked factual evaluation in every retrieval pipeline release
- Block promotion of artifacts missing upstream lineage references
- Scan research notebooks for secrets before sharing or source control
Explanation
Correct Answer
D:
Scan research notebooks for secrets before sharing or source control. This safeguard targets colab enterprise shared credential exposure rather than an unrelated routine. It reduces recurrence because a copied notebook containing static keys can expose privileges far beyond a single researcher. The associated remedy is: Use approved short-lived managed identity or authorized secret retrieval instead of embedding key material.
Incorrect Answers
A:
That safeguard is relevant to: Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits. The current failure instead follows from: A copied notebook containing static keys can expose privileges far beyond a single researcher. Its prevention measure is “Scan research notebooks for secrets before sharing or source control”.
B:
This routine guards against another mechanism: Fluency can be high even when a generated answer is unsupported by its provided sources. The recurring exposure in the current case is: A copied notebook containing static keys can expose privileges far beyond a single researcher. The matching preventive check is “Scan research notebooks for secrets before sharing or source control”.
C:
The suggested review tracks a different technical risk: Untracked mutable locations obscure which model corresponds to a particular preprocessing run. Here the sustained control must address: A copied notebook containing static keys can expose privileges far beyond a single researcher. Choose “Scan research notebooks for secrets before sharing or source control”.
Question 193
At Fairfield Energy Research, an authorized Google Cloud machine learning engineering team handles this technical situation: a prototype returns inconsistent predictions for the same input because the PyTorch model is left in training mode with dropout active. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. What corrective configuration or design is appropriate here?
- Grant narrowly scoped dataset or view access to the notebook's actual execution identity
- Evaluate skew-join handling or appropriate broadcast and key salting after profiling row distribution
- Keep immutable or versioned source artifacts and record exact object generations in lineage
- Switch to model evaluation mode and disable gradient recording for normal inference as appropriate
Explanation
Correct Answer
D:
Switch to model evaluation mode and disable gradient recording for normal inference as appropriate. This is the relevant action for pytorch training and evaluation mode because training-only stochastic layers such as dropout should not ordinarily alter production predictions. The Fairfield Energy Research team should verify its fix using the following direct evidence: Repeated inference on the same tensor gives stable results within numerical tolerance. The other choices address different cloud ML conditions rather than this cause.
Incorrect Answers
A:
This alternative is a response to another technical cause: Notebook viewer rights and data warehouse access are independent authorization layers. The reported case instead depends on: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. The action that directly addresses it is “Switch to model evaluation mode and disable gradient recording for normal inference as appropriate”.
B:
The proposed action belongs to the mechanism: A highly uneven join key can concentrate shuffle work and delay one task. Here the stated fault follows a different mechanism: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. The corrective choice is “Switch to model evaluation mode and disable gradient recording for normal inference as appropriate”.
C:
The offered action targets: Replacing raw objects destroys the ability to reconstruct a prior training input snapshot. The case facts point instead to: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. Implement “Switch to model evaluation mode and disable gradient recording for normal inference as appropriate” to address that specific condition.
Question 194
At Fairfield Energy Research, an authorized Google Cloud machine learning engineering team handles this technical situation: a prototype returns inconsistent predictions for the same input because the PyTorch model is left in training mode with dropout active. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Why does this existing machine learning workflow behave incorrectly?
- Training-only stochastic layers such as dropout should not ordinarily alter production predictions
- Moving data to a local runtime can violate residency requirements despite secure cloud source storage
- Update arrival time may be later than the business event it represents
- Dataset read permission without column governance may expose sensitive raw attributes
Explanation
Correct Answer
A:
Training-only stochastic layers such as dropout should not ordinarily alter production predictions. This condition explains the specific pytorch training and evaluation mode problem at Fairfield Energy Research. The supported corrective action is: Switch to model evaluation mode and disable gradient recording for normal inference as appropriate. The direct validation is: Repeated inference on the same tensor gives stable results within numerical tolerance.
Incorrect Answers
B:
The offered statement is true for this other mechanism: Moving data to a local runtime can violate residency requirements despite secure cloud source storage. It does not explain the facts described here, which follow from: Training-only stochastic layers such as dropout should not ordinarily alter production predictions.
C:
This principle describes a separate cause: Update arrival time may be later than the business event it represents. The reported condition is governed by: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. The two mechanisms should not be conflated.
D:
Dataset read permission without column governance may expose sensitive raw attributes. That explanation applies to a different technical failure. Here the controlling principle is: Training-only stochastic layers such as dropout should not ordinarily alter production predictions.
Question 195
At Fairfield Energy Research, an authorized Google Cloud machine learning engineering team handles this technical situation: a prototype returns inconsistent predictions for the same input because the PyTorch model is left in training mode with dropout active. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which verification outcome would demonstrate the change succeeded?
- The idle instance stops according to policy and can be restarted with required persistent files intact
- The downstream table refresh starts only after its current upstream version passes validation
- A known null-age fixture is handled consistently and the model produces a valid output
- Repeated inference on the same tensor gives stable results within numerical tolerance
Explanation
Correct Answer
D:
Repeated inference on the same tensor gives stable results within numerical tolerance. This directly tests whether the supported remedy—switch to model evaluation mode and disable gradient recording for normal inference as appropriate—addressed the reported problem. The distinction matters because training-only stochastic layers such as dropout should not ordinarily alter production predictions. A generic healthy platform indicator would not establish this particular condition was fixed.
Incorrect Answers
A:
That test belongs to another control with this basis: Idle provisioned accelerators can continue billing when no notebook code executes. In the current case, the governing reason is: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. The direct verification is “Repeated inference on the same tensor gives stable results within numerical tolerance”.
B:
This observation would test a different technical dependency: Running two scheduled queries at the same clock time does not guarantee data readiness ordering. The current issue is governed by: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. Its decisive check is “Repeated inference on the same tensor gives stable results within numerical tolerance”.
C:
The alternative verifies a different condition: A schema can remain syntactically valid while nullability shifts violate the model's input contract. The current case instead depends on: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. Confirm that “Repeated inference on the same tensor gives stable results within numerical tolerance”.
Question 196
At Fairfield Energy Research, an authorized Google Cloud machine learning engineering team handles this technical situation: a prototype returns inconsistent predictions for the same input because the PyTorch model is left in training mode with dropout active. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which preventive operational practice is best suited to this failure?
- Scan research notebooks for secrets before sharing or source control
- Test training-to-serving mode transitions before exporting checkpoint artifacts
- Fix metric and split versions before comparing experiments across teams
- Track evaluator-model versions and rubric drift alongside application metrics
Explanation
Correct Answer
B:
Test training-to-serving mode transitions before exporting checkpoint artifacts. This safeguard targets pytorch training and evaluation mode rather than an unrelated routine. It reduces recurrence because training-only stochastic layers such as dropout should not ordinarily alter production predictions. The associated remedy is: Switch to model evaluation mode and disable gradient recording for normal inference as appropriate.
Incorrect Answers
A:
This routine guards against another mechanism: A copied notebook containing static keys can expose privileges far beyond a single researcher. The recurring exposure in the current case is: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. The matching preventive check is “Test training-to-serving mode transitions before exporting checkpoint artifacts”.
C:
That safeguard is relevant to: Metrics measured against different populations do not create an apples-to-apples ranking. The current failure instead follows from: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. Its prevention measure is “Test training-to-serving mode transitions before exporting checkpoint artifacts”.
D:
This routine guards against another mechanism: A generative evaluator can vary scores when success criteria and calibration are ambiguous. The recurring exposure in the current case is: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. The matching preventive check is “Test training-to-serving mode transitions before exporting checkpoint artifacts”.
Question 197
At Fairfield University IT, an authorized Google Cloud machine learning engineering team handles this technical situation: a Colab Enterprise prototype standardizes each test batch using its own mean and gets different results from the training-time transform. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which implementation decision directly fixes this observed failure?
- Pin and isolate approved package dependencies and runtime versions for reproducible notebook execution
- Use stable event identifiers and supported idempotent sink handling for repeated deliveries
- Move the large parallel preprocessing workload to a distributed system such as Dataflow or appropriate Spark processing
- Save and reuse the fitted training preprocessing pipeline during all evaluation and serving
Explanation
Correct Answer
D:
Save and reuse the fitted training preprocessing pipeline during all evaluation and serving. This is the relevant action for sklearn preprocessing fitted on test data because refitting transformations on holdout data changes feature meaning and can leak evaluation information. The Fairfield University IT team should verify its fix using the following direct evidence: The same fixture yields equivalent transformed feature arrays in training and inference paths. The other choices address different cloud ML conditions rather than this cause.
Incorrect Answers
A:
The proposed action belongs to the mechanism: Notebook source alone does not capture environment-specific library versions. Here the stated fault follows a different mechanism: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. The corrective choice is “Save and reuse the fitted training preprocessing pipeline during all evaluation and serving”.
B:
The offered action targets: At-least-once processing paths can repeat a message's side effects unless deduplicated. The case facts point instead to: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. Implement “Save and reuse the fitted training preprocessing pipeline during all evaluation and serving” to address that specific condition.
C:
This alternative is a response to another technical cause: A single notebook kernel is constrained by its local memory even when Cloud Storage has ample capacity. The reported case instead depends on: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. The action that directly addresses it is “Save and reuse the fitted training preprocessing pipeline during all evaluation and serving”.
Question 198
At Fairfield University IT, an authorized Google Cloud machine learning engineering team handles this technical situation: a Colab Enterprise prototype standardizes each test batch using its own mean and gets different results from the training-time transform. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. What underlying mechanism best explains these symptoms?
- Training-only stochastic layers such as dropout should not ordinarily alter production predictions
- Matching column names do not imply compatible measurement units or semantics
- Historical analytical storage and online key-value feature retrieval have different latency characteristics
- Refitting transformations on holdout data changes feature meaning and can leak evaluation information
Explanation
Correct Answer
D:
Refitting transformations on holdout data changes feature meaning and can leak evaluation information. This condition explains the specific sklearn preprocessing fitted on test data problem at Fairfield University IT. The supported corrective action is: Save and reuse the fitted training preprocessing pipeline during all evaluation and serving. The direct validation is: The same fixture yields equivalent transformed feature arrays in training and inference paths.
Incorrect Answers
A:
The offered statement is true for this other mechanism: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. It does not explain the facts described here, which follow from: Refitting transformations on holdout data changes feature meaning and can leak evaluation information.
B:
This principle describes a separate cause: Matching column names do not imply compatible measurement units or semantics. The reported condition is governed by: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. The two mechanisms should not be conflated.
C:
Historical analytical storage and online key-value feature retrieval have different latency characteristics. That explanation applies to a different technical failure. Here the controlling principle is: Refitting transformations on holdout data changes feature meaning and can leak evaluation information.
Question 199
At Fairfield University IT, an authorized Google Cloud machine learning engineering team handles this technical situation: a Colab Enterprise prototype standardizes each test batch using its own mean and gets different results from the training-time transform. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. What acceptance evidence directly validates the proposed fix?
- An authorized collaborator reads only the expected dataset and access to protected tables is denied
- Separate test identities see only their permitted region's rows
- The same fixture yields equivalent transformed feature arrays in training and inference paths
- A controlled export preserves expected numeric features while removing recoverable phone numbers
Explanation
Correct Answer
C:
The same fixture yields equivalent transformed feature arrays in training and inference paths. This directly tests whether the supported remedy—save and reuse the fitted training preprocessing pipeline during all evaluation and serving—addressed the reported problem. The distinction matters because refitting transformations on holdout data changes feature meaning and can leak evaluation information. A generic healthy platform indicator would not establish this particular condition was fixed.
Incorrect Answers
A:
This observation would test a different technical dependency: Notebook viewer rights and data warehouse access are independent authorization layers. The current issue is governed by: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. Its decisive check is “The same fixture yields equivalent transformed feature arrays in training and inference paths”.
B:
The alternative verifies a different condition: Table-wide read access can expose records outside an individual group's allowed scope. The current case instead depends on: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. Confirm that “The same fixture yields equivalent transformed feature arrays in training and inference paths”.
D:
This observation would test a different technical dependency: Direct identifiers can create privacy risk without adding task-relevant predictive value. The current issue is governed by: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. Its decisive check is “The same fixture yields equivalent transformed feature arrays in training and inference paths”.
Question 200
At Fairfield University IT, an authorized Google Cloud machine learning engineering team handles this technical situation: a Colab Enterprise prototype standardizes each test batch using its own mean and gets different results from the training-time transform. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. What control should be included in subsequent model releases?
- Review notebook runtime locations and data egress policies before sharing notebooks
- Require lineage and sensitive-data classification before new features enter training
- Require lineage metadata for each experiment promoted to evaluation
- Bundle preprocessing versions and fitted parameters with each registered model
Explanation
Correct Answer
D:
Bundle preprocessing versions and fitted parameters with each registered model. This safeguard targets sklearn preprocessing fitted on test data rather than an unrelated routine. It reduces recurrence because refitting transformations on holdout data changes feature meaning and can leak evaluation information. The associated remedy is: Save and reuse the fitted training preprocessing pipeline during all evaluation and serving.
Incorrect Answers
A:
The suggested review tracks a different technical risk: Moving data to a local runtime can violate residency requirements despite secure cloud source storage. Here the sustained control must address: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. Choose “Bundle preprocessing versions and fitted parameters with each registered model”.
B:
That safeguard is relevant to: A derived table may retain sensitivity inherited from its source even after column renaming. The current failure instead follows from: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. Its prevention measure is “Bundle preprocessing versions and fitted parameters with each registered model”.
C:
This routine guards against another mechanism: Unversioned isolated scores are not reproducible experiment evidence. The recurring exposure in the current case is: Refitting transformations on holdout data changes feature meaning and can leak evaluation information. The matching preventive check is “Bundle preprocessing versions and fitted parameters with each registered model”.