Google Cloud Professional Machine Learning Engineer — Question 49
Your team is building a convolutional neural network (CNN)-based architecture from scratch. The preliminary experiments running on your on-premises CPU-only infrastructure were encouraging, but have slow convergence. You have been asked to speed up model training to reduce time-to-market. You want to experiment with virtual machines (VMs) on Google Cloud to leverage more powerful hardware. Your code does not include any manual device placement and has not been wrapped in Estimator model-level abstraction. Which environment should you train your model on?
Answer options
- A. AVM on Compute Engine and 1 TPU with all dependencies installed manually.
- B. AVM on Compute Engine and 8 GPUs with all dependencies installed manually.
- C. A Deep Learning VM with an n1-standard-2 machine and 1 GPU with all libraries pre-installed.
- D. A Deep Learning VM with more powerful CPU e2-highcpu-16 machines with all libraries pre-installed.
Correct answer: C
Explanation
The correct answer is C because a Deep Learning VM provides pre-installed libraries that optimize training, which is essential for a smooth experience without manual setup. Options A and B require manual dependency installation, which could increase setup time and complexity. Option D focuses on CPU power rather than GPU, which is less effective for training CNNs that benefit from parallel processing capabilities.