Google Cloud Professional Machine Learning Engineer — Question 117

You need to analyze user activity data from your company’s mobile applications. Your team will use BigQuery for data analysis, transformation, and experimentation with ML algorithms. You need to ensure real-time ingestion of the user activity data into BigQuery. What should you do?

Answer options

Correct answer: A

Explanation

The correct answer is A because configuring Pub/Sub allows for real-time data streaming directly into BigQuery, which is ideal for immediate data analysis. Options B and C do not provide real-time ingestion; they involve batch processing or are less efficient for this specific requirement. Option D, while it could work, is unnecessarily complex for a straightforward real-time ingestion task.