Google Professional Machine Learning Engineer

Google Professional Machine Learning Engineer

Get started today

Ultimate access to all questions.


Your data science team is training a PyTorch model for image classification based on a pre-trained ResNet model. As part of the model optimization process, you are required to perform hyperparameter tuning to enhance the model's performance. Considering the existing tools and frameworks available on Google Cloud Platform, what should you do?




Explanation:

The correct answer is B. Vertex AI supports hyperparameter tuning for custom models using custom containers. This allows you to use your PyTorch model without needing to convert it to another framework. Options A and D would require additional work to convert the model to Keras or TensorFlow, respectively. Option C involves setting up a Kubeflow Pipelines instance and using Katib, which is unnecessary when Vertex AI already offers a streamlined solution for hyperparameter tuning with custom containers.