A company uses Amazon SageMaker to train a model. The training job fails with an 'OutOfMemory' error. The training data is stored in S3 and the instance type is ml.m5.xlarge. What is the most efficient way to resolve this issue?
Larger instance provides more memory.
Why this answer
Option C is correct: Increasing the instance type provides more memory. Option A (increasing instance count) does not increase memory per instance. Option B (reducing batch size) may help but is less efficient.
Option D (enabling spot instances) does not address memory.