Topic 1 Question 224
A web server sends click events to a Pub/Sub topic as messages. The web server includes an eventTimestamp attribute in the messages, which is the time when the click occurred. You have a Dataflow streaming job that reads from this Pub/Sub topic through a subscription, applies some transformations, and writes the result to another Pub/Sub topic for use by the advertising department. The advertising department needs to receive each message within 30 seconds of the corresponding click occurrence, but they report receiving the messages late. Your Dataflow job's system lag is about 5 seconds, and the data freshness is about 40 seconds. Inspecting a few messages show no more than 1 second lag between their eventTimestamp and publishTime. What is the problem and what should you do?
The advertising department is causing delays when consuming the messages. Work with the advertising department to fix this.
Messages in your Dataflow job are taking more than 30 seconds to process. Optimize your job or increase the number of workers to fix this.
Messages in your Dataflow job are processed in less than 30 seconds, but your job cannot keep up with the backlog in the Pub/Sub subscription. Optimize your job or increase the number of workers to fix this.
The web server is not pushing messages fast enough to Pub/Sub. Work with the web server team to fix this.
ユーザの投票
コメント(3)
- 正解だと思う選択肢:
System Lag vs. Data Freshness: System lag is low (5 seconds), indicating that individual messages are processed quickly. However, data freshness is high (40 seconds), suggesting a backlog in the pipeline. Not Advertising's Fault: The issue is upstream of their consumption, as they're already receiving delayed messages. Not Web Server's Fault: The lag between eventTimestamp and publishTime is minimal (1 second), meaning the server is publishing messages promptly.
👍 3e70ea9e2023/12/30 - 正解だと思う選択肢:
- It suggest a backlog problem.
- It indicates that while individual messages might be processed quickly once they're handled, the job overall cannot keep up with the rate of incoming messages, causing a delay in processing the backlog.
👍 3raaad2024/01/04 - 正解だと思う選択肢:
agree correct is C
👍 1Alex35512024/01/07
シャッフルモード