D2: GPUs vs TPUs
Google Cloud Associate Cloud Engineer exam practice questions · 10 flashcards
Question
What are GPUs best for?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 GPUs vs TPUs practice questions and answers
- What are GPUs best for?General-purpose parallel compute: ML training/inference, graphics, CUDA and broad framework support.
- What are TPUs?Google-designed accelerators optimized for large matrix operations in ML.
- When choose TPUs?Large-scale training or high-throughput inference of large models using JAX, TensorFlow or PyTorch/XLA.
- When choose GPUs?Workloads needing CUDA libraries, mixed workloads, smaller models or flexibility.
- Which Compute Engine families include GPUs?Accelerator-optimized A and G series (or GPUs attached to N1).
- Where can TPUs be used?Cloud TPU VMs, GKE TPU node pools and Vertex AI/Agent Platform training.
- Can Cloud Run use GPUs?Yes, NVIDIA L4 GPUs on supported regions.
- What should you check before choosing an accelerator?Region/zone availability, quota, framework support and cost.
- Why is quota important for accelerators?GPU/TPU quotas are often zero by default and must be requested.
- When is CPU enough?Light inference, small models or non-parallel workloads.