InterviewStack.io LogoInterviewStack.io

Data Problem Solving and Business Context Questions

Practical data oriented problem solving that connects business questions to correct, robust analyses. Includes translating business questions into queries and metric definitions, designing SQL or query logic for edge cases, handling data quality issues such as nulls duplicates and inconsistent dates, validating assumptions, and producing metrics like retention and churn. Emphasizes building queries and pipelines that are resilient to real world data issues, thinking through measurement definitions, and linking data findings to business implications and possible next steps.

EasyTechnical
23 practiced
Your product stores timestamps in UTC, and you have a user table with user_id and time_zone (IANA tz string). Describe how to compute daily active users by user's local date. Provide example SQL (PostgreSQL) or pseudocode to convert event_time to local date using the user's timezone, and explain how you would handle missing or invalid timezone values.
MediumSystem Design
45 practiced
Design an ETL job to ingest daily transactions that sometimes arrive late and occasionally require backfills. Describe how you would implement idempotent upserts, watermarks for late windows, and a mechanism to reprocess backfills without double-counting. What metadata would you store to support audits?
MediumTechnical
23 practiced
Write a SQL query to compute 7-day retention for user signup cohorts. Schema:
events(user_id uuid, event_name text, event_time timestamp with time zone)
Define cohort by users' first event (signup) date, and report retention for days 0 through 7 for cohorts in the last 90 days. Explain how you handle users with no activity after signup and late-arriving events.
EasyTechnical
21 practiced
You observe a one-day spike in signups on March 1. List the SQL checks and data validations you would run to determine whether the spike is a true business event or a data ingestion/duplication error. Provide example SQL snippets or steps you would run against event and ingestion logs.
MediumTechnical
26 practiced
Define 'monthly churn rate' for a SaaS product with monthly auto-renew billing. You have subscriptions(user_id, plan_id, start_date, end_date, canceled_at). Provide SQL or pseudocode to compute monthly customer churn rate and explain treatment of partial months, trial users, and failed payments.

Unlock Full Question Bank

Get access to hundreds of Data Problem Solving and Business Context interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.