
Answer-first summary for fast verification
Answer: Configure Pub/Sub to stream the data into BigQuery.
The correct answer is A: Configure Pub/Sub to stream the data into BigQuery. Recently, Google Cloud has introduced the capability for Pub/Sub to directly stream data into BigQuery without requiring an intermediate Dataflow job. This reduces the complexity of the data pipeline and ensures real-time ingestion with lower latency. However, if advanced data transformations or PII handling were needed before the data lands in BigQuery, a Dataflow job would still be recommended.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your company has mobile applications that collect user activity data. Your team plans to use BigQuery for analyzing this data, performing transformations, and experimenting with machine learning algorithms. To accomplish this, you need to set up a pipeline that ensures the real-time ingestion of user activity data into BigQuery. Considering the need for low-latency and high-volume data streaming, what should you do?
A
Configure Pub/Sub to stream the data into BigQuery.
B
Run an Apache Spark streaming job on Dataproc to ingest the data into BigQuery.
C
Run a Dataflow streaming job to ingest the data into BigQuery.
D
Configure Pub/Sub and a Dataflow streaming job to ingest the data into BigQuery.
No comments yet.