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 team is training a multimodal two-tower retrieval model with PyTorch DistributedDataParallel on multi-node GPU workers. Profiling with cloud_profiler reveals GPU starvation and serving latency issues:
Which data access and caching architecture should you implement?
WebDataset shards in a hierarchical-namespace Cloud Storage bucket with local SSD file caching (or stage them in Managed Lustre), query BigQuery feature tables with ML.ENTITY_FEATURES_AT_TIME for training, and serve online features via Feature Store with Bigtable using asynchronous entity batches chunked to ~100 feature IDs per read.This architecture implements a decoupled, workload-optimized data access layer across both unstructured and tabular modalities. It pairs high-throughput sequential or parallel file access for PyTorch DistributedDataParallel training with BigQuery point-in-time lookups for offline feature correctness and Bigtable-backed online feature serving for low-latency inference.
WebDataset shards (combined with Cloud Storage hierarchical namespaces, local SSD file caching via Cloud Storage FUSE, prefetching, and parallel I/O) converts millions of random metadata calls into high-throughput sequential streams, achieving performance comparable to local disk. Alternatively, Google Cloud Managed Lustre provides sub-millisecond latency and high IOPS for small files (<1 MB) with high metadata concurrency.ML.ENTITY_FEATURES_AT_TIME (or Feature Store offline serving) retrieves feature values as they existed at each event timestamp, guaranteeing point-in-time correctness and eliminating training-serving skew.cloud_profiler so expensive accelerators stay saturated.WebDataset.Unlike direct uncached FUSE mounts on small files or direct BigQuery calls at inference time, this design matches each storage engine to its exact I/O profile: sequential/parallel file throughput for distributed training, temporal SQL correctness in BigQuery, and bounded, asynchronous key-value lookups in Bigtable.
ML.FEATURES_AT_TIME queries directly for each incoming inference request.This approach attempts to unify both training and serving access directly against object storage and an analytical data warehouse. Cloud Storage FUSE mounts an object storage bucket as a POSIX-style file system on compute nodes, while BigQuery ML.FEATURES_AT_TIME evaluates point-in-time SQL lookups across historical feature tables.
ML.FEATURES_AT_TIME per real-time inference request introduces unacceptable latency and high slot/query overhead under concurrent serving traffic.This design places GPU compute inside an AI zone for high-density accelerator capacity while leaving unsharded small image files in a standard-zone regional Cloud Storage bucket without cache warming. For online serving, it uses BigQuery external tables layered over Bigtable.
WebDataset shards on Cloud Storage for training, train the tabular branch directly on the latest feature snapshots stored in Bigtable, and configure the online endpoint to issue a single synchronous Bigtable read per request with a server-side column filter listing all 150 feature IDs across all candidate entities.This option correctly addresses unstructured image I/O by packing small files into sequential WebDataset shards on Cloud Storage, which improves sequential throughput. However, it uses Bigtable directly for both historical training snapshots and single-request synchronous multi-entity reads.
ML.ENTITY_FEATURES_AT_TIME or offline feature serving), future user behavior leaks into historical training examples, inflating offline metrics while degrading production accuracy.ML.ENTITY_FEATURES_AT_TIME, and online Bigtable lookups were chunked into <=100 feature IDs across small asynchronous entity batches.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