Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Machine Learning Engineer All Questions

View all questions & answers for the Professional Machine Learning Engineer exam

Exam Professional Machine Learning Engineer topic 1 question 113 discussion

Actual exam question from Google's Professional Machine Learning Engineer
Question #: 113
Topic #: 1
[All Professional Machine Learning Engineer Questions]

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?

  • 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,
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
pshemol
Highly Voted 1 year, 11 months ago
Selected Answer: A
Previously Google pattern was Pub/Sub -> Dataflow -> BQ but now it looks as there is new Pub/Sub -> BQ https://cloud.google.com/blog/products/data-analytics/pub-sub-launches-direct-path-to-bigquery-for-streaming-analytics
upvoted 20 times
TNT87
1 year, 8 months ago
New pub sub??? heheheh
upvoted 1 times
...
TNT87
1 year, 8 months ago
https://cloud.google.com/blog/products/data-analytics/pub-sub-launches-direct-path-to-bigquery-for-streaming-analytics You should have said pub sub has been upgrade to directly stream to bigquery templates...not new pub sub
upvoted 2 times
...
...
baimus
Most Recent 2 months, 2 weeks ago
Selected Answer: A
The question specifies that transformation occurs in Bigquery. This means the new direct pub/sub to bigquery streaming path is correct.
upvoted 1 times
...
Prakzz
4 months, 4 weeks ago
Selected Answer: D
Need PubSub and Dataflow both for this
upvoted 1 times
...
ludovikush
8 months, 4 weeks ago
Selected Answer: D
Werner123 i agree
upvoted 1 times
...
Werner123
9 months ago
Selected Answer: D
User data would most likely include PII, for that case it is still recommended to use Dataflow since you need to remove/anonymise sensitive data.
upvoted 2 times
...
pico
1 year ago
I would have added "with / without data transformation" to the question to choose the right answer between A or D
upvoted 1 times
...
andresvelasco
1 year, 2 months ago
Selected Answer: A
I had my doubts between A and D. But since the transformation will occur in bigquery I think Pubsub suffices.
upvoted 3 times
...
M25
1 year, 6 months ago
Selected Answer: D
Agree with TNT87. From the same link: “For Pub/Sub messages where advanced preload transformations or data processing before landing data in BigQuery (such as masking PII) is necessary, we still recommend going through Dataflow.” It’s “analyze user activity data”, not merely streaming IoT into BigQuery so that concerns like privacy are per se n/a. One can deal with PII after landing in BigQuery as well, but apparently that’s not what they recommend.
upvoted 3 times
...
PHD_CHENG
1 year, 8 months ago
Selected Answer: D
Pub/Sub -> DataFlow -> BigQuery
upvoted 2 times
...
TNT87
1 year, 8 months ago
Selected Answer: D
D. Configure Pub/Sub and a Dataflow streaming job to ingest the data into BigQuery. This solution involves using Google Cloud Pub/Sub as the messaging service to receive the data from the mobile application, and then using Google Cloud Dataflow to transform and load the data into BigQuery in real time. Pub/Sub is a scalable and reliable messaging service that can handle high-volume real-time data streaming, while Dataflow provides a unified programming model to develop and run data processing pipelines. This solution is suitable for handling large volumes of user activity data from mobile applications and ingesting it into BigQuery in real-time for analysis and ML experimentation.
upvoted 2 times
TNT87
1 year, 8 months ago
Starting today, you no longer have to write or run your own pipelines for data ingestion from Pub/Sub into BigQuery. We are introducing a new type of Pub/Sub subscription called a “BigQuery subscription” that writes directly from Cloud Pub/Sub to BigQuery. This new extract, load, and transform (ELT) path will be able to simplify your event-driven architecture. For Pub/Sub messages where advanced preload transformations or data processing before landing data in BigQuery (such as masking PII) is necessary, we still recommend going through Dataflow
upvoted 1 times
...
...
hiromi
1 year, 11 months ago
Selected Answer: A
A agree with pshemol
upvoted 3 times
...
mymy9418
1 year, 11 months ago
Selected Answer: D
need dataflow
upvoted 2 times
mil_spyro
1 year, 11 months ago
transformation will be handled in BQ hence I think A
upvoted 6 times
mymy9418
1 year, 11 months ago
agree.
upvoted 1 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...