PROFESSIONAL-MACHINE-LEARNING-ENGINEER practice question 6 of 35
You want to rebuild your ML pipeline for structured data on Google Cloud. You are using PySpark to conduct data transformations at scale, but your…
Full set: 283 questionsThe optimal solution is to leverage BigQuery, a fully managed, serverless, petabyte-scale data warehouse designed for high-speed analytics using SQL. This approach directly meets all requirements:
1. Serverless: BigQuery is serverless, eliminating infrastructure management.
2. SQL Syntax: PySpark transformation logic can be converted to standard SQL for use in BigQuery.
3. Speed: BigQuery's massively parallel processing engine is designed to execute complex queries on large datasets far faster than a typical PySpark job on a long-running cluster. Loading data from Cloud Storage into BigQuery is a standard, efficient pattern, and materializing the transformed data into a new table is best practice for subsequent ML model training.
A. Data Fusion is primarily a GUI-based data integration service, which does not meet the specific requirement to use and convert existing logic to SQL syntax.
B. Dataproc is not serverless; it requires provisioning and managing a Spark cluster, which contradicts a core requirement of the desired solution.
C. Cloud SQL is a relational database designed for transactional (OLTP) workloads, not large-scale analytical transformations. It would be a performance bottleneck.
1. Google Cloud Documentation, "What is BigQuery?": "BigQuery is a serverless, highly scalable, and cost-effective cloud data warehouse... BigQuery provides a SQL interface for querying and managing data." This source confirms that BigQuery is serverless, scalable, and uses SQL, directly addressing the core requirements.
2. Google Cloud Documentation, "Introduction to loading data from Cloud Storage": "You can load data into BigQuery from Cloud Storage in batch." This supports the first step of the proposed pipeline in the correct answer (D).
3. Google Cloud Documentation, "What is Dataproc?": "Dataproc is a fully managed and highly scalable service for running Apache Spark... You can easily create and delete Dataproc clusters..." This reference confirms that Dataproc is cluster-based, making it an incorrect choice for the serverless requirement.
4. Google Cloud Documentation, "Choosing a database option": This documentation page positions Cloud SQL for "OLTP workloads" and BigQuery for "OLAP workloads" and "Big data analytics," clarifying why Cloud SQL (Option C) is inappropriate for large-scale data transformation.
5. Stanford University, CS229: Machine Learning, "Lecture Notes 13: Recommender Systems & Large-Scale ML": Course materials often discuss the architectural pattern of using a scalable data warehouse like BigQuery for pre-processing and feature engineering at scale before ML model training, which aligns with the logic in answer D. The notes emphasize using scalable, parallel systems for large data transformations.
Keep practicing
Take the free PROFESSIONAL-MACHINE-LEARNING-ENGINEER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other PROFESSIONAL-MACHINE-LEARNING-ENGINEER practice questions
- Question 1You work for an advertising company and want to understand the effectiveness of your comp…
- Question 2You developed a custom model by using Vertex Al to forecast the sales of your company s p…
- Question 3You are an ML engineer at a global shoe store. You manage the ML models for the company's…
- Question 5During batch training of a neural network, you notice that there is an oscillation in the…
- Question 7Your team is building a convolutional neural network (CNN)-based architecture from scratc…
- Question 8You were asked to investigate failures of a production line component based on sensor rea…
