You have an existing TensorFlow training script (train.py) that reads static training data stored as TFRecord files. You need a scalable storage solution for training on Amazon SageMaker with the least amount of code changes. Which approach minimizes development effort?
Choose an answer
Tap an option to check your answer.
Correct answer: Use SageMaker script mode and run train.py unchanged. Upload the TFRecord files to an Amazon S3 bucket and point the SageMaker training job to that S3 location without reformatting the data..
Why this is the answer
The correct answer minimizes development effort because SageMaker's script mode allows you to run existing TensorFlow scripts with minimal changes. By uploading the TFRecord files to Amazon S3, SageMaker can directly access this data during training without requiring any reformatting or modifications to your train.py script. SageMaker automatically handles the data transfer from S3 to the training instance. The other options are incorrect because: Pointing to a local filesystem path is not scalable and doesn't leverage SageMaker's distributed capabilities. Converting TFRecords to protobuf or reformatting data into a SageMaker-supported schema introduces unnecessary development effort and code changes, which goes against the requirement of minimizing effort.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed