Google Cloud Professional Machine Learning Engineer — Question 199

You developed a Transformer model in TensorFlow to translate text. Your training data includes millions of documents in a Cloud Storage bucket. You plan to use distributed training to reduce training time. You need to configure the training job while minimizing the effort required to modify code and to manage the cluster’s configuration. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because it utilizes Vertex AI's custom training capabilities with GPU accelerators and the tf.distribute.MultiWorkerMirroredStrategy, which is specifically designed for distributed training without extensive code changes. Options B and C suggest configurations that either complicate the setup or do not align with the requirement for minimizing management effort. Option D, while valid, does not leverage the efficiency of multiple worker pools as effectively as option A.