Google Cloud Professional Machine Learning Engineer — Question 328
You built a custom Vertex AI pipeline job that preprocesses images and trains an object detection model. The pipeline currently uses 1 n1-standard-8 machine with 1 NVIDIA Tesla V100 GPU. You want to reduce the model training time without compromising model accuracy. What should you do?
Answer options
- A. Reduce the number of layers in your object detection model.
- B. Train the same model on a stratified subset of your dataset.
- C. Update the WorkerPoolSpec to use a machine with 24 vCPUs and 1 NVIDIA Tesla V100 GPU.
- D. Update the WorkerPoolSpec to use a machine with 24 vCPUs and 3 NVIDIA Tesla V100 GPUs.
Correct answer: D
Explanation
The correct answer is D because increasing the number of GPUs to 3 will significantly enhance parallel processing capabilities, thereby reducing the model training time. Options A and B do not directly address the need to shorten training time without compromising accuracy, while option C does not utilize the additional GPU resources that can expedite training.