Google
PROFESSIONAL-DATA-ENGINEER · Question #11
You are designing a basket abandonment system for an ecommerce company. The system will send a message to a user based on these rules: - No interaction by the user on the site for 1 hour - Has added m
The correct answer is C. Use a session window with a gap time duration of 60 minutes.. Explanation/Reference: It will send a message per user after that user is inactive for 60 minutes. Session window works well for capturing a session per user basis.
Submitted by yuriko_h· Mar 30, 2026Designing data processing systems
Question
You are designing a basket abandonment system for an ecommerce company. The system will send a message to a user based on these rules: - No interaction by the user on the site for 1 hour - Has added more than $30 worth of products to the basket - Has not completed a transaction You use Google Cloud Dataflow to process the data and decide if a message should be sent. How should you design the pipeline?
Options
- AUse a fixed-time window with a duration of 60 minutes.
- BUse a sliding time window with a duration of 60 minutes.
- CUse a session window with a gap time duration of 60 minutes.
- DUse a global window with a time based trigger with a delay of 60 minutes.
How the community answered
(25 responses)- A16% (4)
- B32% (8)
- C44% (11)
- D8% (2)
Explanation
Explanation/Reference: It will send a message per user after that user is inactive for 60 minutes. Session window works well for capturing a session per user basis.
Topics
#Dataflow session windows#streaming windowing#event-driven pipeline#basket abandonment
Community Discussion
No community discussion yet for this question.