How to Configure an ML Feature Pipeline on GCP?
Short answer
B Ingest the Avro files into BigQuery to perform analytics. Use a Dataflow pipeline to create the features, and store them in Vertex AI Feature Store for online prediction.
Question
Key Takeaways
This question tests the ability to select the appropriate Google Cloud services for specific data processing tasks, distinguishing between analytical databases (BigQuery) and transactional databases (Spanner), and identifying the correct solution for low-latency online serving.
The optimal workflow involves using BigQuery for analytics, Dataflow for feature engineering, and Vertex AI Feature Store for low-latency online serving. The community consensus confirms that this combination effectively addresses the requirements for analysis, transformation, and hosting.
Common mistake: A common error is selecting Cloud Spanner for analytics, as it is an OLTP database designed for transactional consistency rather than large-scale analytical processing.
Expert Analysis
Why the Answer Is Correct
BigQuery is the correct choice for performing analytics on structured data like Avro files because it is a serverless, highly scalable enterprise data warehouse. Dataflow is the ideal service for creating features, as it provides a serverless execution environment for robust data processing pipelines using Apache Beam. Finally, Vertex AI Feature Store is specifically designed to host and serve features for online prediction with low latency, which standard databases cannot efficiently provide.
Why the Other Options Are Wrong
Options A and C incorrectly suggest using Cloud Spanner for analytics; Spanner is optimized for horizontal scaling and strong consistency in transactional workloads, not for running analytical queries. Option D incorrectly proposes storing features in BigQuery for online prediction; while BigQuery is excellent for batch analytics and training, it is not designed for the low-latency, high-throughput serving required for real-time online predictions.
Community Comment Notes
Community members strongly support Option B, emphasizing that BigQuery is designed for large-scale analytics while Spanner is suited for transactional workloads. Commenters also highlighted that Vertex AI Feature Store is the dedicated service for managing and serving features for online prediction, ensuring the necessary performance for ML models.
Official Reference
- https://cloud.google.com/vertex-ai/docs/featurestore
- https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-avro
These links open the official vendor documentation in a new tab.
Exam Strategy
When designing ML workflows, map the specific technical requirement to the service's core strength: BigQuery for analytics, Dataflow for complex ETL/feature engineering, and Vertex AI Feature Store for low-latency serving. Avoid using transactional databases like Spanner for analytical reporting.
Community Votes
100% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 6 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 6
-
guilhermebutzke 👍 9 Answered BMy Answer: B “You need to propose a workflow that performs analytics, creates features, and hosts ”: Ingest the Avro files into BigQuery to perform analytics “workflow that performs analytics, creates features”: Dataflow pipeline to create the features “and hosts the features that your ML models use for online prediction”:store them in Vertex AI Feature Store for online prediction
-
emsherff 👍 2 Answered BVertex AI Feature Store is designed for managing and serving features for online prediction with low latency.
-
AzureDP900 👍 1B is right The original audio recordings have an 8 kHz sample rate, which is sufficient for speech recognition. Using the Speech-to-Text API with synchronous recognition would require your application to wait for the transcription process to complete before proceeding. This could lead to performance issues and delays in processing large volumes of audio data. Asynchronous recognition, on the other hand, allows your application to continue processing without waiting for the transcription process to complete. The transcribed text can be retrieved later when needed.
-
carolctech 👍 1 Answered BB) BigQuery is designed for large-scale analytics, while Spanner (options A and C) is not, since it is more suited for transactional workloads. The Dataflow pipeline should be used to transform the Avro files into Parquet before ingesting it into BigQuery and is also optimal for feature engineering tasks. Vertex AI Feature Store is specifically designed for online feature management and serving, while storing features in BigQuery is not the best option for online prediction, due to potential latency.
-
MultiCloudIronMan 👍 1 Answered AI think the answer is A because BigQuery does not support Avro format but CloudSpanner does.
Show 1 more comment
-
VinaoSilva 👍 1 Answered B"performs analytics" = Bigquery "hosts the features" = Vertex AI Feature Store"
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →