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 platform team is optimizing storage and serialization formats for two production workloads on Google Cloud:
Which storage and serialization strategy should you implement to optimize performance, cost, and reliability?
Hive-partitioned Parquet paired with BigLake authorized views enables governed, column-pruned SQL analytics over Cloud Storage. Dataflow's STORAGE_API_AT_LEAST_ONCE appends directly to a single default BigQuery write stream, and Hyperdisk ML provides high-throughput block storage designed for caching small models across large inference fleets.
STORAGE_API_AT_LEAST_ONCE avoids STORAGE_WRITE_API stream quota exhaustion by sharing a single default write stream, but it can introduce duplicate records into BigQuery. For deterministic batch feature ETL at 1,500 vCPUs, FILE_LOADS with Avro provides clean, duplicate-free ingestion.STORAGE_API_AT_LEAST_ONCE is designed specifically for Dataflow pipelines running in at-least-once streaming mode where downstream deduplication is acceptable.You were operating an at-least-once streaming pipeline that tolerates duplicate rows and needed to cache and distribute read-only model weights across up to 2,500 serving instances.
JSON is a human-readable, row-oriented text serialization format, while the Cloud Storage API provides direct object-level reads without a SQL query engine. Dataflow's STORAGE_WRITE_API streams records directly into BigQuery over gRPC, and Cloud Storage FUSE mounts object storage buckets as local file systems.
STORAGE_WRITE_API do not throttle the maximum number of write streams, making them prone to exhausting BigQuery Storage Write API stream quotas./tmpfs for caching.STORAGE_WRITE_API is best suited for streaming pipelines or small-to-medium batch jobs (< 1,000 vCPUs).You were running a streaming or sub-1,000-vCPU batch pipeline requiring exactly-once BigQuery writes, and your training workload ran on GPU instances equipped with local SSDs reading large sharded files (50 MB+) with asynchronous checkpointing.
This design combines Hive-partitioned Apache Parquet and the BigQuery Storage Read API for governed analytical exploration, Dataflow FILE_LOADS with Avro for high-throughput batch warehouse ingestion, and Google Cloud Managed Lustre as a POSIX-compliant parallel file system for TPU training and checkpointing.
FILE_LOADS prevents BigQuery Storage Write API stream-quota exhaustion by writing partitioned staging files to Cloud Storage and triggering parallel load jobs. Using Avro for those staging files outperforms JSON (~78 MBps vs. ~54 MBps) while preserving exact schemas and avoiding duplicate rows.FILE_LOADS with Avro scales reliably beyond 1,000 vCPUs with atomic BigQuery ingestion.Every layer matches the exact access pattern: Parquet and the Storage Read API optimize column-level exploration and security, FILE_LOADS with Avro maximizes duplicate-free batch throughput without hitting gRPC stream limits, and Managed Lustre satisfies strict < 1 ms synchronous checkpointing and small-file metadata concurrency on TPUs.
Apache Avro is a binary, row-oriented serialization format that embeds schemas with data. Dataflow FILE_LOADS stages partitioned files in Cloud Storage before running parallel BigQuery load jobs, while Cloud Storage Rapid Bucket delivers high-throughput zonal object storage (up to 15 TB/s) mounted through Cloud Storage FUSE.
FILE_LOADS avoids gRPC stream quota exhaustion at 1,500 vCPUs, serializing staging files in JSON achieves noticeably lower throughput (~54 MBps) than Avro (~78 MBps) and omits embedded schema definitions.Your Dataflow FILE_LOADS job serialized staging data as Avro instead of JSON, your BigLake queries consistently selected full rows, and your TPU training pipeline read large sharded files with asynchronous checkpointing.
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