Google Professional Machine Learning Engineer Practice Test 45
Question 440
At Morningside Public Health, an authorized Google Cloud machine learning engineering team handles this technical situation: one accelerator worker fails mid-epoch and the restarted job skips an entire dataset shard because progress state is incomplete. 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?
- Test distributed sampler correctness when adding or removing worker replicas
- Document explainability acceptance criteria before architecture selection
- Evaluate the quality latency tradeoff before increasing model capacity
- Test checkpoint consistency for both model and data iterator after topology changes
Explanation
Correct Answer
D:
Test checkpoint consistency for both model and data iterator after topology changes. This safeguard targets distributed training fault-tolerant shard progress rather than an unrelated routine. It reduces recurrence because restoring model weights alone may not preserve distributed data progress or optimizer state. The associated remedy is: Persist compatible sampler and optimizer checkpoints and coordinate restart across workers.
Incorrect Answers
A:
The suggested review tracks a different technical risk: Replicated full-data loading wastes workers and distorts effective sample coverage. Here the sustained control must address: Restoring model weights alone may not preserve distributed data progress or optimizer state. Choose “Test checkpoint consistency for both model and data iterator after topology changes”.
B:
That safeguard is relevant to: A marginal aggregate metric advantage does not satisfy a separate decision-explanation requirement. The current failure instead follows from: Restoring model weights alone may not preserve distributed data progress or optimizer state. Its prevention measure is “Test checkpoint consistency for both model and data iterator after topology changes”.
C:
This routine guards against another mechanism: Larger model complexity can increase inference latency without proportionate gains for narrow ranking. The recurring exposure in the current case is: Restoring model weights alone may not preserve distributed data progress or optimizer state. The matching preventive check is “Test checkpoint consistency for both model and data iterator after topology changes”.
Question 441
At Morningside Logistics, an authorized Google Cloud machine learning engineering team handles this technical situation: a training job reports out-of-memory near the end of an epoch despite apparently low average GPU usage. 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 supported TPU-compatible JAX or TensorFlow runtime and correct device configuration
- Test improved prompt instructions and structured output controls before assessing tuning
- Inspect peak allocations and tensor lifetime patterns before changing accelerator size
- Package a supported custom training entrypoint with explicit dependencies and the correct module path
Explanation
Correct Answer
C:
Inspect peak allocations and tensor lifetime patterns before changing accelerator size. This is the relevant action for gpu memory fragmentation inference from metrics because average utilization or allocated memory can hide short-lived peak tensor memory requirements. The Morningside Logistics team should verify its fix using the following direct evidence: A traced representative batch identifies the allocation spike and revised configuration avoids OOM. The other choices address different cloud ML conditions rather than this cause.
Incorrect Answers
A:
The offered action targets: TPU provisioning does not make arbitrary training containers accelerator compatible. The case facts point instead to: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. Implement “Inspect peak allocations and tensor lifetime patterns before changing accelerator size” to address that specific condition.
B:
This alternative is a response to another technical cause: Minor response-format defects may be solvable without changing pretrained model parameters. The reported case instead depends on: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. The action that directly addresses it is “Inspect peak allocations and tensor lifetime patterns before changing accelerator size”.
D:
The offered action targets: Providing training compute does not guarantee that the container can locate its executable training code. The case facts point instead to: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. Implement “Inspect peak allocations and tensor lifetime patterns before changing accelerator size” to address that specific condition.
Question 442
At Morningside Logistics, an authorized Google Cloud machine learning engineering team handles this technical situation: a training job reports out-of-memory near the end of an epoch despite apparently low average GPU usage. 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?
- Data parallelism replicates model parameters and does not reduce each replica's parameter memory requirement
- Reliable supervised class recognition requires enough labeled examples of the classes to learn
- Fine-tuning is generally not a replacement for retrieving frequently updated authoritative documents
- Average utilization or allocated memory can hide short-lived peak tensor memory requirements
Explanation
Correct Answer
D:
Average utilization or allocated memory can hide short-lived peak tensor memory requirements. This condition explains the specific gpu memory fragmentation inference from metrics problem at Morningside Logistics. The supported corrective action is: Inspect peak allocations and tensor lifetime patterns before changing accelerator size. The direct validation is: A traced representative batch identifies the allocation spike and revised configuration avoids OOM.
Incorrect Answers
A:
This principle describes a separate cause: Data parallelism replicates model parameters and does not reduce each replica's parameter memory requirement. The reported condition is governed by: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. The two mechanisms should not be conflated.
B:
Reliable supervised class recognition requires enough labeled examples of the classes to learn. That explanation applies to a different technical failure. Here the controlling principle is: Average utilization or allocated memory can hide short-lived peak tensor memory requirements.
C:
The offered statement is true for this other mechanism: Fine-tuning is generally not a replacement for retrieving frequently updated authoritative documents. It does not explain the facts described here, which follow from: Average utilization or allocated memory can hide short-lived peak tensor memory requirements.
Question 443
At Morningside Logistics, an authorized Google Cloud machine learning engineering team handles this technical situation: a training job reports out-of-memory near the end of an epoch despite apparently low average GPU usage. 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?
- A traced representative batch identifies the allocation spike and revised configuration avoids OOM
- A controlled run converges without invalid gradients and meets target memory savings
- The same record count trains with higher sustained accelerator utilization and lower input wait time
- The candidate improves on an untouched real-world test set rather than just on generated samples
Explanation
Correct Answer
A:
A traced representative batch identifies the allocation spike and revised configuration avoids OOM. This directly tests whether the supported remedy—inspect peak allocations and tensor lifetime patterns before changing accelerator size—addressed the reported problem. The distinction matters because average utilization or allocated memory can hide short-lived peak tensor memory requirements. A generic healthy platform indicator would not establish this particular condition was fixed.
Incorrect Answers
B:
That test belongs to another control with this basis: Reduced numeric range can cause underflow or overflow without an appropriate precision strategy. In the current case, the governing reason is: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. The direct verification is “A traced representative batch identifies the allocation spike and revised configuration avoids OOM”.
C:
This observation would test a different technical dependency: Excessive tiny-file overhead can dominate storage operations and underutilize training accelerators. The current issue is governed by: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. Its decisive check is “A traced representative batch identifies the allocation spike and revised configuration avoids OOM”.
D:
The alternative verifies a different condition: Synthetic patterns can diverge from genuine production distributions and create misleading accuracy gains. The current case instead depends on: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. Confirm that “A traced representative batch identifies the allocation spike and revised configuration avoids OOM”.
Question 444
At Morningside Logistics, an authorized Google Cloud machine learning engineering team handles this technical situation: a training job reports out-of-memory near the end of an epoch despite apparently low average GPU usage. 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?
- Record peak accelerator memory in load-testing baselines
- Estimate collective-communication volume before reserving distributed hardware
- Benchmark accelerator memory whenever model sequence length or batch size changes
- Assert data-shard coverage when changing worker topology
Explanation
Correct Answer
A:
Record peak accelerator memory in load-testing baselines. This safeguard targets gpu memory fragmentation inference from metrics rather than an unrelated routine. It reduces recurrence because average utilization or allocated memory can hide short-lived peak tensor memory requirements. The associated remedy is: Inspect peak allocations and tensor lifetime patterns before changing accelerator size.
Incorrect Answers
B:
This routine guards against another mechanism: Model-parallel exchanges can overwhelm slower interconnects when layers communicate frequently. The recurring exposure in the current case is: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. The matching preventive check is “Record peak accelerator memory in load-testing baselines”.
C:
The suggested review tracks a different technical risk: Activation and intermediate tensor memory generally scale with simultaneous batch workload. Here the sustained control must address: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. Choose “Record peak accelerator memory in load-testing baselines”.
D:
That safeguard is relevant to: Unsharded worker replication wastes compute and changes the effective sampling distribution. The current failure instead follows from: Average utilization or allocated memory can hide short-lived peak tensor memory requirements. Its prevention measure is “Record peak accelerator memory in load-testing baselines”.
Question 445
At Morningside Energy Research, an authorized Google Cloud machine learning engineering team handles this technical situation: a checkout risk application requires a prediction for each shopper in 150 milliseconds but the model is run only as a nightly batch job. 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?
- Evaluate a compatible Cloud Run serving container with appropriate scaling and latency controls
- Use the same approved entity identifier for online feature writes and reads
- Restrict endpoint network access and authenticated invocation to approved service identities and paths
- Deploy a supported low-latency online model endpoint and validate request-response timing
Explanation
Correct Answer
D:
Deploy a supported low-latency online model endpoint and validate request-response timing. This is the relevant action for agent platform online endpoint low latency because a scheduled batch inference workflow cannot serve a continuously addressable interactive API. The Morningside Energy Research team should verify its fix using the following direct evidence: A production-shaped request receives the required score within the latency objective. 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 sporadic CPU-efficient prediction workload may not justify 24-hour provisioned GPU capacity. The reported case instead depends on: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. The action that directly addresses it is “Deploy a supported low-latency online model endpoint and validate request-response timing”.
B:
The proposed action belongs to the mechanism: Mismatched entity keys result in missing values even when the intended record exists. Here the stated fault follows a different mechanism: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. The corrective choice is “Deploy a supported low-latency online model endpoint and validate request-response timing”.
C:
The offered action targets: Private reachability does not replace explicit identity and network authorization boundaries. The case facts point instead to: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. Implement “Deploy a supported low-latency online model endpoint and validate request-response timing” to address that specific condition.
Question 446
At Morningside Energy Research, an authorized Google Cloud machine learning engineering team handles this technical situation: a checkout risk application requires a prediction for each shopper in 150 milliseconds but the model is run only as a nightly batch job. 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?
- Inconsistent preprocessing changes the feature representation even when raw text is identical
- Small unbatched accelerator workloads incur scheduling overhead and waste parallel capacity
- Reducing model precision can save memory but can also alter prediction accuracy
- A scheduled batch inference workflow cannot serve a continuously addressable interactive API
Explanation
Correct Answer
D:
A scheduled batch inference workflow cannot serve a continuously addressable interactive API. This condition explains the specific agent platform online endpoint low latency problem at Morningside Energy Research. The supported corrective action is: Deploy a supported low-latency online model endpoint and validate request-response timing. The direct validation is: A production-shaped request receives the required score within the latency objective.
Incorrect Answers
A:
Inconsistent preprocessing changes the feature representation even when raw text is identical. That explanation applies to a different technical failure. Here the controlling principle is: A scheduled batch inference workflow cannot serve a continuously addressable interactive API.
B:
The offered statement is true for this other mechanism: Small unbatched accelerator workloads incur scheduling overhead and waste parallel capacity. It does not explain the facts described here, which follow from: A scheduled batch inference workflow cannot serve a continuously addressable interactive API.
C:
This principle describes a separate cause: Reducing model precision can save memory but can also alter prediction accuracy. The reported condition is governed by: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. The two mechanisms should not be conflated.
Question 447
At Morningside Energy Research, an authorized Google Cloud machine learning engineering team handles this technical situation: a checkout risk application requires a prediction for each shopper in 150 milliseconds but the model is run only as a nightly batch job. 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 load test meets memory limits and p95 latency after the concurrency adjustment
- A morning cold-load simulation meets the required latency at documented baseline cost
- A production-shaped request receives the required score within the latency objective
- The approved scale target schedules successfully under the revised quota
Explanation
Correct Answer
C:
A production-shaped request receives the required score within the latency objective. This directly tests whether the supported remedy—deploy a supported low-latency online model endpoint and validate request-response timing—addressed the reported problem. The distinction matters because a scheduled batch inference workflow cannot serve a continuously addressable interactive API. 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: Concurrent requests share an instance's finite memory and compute resources. In the current case, the governing reason is: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. The direct verification is “A production-shaped request receives the required score within the latency objective”.
B:
This observation would test a different technical dependency: Scale-to-zero efficiency comes with initialization delay for the first request after idleness. The current issue is governed by: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. Its decisive check is “A production-shaped request receives the required score within the latency objective”.
D:
That test belongs to another control with this basis: Compute demand cannot bypass service limits simply because an autoscaler requests more replicas. In the current case, the governing reason is: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. The direct verification is “A production-shaped request receives the required score within the latency objective”.
Question 448
At Morningside Energy Research, an authorized Google Cloud machine learning engineering team handles this technical situation: a checkout risk application requires a prediction for each shopper in 150 milliseconds but the model is run only as a nightly batch job. 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?
- Classify inference by response latency and traffic before selecting serving mode
- Review execution windows and data volumes before buying online model capacity
- Alert on entity-level feature age rather than just Feature Store read success
- Version and validate entity-key mappings before online feature migration
Explanation
Correct Answer
A:
Classify inference by response latency and traffic before selecting serving mode. This safeguard targets agent platform online endpoint low latency rather than an unrelated routine. It reduces recurrence because a scheduled batch inference workflow cannot serve a continuously addressable interactive API. The associated remedy is: Deploy a supported low-latency online model endpoint and validate request-response timing.
Incorrect Answers
B:
The suggested review tracks a different technical risk: Bulk asynchronous inference need not pay for permanently running interactive serving capacity. Here the sustained control must address: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. Choose “Classify inference by response latency and traffic before selecting serving mode”.
C:
That safeguard is relevant to: A low-latency cached feature can still be too stale for the prediction decision. The current failure instead follows from: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. Its prevention measure is “Classify inference by response latency and traffic before selecting serving mode”.
D:
This routine guards against another mechanism: Mismatched entity keys result in missing values even when the intended record exists. The recurring exposure in the current case is: A scheduled batch inference workflow cannot serve a continuously addressable interactive API. The matching preventive check is “Classify inference by response latency and traffic before selecting serving mode”.
Question 449
At Morningside University IT, an authorized Google Cloud machine learning engineering team handles this technical situation: a business must score several million historic transactions overnight but keeps a costly always-on endpoint provisioned solely for that scheduled job. 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?
- Use supported Agent Platform batch inference for the bounded high-volume scoring workload
- Use an appropriately managed GKE serving deployment with clear resource and security requirements
- Restrict endpoint network access and authenticated invocation to approved service identities and paths
- Require supported authentication and restrict ingress according to the integration policy
Explanation
Correct Answer
A:
Use supported Agent Platform batch inference for the bounded high-volume scoring workload. This is the relevant action for agent platform batch inference large volume because bulk asynchronous inference need not pay for permanently running interactive serving capacity. The Morningside University IT team should verify its fix using the following direct evidence: The nightly job processes the complete batch and releases temporary capacity when done. The other choices address different cloud ML conditions rather than this cause.
Incorrect Answers
B:
The offered action targets: Specialized serving dependencies may need explicit container scheduling and networking control. The case facts point instead to: Bulk asynchronous inference need not pay for permanently running interactive serving capacity. Implement “Use supported Agent Platform batch inference for the bounded high-volume scoring workload” to address that specific condition.
C:
This alternative is a response to another technical cause: Private reachability does not replace explicit identity and network authorization boundaries. The reported case instead depends on: Bulk asynchronous inference need not pay for permanently running interactive serving capacity. The action that directly addresses it is “Use supported Agent Platform batch inference for the bounded high-volume scoring workload”.
D:
The proposed action belongs to the mechanism: An internet-reachable endpoint without request authorization can expose costly or sensitive predictions. Here the stated fault follows a different mechanism: Bulk asynchronous inference need not pay for permanently running interactive serving capacity. The corrective choice is “Use supported Agent Platform batch inference for the bounded high-volume scoring workload”.
Question 450
At Morningside University IT, an authorized Google Cloud machine learning engineering team handles this technical situation: a business must score several million historic transactions overnight but keeps a costly always-on endpoint provisioned solely for that scheduled job. 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 model's numeric class IDs do not convey semantic labels without the associated vocabulary
- Bulk asynchronous inference need not pay for permanently running interactive serving capacity
- Reducing model precision can save memory but can also alter prediction accuracy
- A compact student can approximate a large teacher with lower compute at possible quality tradeoffs
Explanation
Correct Answer
B:
Bulk asynchronous inference need not pay for permanently running interactive serving capacity. This condition explains the specific agent platform batch inference large volume problem at Morningside University IT. The supported corrective action is: Use supported Agent Platform batch inference for the bounded high-volume scoring workload. The direct validation is: The nightly job processes the complete batch and releases temporary capacity when done.
Incorrect Answers
A:
The offered statement is true for this other mechanism: A model's numeric class IDs do not convey semantic labels without the associated vocabulary. It does not explain the facts described here, which follow from: Bulk asynchronous inference need not pay for permanently running interactive serving capacity.
C:
Reducing model precision can save memory but can also alter prediction accuracy. That explanation applies to a different technical failure. Here the controlling principle is: Bulk asynchronous inference need not pay for permanently running interactive serving capacity.
D:
The offered statement is true for this other mechanism: A compact student can approximate a large teacher with lower compute at possible quality tradeoffs. It does not explain the facts described here, which follow from: Bulk asynchronous inference need not pay for permanently running interactive serving capacity.