A company has a TensorFlow model that requires GPU for inference. They are deploying on Vertex AI. Which TWO configurations are necessary to ensure GPU is used?
Necessary to have GPU hardware available.
Why this answer
Option D is correct because Vertex AI requires you to explicitly select a machine type that includes a GPU (e.g., n1-standard-4 with an attached NVIDIA Tesla T4) to provide the physical hardware for GPU acceleration. Without selecting a GPU machine type, the inference will run on CPU only, regardless of any other configuration.
Exam trap
Google Cloud often tests the misconception that simply using a pre-built container or setting environment variables is sufficient to enable GPU acceleration, when in fact you must both select a GPU-capable machine type and explicitly configure the accelerator in the deployment settings.