Question 71 of 307
Single answerYou are creating a new pipeline in Google Cloud to stream IoT data from Cloud Pub/Sub through Cloud Dataflow to BigQuery. While previewing the data, you notice that roughly 2% of the data appears to be corrupt. You need to modify the Cloud Dataflow pipeline to filter out this corrupt data. What should you do?
AAdd a SideInput that returns a Boolean if the element is corrupt.
✓BAdd a ParDo transform in Cloud Dataflow to discard corrupt elements.
CAdd a Partition transform in Cloud Dataflow to separate valid data from corrupt data.
DAdd a GroupByKey transform in Cloud Dataflow to group all of the valid data together and discard the rest.
✓
Correct Answer: B
Add a ParDo transform in Cloud Dataflow to discard corrupt elements.
▥
Explanation
The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Google certification topics.