Google Cloud Professional Machine Learning Engineer — Question 242

You are developing an ML model to identify your company’s products in images. You have access to over one million images in a Cloud Storage bucket. You plan to experiment with different TensorFlow models by using Vertex AI Training. You need to read images at scale during training while minimizing data I/O bottlenecks. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because converting images to TFRecords optimizes data loading and minimizes I/O bottlenecks during training. Options A and B are less efficient for large datasets, while D adds unnecessary complexity by relying on a CSV file, which can slow down the process.