Question 31 of 307
Single answerYou have Google Cloud Dataflow streaming pipeline running with a Google Cloud Pub/Sub subscription as the source. You need to make an update to the code that will make the new Cloud Dataflow pipeline incompatible with the current version. You do not want to lose any data when making this update. What should you do?
✓AUpdate the current pipeline and use the drain flag.
BUpdate the current pipeline and provide the transform mapping JSON object.
CCreate a new pipeline that has the same Cloud Pub/Sub subscription and cancel the old pipeline.
DCreate a new pipeline that has a new Cloud Pub/Sub subscription and cancel the old pipeline.
✓
Correct Answer: A
Update the current pipeline and use the drain flag.
▥
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.