You will build a model with BigQuery ML and host it on Vertex AI. Vendor streams arrive continuously and may contain invalid values. For near-real-time processing and sanitization before BigQuery, what should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Create a Pub/Sub topic and send all vendor data to it. Use Dataflow to process and sanitize the Pub/Sub data and stream it to BigQuery..
Why this is the answer
The correct answer is to use Pub/Sub with Dataflow. Pub/Sub provides a scalable, asynchronous messaging service for ingesting continuous streams of data from multiple vendors. Dataflow is a fully managed service for executing Apache Beam pipelines, which is ideal for near-real-time processing, sanitization, and transformation of streaming data before it's loaded into BigQuery. This approach ensures data quality and prepares it for BigQuery ML. The other options are less suitable: Using BigQuery streaming inserts directly into a dataset for an ML model doesn't allow for sanitization before ingestion. A Cloud Function might be suitable for simpler, lower-volume transformations, but Dataflow is designed for high-volume, continuous streaming data processing and offers more robust error handling and scalability for complex sanitization logic.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed