Topic 1 Question 268
You created a new version of a Dataflow streaming data ingestion pipeline that reads from Pub/Sub and writes to BigQuery. The previous version of the pipeline that runs in production uses a 5-minute window for processing. You need to deploy the new version of the pipeline without losing any data, creating inconsistencies, or increasing the processing latency by more than 10 minutes. What should you do?
Update the old pipeline with the new pipeline code.
Snapshot the old pipeline, stop the old pipeline, and then start the new pipeline from the snapshot.
Drain the old pipeline, then start the new pipeline.
Cancel the old pipeline, then start the new pipeline.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: C
C. Drain the old pipeline, then start the new pipeline.
👍 2scaenruy2024/01/03 - 正解だと思う選択肢: C
- Graceful Data Transition: Draining the old pipeline ensures it processes all existing data in its buffers and watermarks before shutting down, preventing data loss or inconsistencies.
- Minimal Latency Increase: The latency increase will be limited to the amount of time it takes to drain the old pipeline, typically within the acceptable 10-minute threshold.
👍 2raaad2024/01/05 - 正解だと思う選択肢: C
Option C, draining the old pipeline solves all requests
👍 1Matt_1082024/01/13
シャッフルモード