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?
Suggested Answer: D
Get Premium Professional Data Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
12 comments · newest first
MY
Myra
1 year ago
Definitely need to consider user behavior patterns for this.
BE
Bernardine
1 year ago
Wait, why would a global window (D) be useful here? Sounds off.
RI
Rickie
1 year ago
I disagree, sliding window (B) could capture more interactions.
LU
Luis
1 year ago
I think a session window (C) makes more sense for user activity.
TA
Tasia
1 year ago
A fixed-time window seems straightforward.
DE
Desmond
1 year ago
I vaguely remember something about global windows, but using a time-based trigger with a delay seems complicated for this scenario.
MA
Margart
1 year ago
I feel like session windows could be the right approach since they can handle gaps in user activity, but I'm a bit confused about the gap time duration.
TA
Taryn
1 year ago
I think a sliding time window might be useful, but I can't recall how it would handle the 1-hour inactivity rule effectively.
FA
Fausto
1 year ago
I remember we discussed fixed-time windows in class, but I'm not sure if that's the best choice here since we need to track user inactivity specifically.
TH
Thaddeus
1 year ago
Scalability seems like the most likely answer. With request/response, the client has to wait for the server to respond, which can be a bottleneck as the system grows.
JA
Janna
1 year ago
I remember discussing supplier evaluation methods in class, and I think talking to the suppliers about how to improve could be the best approach.
AN
Annabelle
1 year ago
Okay, I think I've got a handle on this. The key is to focus on the type of information that was potentially compromised and whether that could lead to harm for the individuals. I'll weigh the answer choices against that criteria.