PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches

Quick Overview

This question evaluates proficiency in data manipulation and aggregation over event logs and user dimension tables, assessing skills in joining datasets, measuring unique interactions, and computing recent user-activity metrics using SQL or Python.

  • Medium
  • Meta
  • Data Manipulation (SQL/Python)
  • Data Scientist

Analyze Recent User Activity from Video Call Logs

Company: Meta

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: Medium

Interview Round: Technical Screen

video_calls caller | recipient | ds | call_id | duration 123 | 456 | 2019-01-01 | 4325 | 864.4 032 | 789 | 2019-01-01 | 9395 | 263.7 456 | 032 | 2019-01-01 | 0879 | 22.0 ​ dim_all_users user_id | age_bucket | country | primary_os | dau_flag | ds 123 | 25-34 | us | android | 1 | 2019-07-01 456 | 65+ | gb | ios | 1 | 2019-07-01 789 | 13-17 | fr | ios | 0 | 2019-07-01 032 | 45-54 | eg | android | 1 | 2019-07-01 ##### Scenario Instagram wants quick insights from their video call logs to understand recent user activity. ##### Question How many users started a call with more than 3 different people in the last 7 days? 2. What percentage of yesterday’s daily-active French users were on at least one video call? ##### Hints COUNT DISTINCT correctly, filter by ds using current_date, treat caller and recipient symmetrically for usage rate.

Quick Answer: This question evaluates proficiency in data manipulation and aggregation over event logs and user dimension tables, assessing skills in joining datasets, measuring unique interactions, and computing recent user-activity metrics using SQL or Python.

Last updated: Mar 29, 2026

Loading coding console...

PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.

Related Coding Questions

  • Compute ad impression conversion rates - Meta (medium)
  • Count unconnected posts and reactions - Meta (medium)
  • Count heavy callers in 7 days - Meta (medium)
  • Write SQL for call metrics - Meta (medium)
  • Write SQL for multi-account metrics - Meta (medium)