Google
PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #55
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: - Op
Sign in or unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to reveal the answer and full explanation for question #55. The question stem and answer options stay visible for context.
Submitted by jordan8· Apr 18, 2026ML model development
Question
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 tensor. What should you do? Memory (OOM) when allocating
Options
- AChange the optimizer.
- BReduce the batch size.
- CChange the learning rate.
- DReduce the image shape.
Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER to see the answer
You've previewed enough free PROFESSIONAL-MACHINE-LEARNING-ENGINEER questions. Unlock PROFESSIONAL-MACHINE-LEARNING-ENGINEER for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#GPU memory#Out of memory (OOM)#Batch size#Deep learning training