Grouping and Aggregating Data Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Batch Data Ingestion

What you'll be asked

  1. Which SQL clause is primarily used to group rows that have the same values into summary rows?
  2. When performing batch data aggregation, which aggregate function would you use to calculate the average value of a numeric column while ignoring NULL values?
  3. You need to filter the results of an aggregation to only show groups where the total sales exceed $10,000. Which clause should you use?
  4. In a batch processing pipeline, what is a primary advantage of using a 'Combiner' function during a MapReduce-style aggregation?
  5. Consider a dataset with a 'user_id' and 'timestamp'. If you want to calculate the number of unique users per day, which combination of functions is most efficient?

Answers and explanations come after you submit.