Topic 1 Question 252
A manufacturing company wants to create a machine learning (ML) model to predict when equipment is likely to fail. A data science team already constructed a deep learning model by using TensorFlow and a custom Python script in a local environment. The company wants to use Amazon SageMaker to train the model.
Which TensorFlow estimator configuration will train the model MOST cost-effectively?
Turn on SageMaker Training Compiler by adding compiler_config=TrainingCompilerConfig() as a parameter. Pass the script to the estimator in the call to the TensorFlow fit() method.
Turn on SageMaker Training Compiler by adding compiler_config=TrainingCompilerConfig() as a parameter. Turn on managed spot training by setting the use_spot_instances parameter to True. Pass the script to the estimator in the call to the TensorFlow fit() method.
Adjust the training script to use distributed data parallelism. Specify appropriate values for the distribution parameter. Pass the script to the estimator in the call to the TensorFlow fit() method.
Turn on SageMaker Training Compiler by adding compiler_config=TrainingCompilerConfig() as a parameter. Set the MaxWaitTimeInSeconds parameter to be equal to the MaxRuntimeInSeconds parameter. Pass the script to the estimator in the call to the TensorFlow fit() method.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: B
B is the only option which mentions spot instances... the question is to be most cost effective, so seems B is only viable option.
👍 3brianb082023/06/28 - 正解だと思う選択肢: B
A. NO - should use Spot instances B. YES - makes use of compiler and spot instances C. NO - that is to minimize training time, not reduced cost D. NO - MaxWaitTimeInSeconds is time to find a free spot instance, it is unrelated to MaxRuntimeInSeconds which is processing time once an istance has been acquired
👍 3loict2023/09/12 - 正解だと思う選択肢: B
B. Turn on SageMaker Training Compiler by adding compiler_config=TrainingCompilerConfig() as a parameter. Turn on managed spot training by setting the use_spot_instances parameter to True. Pass the script to the estimator in the call to the TensorFlow fit() method.
👍 2Mickey3212023/06/09
シャッフルモード