Exam4Training

Which operation is best suited for the above data processing requirement?

You are planning to use Google’s Dataflow SDK to analyze customer data such as displayed below.

Your project requirement is to extract only the customer name from the data source and then write to an output PCollection.

Tom,555 X street

Tim,553 Y street

Sam, 111 Z street

Which operation is best suited for the above data processing requirement?
A . ParDo
B . Sink API
C . Source API
D . Data extraction

Answer: A

Explanation:

In Google Cloud dataflow SDK, you can use the ParDo to extract only a customer name of each element in your PCollection.

Reference: https://cloud.google.com/dataflow/model/par-do

Exit mobile version