A Data Cloud Consultant needs to create a segment of customers who have made a purchase in the last 30 days and have an active subscription. However, the purchase data updates in real time via streaming ingestion, while the subscription data is batch-loaded nightly. Which segment type and refresh strategy should the consultant configure?
Trap 1: Create two separate segments (one streaming for purchases and one…
Segment unions combine criteria, but mixing segment types directly at the publish level like this is not the standard architectural pattern for synchronizing disparate batch and streaming cadences.
Trap 2: Use a Calculated Insight to merge the two datasets before building…
Calculated Insights can be used in segmentation, but streaming segments cannot directly use Calculated Insights as a source criteria in the same way batch segments can.
Trap 3: Configure a streaming segment with a 1-hour refresh interval to…
Streaming segments do not refresh on a scheduled interval like batch segments; they evaluate profile updates continuously as data flows into streaming DMOs.
- A
Create two separate segments (one streaming for purchases and one batch for subscriptions) and combine them using a segment container union.
Why it fails: Segment unions combine criteria, but mixing segment types directly at the publish level like this is not the standard architectural pattern for synchronizing disparate batch and streaming cadences.
- B
Use a Calculated Insight to merge the two datasets before building a streaming segment.
Why it fails: Calculated Insights can be used in segmentation, but streaming segments cannot directly use Calculated Insights as a source criteria in the same way batch segments can.
- C
Configure a streaming segment with a 1-hour refresh interval to capture the nightly batch updates.
Why it fails: Streaming segments do not refresh on a scheduled interval like batch segments; they evaluate profile updates continuously as data flows into streaming DMOs.
- D
Configure a batch segment with a scheduled daily refresh to evaluate both streaming and batch data sources simultaneously.
Batch segments process data on a scheduled basis, ensuring that nightly batch updates and historical streaming data are fully reconciled and evaluated together.