☎  076 959 6407✉  support@quizcrazepro.co.za
Learn. Practice. Build your future.
BlogHelpContact
G

Google Professional Machine Learning Engineer

280 Questions120 Minutes70% Passing Score▣ Updated: Sep 2026

Question 31 of 280

Single answer
You need to train a computer vision model that predicts the type of government ID present in a given image using a
GPU-powered virtual machine on Compute
Engine. You use the following parameters:
✑ Optimizer: SGD
✑ Image shape = 224ֳ—224
✑ Batch size = 64
✑ Epochs = 10
✑ Verbose =2
During training you encounter the following error: ResourceExhaustedError: Out Of Memory (OOM) when
allocating tensor. What should you do?
AChange the optimizer.
BReduce the batch size.
CChange the learning rate.
DReduce the image shape.
Correct Answer: B

Reduce the batch size.

Explanation

The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.

About this practice exam

Review 280 Google questions with answers and explanations. Use the navigation to move through the exam at your own pace.