Google Professional Machine Learning Engineer Practice Test 21
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”.
Question 201
At Fairfield Manufacturing, an authorized Google Cloud machine learning engineering team handles this technical situation: a JAX research notebook expects TPU acceleration but initializes CPU workers because the specified runtime does not expose TPU devices. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which supported Google Cloud ML engineering action best resolves the situation?
- Select a compatible hosted Model Garden inference endpoint or sufficient model-capable compute for prototype evaluation
- Configure a supported JAX environment and accelerator runtime and inspect discovered devices
- Partition appropriately by event date and consider clustering on selective frequent keys
- Use event-time windows, watermarks, and an approved late-data policy in Dataflow
Explanation
Correct Answer
B:
Configure a supported JAX environment and accelerator runtime and inspect discovered devices. This is the relevant action for jax accelerator initialization mismatch because installing a numerical library does not by itself provision a hardware accelerator. The Fairfield Manufacturing team should verify its fix using the following direct evidence: A controlled compute operation runs on the expected TPU devices with compatible packages. The other choices address different cloud ML conditions rather than this cause.
Incorrect Answers
A:
The offered action targets: Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits. The case facts point instead to: Installing a numerical library does not by itself provision a hardware accelerator. Implement “Configure a supported JAX environment and accelerator runtime and inspect discovered devices” to address that specific condition.
C:
The proposed action belongs to the mechanism: Physical partition pruning depends on compatible partition metadata and predicates. Here the stated fault follows a different mechanism: Installing a numerical library does not by itself provision a hardware accelerator. The corrective choice is “Configure a supported JAX environment and accelerator runtime and inspect discovered devices”.
D:
The offered action targets: Processing arrival order can differ from the event's actual timestamp. The case facts point instead to: Installing a numerical library does not by itself provision a hardware accelerator. Implement “Configure a supported JAX environment and accelerator runtime and inspect discovered devices” to address that specific condition.
Question 202
At Fairfield Manufacturing, an authorized Google Cloud machine learning engineering team handles this technical situation: a JAX research notebook expects TPU acceleration but initializes CPU workers because the specified runtime does not expose TPU devices. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which root cause accounts for the observed behavior?
- One shared broad identity hides ownership and grants all notebook users unnecessary privileges
- A highly uneven join key can concentrate shuffle work and delay one task
- Replacing raw objects destroys the ability to reconstruct a prior training input snapshot
- Installing a numerical library does not by itself provision a hardware accelerator
Explanation
Correct Answer
D:
Installing a numerical library does not by itself provision a hardware accelerator. This condition explains the specific jax accelerator initialization mismatch problem at Fairfield Manufacturing. The supported corrective action is: Configure a supported JAX environment and accelerator runtime and inspect discovered devices. The direct validation is: A controlled compute operation runs on the expected TPU devices with compatible packages.
Incorrect Answers
A:
This principle describes a separate cause: One shared broad identity hides ownership and grants all notebook users unnecessary privileges. The reported condition is governed by: Installing a numerical library does not by itself provision a hardware accelerator. The two mechanisms should not be conflated.
B:
A highly uneven join key can concentrate shuffle work and delay one task. That explanation applies to a different technical failure. Here the controlling principle is: Installing a numerical library does not by itself provision a hardware accelerator.
C:
The offered statement is true for this other mechanism: Replacing raw objects destroys the ability to reconstruct a prior training input snapshot. It does not explain the facts described here, which follow from: Installing a numerical library does not by itself provision a hardware accelerator.
Question 203
At Fairfield Manufacturing, an authorized Google Cloud machine learning engineering team handles this technical situation: a JAX research notebook expects TPU acceleration but initializes CPU workers because the specified runtime does not expose TPU devices. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which test result would prove this problem is resolved?
- Two fresh controlled notebook runs import the intended packages and produce comparable outputs
- A delayed older fixture does not replace a newer validated feature record
- The approved research role sees permitted aggregates but cannot query protected direct identifiers
- A controlled compute operation runs on the expected TPU devices with compatible packages
Explanation
Correct Answer
D:
A controlled compute operation runs on the expected TPU devices with compatible packages. This directly tests whether the supported remedy—configure a supported JAX environment and accelerator runtime and inspect discovered devices—addressed the reported problem. The distinction matters because installing a numerical library does not by itself provision a hardware accelerator. A generic healthy platform indicator would not establish this particular condition was fixed.
Incorrect Answers
A:
The alternative verifies a different condition: Notebook source alone does not capture environment-specific library versions. The current case instead depends on: Installing a numerical library does not by itself provision a hardware accelerator. Confirm that “A controlled compute operation runs on the expected TPU devices with compatible packages”.
B:
That test belongs to another control with this basis: Update arrival time may be later than the business event it represents. In the current case, the governing reason is: Installing a numerical library does not by itself provision a hardware accelerator. The direct verification is “A controlled compute operation runs on the expected TPU devices with compatible packages”.
C:
This observation would test a different technical dependency: Dataset read permission without column governance may expose sensitive raw attributes. The current issue is governed by: Installing a numerical library does not by itself provision a hardware accelerator. Its decisive check is “A controlled compute operation runs on the expected TPU devices with compatible packages”.
Question 204
At Fairfield Manufacturing, an authorized Google Cloud machine learning engineering team handles this technical situation: a JAX research notebook expects TPU acceleration but initializes CPU workers because the specified runtime does not expose TPU devices. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which sustained engineering safeguard directly manages this risk?
- Test training-to-serving mode transitions before exporting checkpoint artifacts
- Use readiness dependencies rather than wall-clock assumptions across transformations
- Validate runtime device discovery before booking expensive accelerator sessions
- Track missing-value rates and introduce schema gates when source teams change
Explanation
Correct Answer
C:
Validate runtime device discovery before booking expensive accelerator sessions. This safeguard targets jax accelerator initialization mismatch rather than an unrelated routine. It reduces recurrence because installing a numerical library does not by itself provision a hardware accelerator. The associated remedy is: Configure a supported JAX environment and accelerator runtime and inspect discovered devices.
Incorrect Answers
A:
That safeguard is relevant to: Training-only stochastic layers such as dropout should not ordinarily alter production predictions. The current failure instead follows from: Installing a numerical library does not by itself provision a hardware accelerator. Its prevention measure is “Validate runtime device discovery before booking expensive accelerator sessions”.
B:
This routine guards against another mechanism: Running two scheduled queries at the same clock time does not guarantee data readiness ordering. The recurring exposure in the current case is: Installing a numerical library does not by itself provision a hardware accelerator. The matching preventive check is “Validate runtime device discovery before booking expensive accelerator sessions”.
D:
That safeguard is relevant to: A schema can remain syntactically valid while nullability shifts violate the model's input contract. The current failure instead follows from: Installing a numerical library does not by itself provision a hardware accelerator. Its prevention measure is “Validate runtime device discovery before booking expensive accelerator sessions”.
Question 205
At Fairfield Financial Services, an authorized Google Cloud machine learning engineering team handles this technical situation: a collaborating team can open a shared prototype notebook but its service identity has no permission to read the controlled source BigQuery table. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. What is the most technically justified implementation change?
- Use approved short-lived managed identity or authorized secret retrieval instead of embedding key material
- Create representative language and user-cohort evaluation slices and report metrics for each
- Use validation data for selection and reserve an untouched test sample for the final approved estimate
- Grant narrowly scoped dataset or view access to the notebook's actual execution identity
Explanation
Correct Answer
D:
Grant narrowly scoped dataset or view access to the notebook's actual execution identity. This is the relevant action for notebook cross-project data access because notebook viewer rights and data warehouse access are independent authorization layers. The Fairfield Financial Services team should verify its fix using the following direct evidence: An authorized collaborator reads only the expected dataset and access to protected tables is denied. The other choices address different cloud ML conditions rather than this cause.
Incorrect Answers
A:
This alternative is a response to another technical cause: A copied notebook containing static keys can expose privileges far beyond a single researcher. The reported case instead depends on: Notebook viewer rights and data warehouse access are independent authorization layers. The action that directly addresses it is “Grant narrowly scoped dataset or view access to the notebook's actual execution identity”.
B:
The proposed action belongs to the mechanism: Aggregated scores can hide systematic failure on small underserved populations. Here the stated fault follows a different mechanism: Notebook viewer rights and data warehouse access are independent authorization layers. The corrective choice is “Grant narrowly scoped dataset or view access to the notebook's actual execution identity”.
C:
The offered action targets: Repeated tuning to a test set overfits model selection even if the test labels are not directly trained on. The case facts point instead to: Notebook viewer rights and data warehouse access are independent authorization layers. Implement “Grant narrowly scoped dataset or view access to the notebook's actual execution identity” to address that specific condition.
Question 206
At Fairfield Financial Services, an authorized Google Cloud machine learning engineering team handles this technical situation: a collaborating team can open a shared prototype notebook but its service identity has no permission to read the controlled source BigQuery table. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which technical explanation distinguishes this condition?
- Refitting transformations on holdout data changes feature meaning and can leak evaluation information
- Notebook viewer rights and data warehouse access are independent authorization layers
- At-least-once processing paths can repeat a message's side effects unless deduplicated
- A single notebook kernel is constrained by its local memory even when Cloud Storage has ample capacity
Explanation
Correct Answer
B:
Notebook viewer rights and data warehouse access are independent authorization layers. This condition explains the specific notebook cross-project data access problem at Fairfield Financial Services. The supported corrective action is: Grant narrowly scoped dataset or view access to the notebook's actual execution identity. The direct validation is: An authorized collaborator reads only the expected dataset and access to protected tables is denied.
Incorrect Answers
A:
Refitting transformations on holdout data changes feature meaning and can leak evaluation information. That explanation applies to a different technical failure. Here the controlling principle is: Notebook viewer rights and data warehouse access are independent authorization layers.
C:
This principle describes a separate cause: At-least-once processing paths can repeat a message's side effects unless deduplicated. The reported condition is governed by: Notebook viewer rights and data warehouse access are independent authorization layers. The two mechanisms should not be conflated.
D:
A single notebook kernel is constrained by its local memory even when Cloud Storage has ample capacity. That explanation applies to a different technical failure. Here the controlling principle is: Notebook viewer rights and data warehouse access are independent authorization layers.
Question 207
At Fairfield Financial Services, an authorized Google Cloud machine learning engineering team handles this technical situation: a collaborating team can open a shared prototype notebook but its service identity has no permission to read the controlled source BigQuery table. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which controlled observation should be required before release?
- A controlled prompt is processed within available memory and agreed prototype latency
- A test joining mixed source currencies and units produces the correct normalized revenue values
- An authorized collaborator reads only the expected dataset and access to protected tables is denied
- A controlled user-key read returns the correct current feature within the latency budget
Explanation
Correct Answer
C:
An authorized collaborator reads only the expected dataset and access to protected tables is denied. This directly tests whether the supported remedy—grant narrowly scoped dataset or view access to the notebook's actual execution identity—addressed the reported problem. The distinction matters because notebook viewer rights and data warehouse access are independent authorization layers. 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: Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits. In the current case, the governing reason is: Notebook viewer rights and data warehouse access are independent authorization layers. The direct verification is “An authorized collaborator reads only the expected dataset and access to protected tables is denied”.
B:
This observation would test a different technical dependency: Matching column names do not imply compatible measurement units or semantics. The current issue is governed by: Notebook viewer rights and data warehouse access are independent authorization layers. Its decisive check is “An authorized collaborator reads only the expected dataset and access to protected tables is denied”.
D:
That test belongs to another control with this basis: Historical analytical storage and online key-value feature retrieval have different latency characteristics. In the current case, the governing reason is: Notebook viewer rights and data warehouse access are independent authorization layers. The direct verification is “An authorized collaborator reads only the expected dataset and access to protected tables is denied”.
Question 208
At Fairfield Financial Services, an authorized Google Cloud machine learning engineering team handles this technical situation: a collaborating team can open a shared prototype notebook but its service identity has no permission to read the controlled source BigQuery table. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. What recurring check should be added to the maintenance process?
- Run cross-team access tests after notebook identity or dataset changes
- Review notebook accounts and service agent permissions after team membership changes
- Periodically test row-policy assignments and service account membership
- Review feature necessity and de-identification scope before dataset release
Explanation
Correct Answer
A:
Run cross-team access tests after notebook identity or dataset changes. This safeguard targets notebook cross-project data access rather than an unrelated routine. It reduces recurrence because notebook viewer rights and data warehouse access are independent authorization layers. The associated remedy is: Grant narrowly scoped dataset or view access to the notebook's actual execution identity.
Incorrect Answers
B:
The suggested review tracks a different technical risk: One shared broad identity hides ownership and grants all notebook users unnecessary privileges. Here the sustained control must address: Notebook viewer rights and data warehouse access are independent authorization layers. Choose “Run cross-team access tests after notebook identity or dataset changes”.
C:
That safeguard is relevant to: Table-wide read access can expose records outside an individual group's allowed scope. The current failure instead follows from: Notebook viewer rights and data warehouse access are independent authorization layers. Its prevention measure is “Run cross-team access tests after notebook identity or dataset changes”.
D:
This routine guards against another mechanism: Direct identifiers can create privacy risk without adding task-relevant predictive value. The recurring exposure in the current case is: Notebook viewer rights and data warehouse access are independent authorization layers. The matching preventive check is “Run cross-team access tests after notebook identity or dataset changes”.
Question 209
At Fairfield Media Services, an authorized Google Cloud machine learning engineering team handles this technical situation: a notebook loads a large foundation model into a small CPU session and crashes before the first inference. The team must choose a defensible implementation, diagnosis, validation, or operational control under the June 2026 Google Cloud Professional Machine Learning Engineer scope. Which operational change should the team make to address the described issue?
- Run the notebook data processing in the authorized Google Cloud location and enforce applicable data location controls
- Include an appropriate RMSE or tail-error analysis alongside MAE based on business consequences
- Record the exact hyperparameter configuration for each trial in the experiment tracking system
- Select a compatible hosted Model Garden inference endpoint or sufficient model-capable compute for prototype evaluation
Explanation
Correct Answer
D:
Select a compatible hosted Model Garden inference endpoint or sufficient model-capable compute for prototype evaluation. This is the relevant action for model garden prototype resource exhaustion because foundation model memory and accelerator requirements can exceed a notebook's local runtime limits. The Fairfield Media Services team should verify its fix using the following direct evidence: A controlled prompt is processed within available memory and agreed prototype latency. The other choices address different cloud ML conditions rather than this cause.
Incorrect Answers
A:
The proposed action belongs to the mechanism: Moving data to a local runtime can violate residency requirements despite secure cloud source storage. Here the stated fault follows a different mechanism: Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits. The corrective choice is “Select a compatible hosted Model Garden inference endpoint or sufficient model-capable compute for prototype evaluation”.
B:
The offered action targets: Squaring residuals makes RMSE more sensitive to large individual errors. The case facts point instead to: Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits. Implement “Select a compatible hosted Model Garden inference endpoint or sufficient model-capable compute for prototype evaluation” to address that specific condition.
C:
This alternative is a response to another technical cause: Scores without trial settings cannot identify which configuration should be reproduced or promoted. The reported case instead depends on: Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits. The action that directly addresses it is “Select a compatible hosted Model Garden inference endpoint or sufficient model-capable compute for prototype evaluation”.
Question 210
At Fairfield Media Services, an authorized Google Cloud machine learning engineering team handles this technical situation: a notebook loads a large foundation model into a small CPU session and crashes before the first inference. 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?
- Idle provisioned accelerators can continue billing when no notebook code executes
- Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits
- Physical partition pruning depends on compatible partition metadata and predicates
- Processing arrival order can differ from the event's actual timestamp
Explanation
Correct Answer
B:
Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits. This condition explains the specific model garden prototype resource exhaustion problem at Fairfield Media Services. The supported corrective action is: Select a compatible hosted Model Garden inference endpoint or sufficient model-capable compute for prototype evaluation. The direct validation is: A controlled prompt is processed within available memory and agreed prototype latency.
Incorrect Answers
A:
The offered statement is true for this other mechanism: Idle provisioned accelerators can continue billing when no notebook code executes. It does not explain the facts described here, which follow from: Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits.
C:
Physical partition pruning depends on compatible partition metadata and predicates. That explanation applies to a different technical failure. Here the controlling principle is: Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits.
D:
The offered statement is true for this other mechanism: Processing arrival order can differ from the event's actual timestamp. It does not explain the facts described here, which follow from: Foundation model memory and accelerator requirements can exceed a notebook's local runtime limits.