Google Cloud Professional Machine Learning Engineer — Question 144

You are developing an image recognition model using PyTorch based on ResNet50 architecture. Your code is working fine on your local laptop on a small subsample. Your full dataset has 200k labeled images. You want to quickly scale your training workload while minimizing cost. You plan to use 4 V100 GPUs. What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because packaging your code with Setuptools and using a pre-built container allows for efficient integration and resource management in Vertex AI. Options A and B involve Kubernetes and user-managed notebooks, which are less cost-effective for scaling compared to a custom tier. Option D, while feasible, requires more manual setup which could lead to higher costs and complexity.