Question 320
During a data access compliance assessment at Marshfield Publishing, the streaming ingestion team working on content metadata and licensed readership analytics discovers the following defect: A Beam pipeline groups customer sessions using fixed midnight windows despite sessions that cross hours and days. The implementation team reports the corrective work finished. Which observation BEST demonstrates that the original problem has been resolved?
Explanation
Correct Answer
Simulated events from one session are grouped across the clock boundary while distinct sessions remain separate. This measurable result directly tests the chosen correction (Use session windows with a business-appropriate inactivity gap and event-time semantics) against the initial failure (A Beam pipeline groups customer sessions using fixed midnight windows despite sessions that cross hours and days). For Marshfield Publishing's content metadata and licensed readership analytics, validated operational evidence is stronger than an untested completion ticket.
Incorrect Answers
A load test meets event latency and correctly incorporates the expected reference version. That measurement belongs to another cause (A stream must enrich customer updates from a small slowly changing reference table but launches a remote database query per event) after the different mitigation (Use suitable side-input or cached enrichment with bounded reference refresh and consistency checks). It does not prove that the required outcome for Marshfield Publishing's content metadata and licensed readership analytics occurred: Simulated events from one session are grouped across the clock boundary while distinct sessions remain separate.
Replaying late transactions produces the agreed business-day totals within the configured retention window. That measurement belongs to another cause (A streaming window groups events by arrival time so late mobile transactions appear in the wrong accounting day) after the different mitigation (Use Apache Beam event-time windows with watermarks and a documented allowed-lateness strategy). It does not prove that the required outcome for Marshfield Publishing's content metadata and licensed readership analytics occurred: Simulated events from one session are grouped across the clock boundary while distinct sessions remain separate.
Test input with delayed records updates completeness monitoring and late-event counters as intended. That measurement belongs to another cause (A monitoring team treats the watermark as the timestamp of the most recently published event and ignores pending late data) after the different mitigation (Interpret watermark progress relative to event-time completeness and configured late-arrival handling). It does not prove that the required outcome for Marshfield Publishing's content metadata and licensed readership analytics occurred: Simulated events from one session are grouped across the clock boundary while distinct sessions remain separate.