Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Machine Learning Engineer practice bank has an additional 974 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
Your ML team is scaling a 70-billion-parameter dense transformer with a 128k-token context window in JAX using MaxText (matrix dimensions are multiples of 256). Your architecture must meet these requirements:
Which training architecture should you implement?
c4-highcpu nodes for host preprocessing and G2 (nvidia-l4) GPU nodes on Spot VMs for training; configure 8-way Tensor Parallelism across nodes over VPC networking and apply 4-bit post-training quantization (PTQ) to prevent activation OOM errors.G2 machine types attach NVIDIA L4 GPUs (24 GB GDDR6 memory, PCIe Gen 4 interconnect) and are designed for small-model inference, visual computing, and cost-effective serving. Compute-optimized VMs (such as c4) target CPU-bound HPC and general processing, while 4-bit post-training quantization (PTQ) compresses weights of an already-trained model for inference.
You were deploying an already-trained, quantized small-to-medium model on GKE for cost-effective single-host inference or running CPU-bound HPC preprocessing.
TPU7x (Ironwood) is a custom ASIC accelerator engineered for large-scale foundation model training, delivering 4,614 TFLOPS of peak FP8 compute, 192 GiB of HBM per chip, and 1,200 GBps of inter-chip interconnect (ICI) bandwidth. Combining Fully Sharded Data Parallelism (FSDP) with Context Parallelism (CP) distributes model weights, optimizer states, and long-sequence activations across a multi-host TPU Pod slice.
Unlike GPU clusters using pure data parallelism or PCIe interconnects, a multi-host TPU7x slice with FSDP + minimal CP, mixed E4M3/E5M2 FP8, and Spot + JAX compilation caching directly solves quadratic activation memory, communication bottlenecks, and preemption overhead at minimal cost.
a2-highgpu-8g (NVIDIA A100 40GB) GPU worker pools paired with n1-highcpu-16 nodes running Reduction Server in workerPoolSpecs[2]; configure pure data parallelism (DistributedDataParallel) with FP32 precision and Flex-start VMs.Reduction Server is an all-reduce algorithm deployed in workerPoolSpecs[2] on high-bandwidth CPU nodes (such as n1-highcpu-16) to accelerate gradient synchronization for multi-host GPU data-parallel jobs using NCCL. Flex-start VMs use Dynamic Workload Scheduler (DWS) to provision discounted GPU capacity for fixed durations of up to seven days.
DistributedDataParallel) replicates full model parameters, gradients, and optimizer states on every GPU. A 70B model in FP32 requires hundreds of gigabytes for weights alone, vastly exceeding the 40 GB HBM2 memory of each A100-40GB GPU, and provides no sharding for 128k-token activations.n1-highcpu-16), but it does not shard models or activations.a2-highgpu-8g) provides 100 Gbps network bandwidth and 600 GBps NVLink, suited for smaller or moderate models.You were running a multi-host PyTorch or TensorFlow data-parallel job on a model whose full state fit comfortably within 40 GB per GPU and needed guaranteed unpreempted execution for under seven days.
TPU v6e (Trillium) is a cost-efficient TPU generation optimized for fine-tuning, smaller model variants, and high-throughput serving, offering 32 GiB of High Bandwidth Memory (HBM) per chip. Tensor Parallelism (TP) shards individual weight matrices across devices, while Expert Parallelism (EP) distributes sparse Mixture-of-Experts (MoE) layers using All-to-All collective communication.
You were fine-tuning or serving a smaller transformer model on an uninterrupted On-demand budget without ultra-long context windows.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated