Question 520
A pipeline computes average order value by averaging daily averages without weighting by daily order counts. A distinct-user report uses COUNT(*) on event rows and overstates active customers with many repeat events. What is the most appropriate plan for this situation?
Explanation
Correct Answer
An average of averages is biased when groups have different sizes. Event count and unique-user count measure different entities.
Incorrect Answers
Calculate the weighted numerator and denominator from underlying totals.
Calendar boundaries depend on the business timezone, not only UTC event storage; Requirement 2 requires: count distinct users at the required date and business grain after deduplication rules.
Group only on the required reporting grain and separately aggregate customer-level details if needed; Count distinct users at the required date and business grain after deduplication rules. This does not replace calculate the weighted numerator and denominator from underlying totals.






Certified Data Engineer Professional Practice Tests