Meta Data Scientist Data Manipulation (SQL/Python) Interview Questions

Practice 151 real Data Manipulation (SQL/Python) interview questions for Data Scientist roles at Meta.

151 Questions 1 Company07.06.2026
Showing 20 results
Role
Meta logo
Meta
Medium
Data Scientist

Analyze Ad CTR and Convert Transactions to USD

AdsImpressions +-----------+---------+------------+--------+-----------+ | user_id | ad_id | impressions| clicks | event_dt | +-----------+------...

Data Manipulation (SQL/Python)
126
0
501 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Identify Top Three Active Users by Event Date

event_log +------------+---------+-----------+---------------------+ | event_date | user_id | event_type| event_timestamp | +------------+--------...

Data Manipulation (SQL/Python)
137
1
357 people solved
Aug 4, 2025
Meta logo
Meta
Medium
Data Scientist

Determine Top Advertisers by Conversion Rate and CTR Analysis

ads +-------+---------------+------------+ | ad_id | advertiser_id | created_at | +-------+---------------+------------+ | 1 | 101 | 202...

Data Manipulation (SQL/Python)
78
0
128 people solved
Aug 4, 2025
Meta logo
Meta
Easy
Data ScientistSenior+

Compute invalid event percentage by pixel

Context You work on an ads pixel instrumentation platform. Each pixel emits events throughout the day; some events are missing (not observed) and some...

Data Manipulation (SQL/Python)
0
1
12 people solved
Aug 1, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate French User Engagement and U.S. Call Duration

call_logs +---------+-----------+------------+---------+----------+ | caller | recipient | ds | call_id | duration | +---------+-----------+-...

Data Manipulation (SQL/Python)
80
0
378 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Calculate Recent Post Views and Reactions for Social Media

info_stream_views +---------+-----------+--------------+----------+------------+ | post_id | viewer_id | relationship | duration | ds | +-----...

Data Manipulation (SQL/Python)
87
0
321 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Compute Daily Revenue by Creation Source

active_ads date | ad_id | advertiser_id | creation_source | revenue 2023-09-01 | 1001 | 17 | mobile_app | 150.00 2023-09-01 | 1...

Data Manipulation (SQL/Python)
67
0
231 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Design SQL Query for Shop Visibility and User Activity Metrics

SHOP_VISIBILITY +----------+---------+------------+------------+-------------+--------------+ | user_id | shop_id | event_date | is_visible | signup_...

Data Manipulation (SQL/Python)
78
0
181 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Identify Users Interested in Group Video Calls

video_calls caller | recipient | ds | call_id | duration u1 | u2 | 2023-09-01| c100 | 320 u3 | u4 | 2023-09-01| c101 ...

Data Manipulation (SQL/Python)
113
0
364 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Determine Product Buyer Count and Interaction Percentage

interactions +-----------+----------+------------+----+------------+ | seller_id | buyer_id | product_id | li | create_date| +-----------+----------+-...

Data Manipulation (SQL/Python)
13
0
35 people solved
Jul 12, 2025
Meta logo
Meta
Medium
Data Scientist

Compute ad impression conversion rates

You are given two tables for an ads product. Table: ad_impressions | Column | Type | Description | |---|---:|---| | impression_id | STRING | Unique id...

Data Manipulation (SQL/Python)
1
0
12 people solved
Apr 30, 2026
Meta logo
Meta
Medium
Data Scientist Locked

Count Recent High-Volume Call Users

This question evaluates SQL data manipulation and analytical querying skills, including time-window filtering, joins between user and call tables, rol...

Data Manipulation (SQL/Python)
24
1
156 people solved
Mar 14, 2026
Meta logo
Meta
Hard
Data Scientist

Write SQL for reply-based recipient metrics

You work on a social product and are given two tables. Assumptions (use these unless you state otherwise): - All timestamps are in UTC. - A “reply” is...

Data Manipulation (SQL/Python)
47
2
437 people solved
Mar 5, 2026
Meta logo
Meta
Medium
Data Scientist

Analyze spend cohort and source shifts

You work on an ads platform. Assume all timestamps are in UTC. Interpret last year as calendar year 2023 and this year as calendar year 2024. Tables: ...

Data Manipulation (SQL/Python)
11
2
80 people solved
Feb 23, 2026
Meta logo
Meta
Easy
Data Scientist Locked

Convert multi-currency revenue to USD totals

This question evaluates a candidate's competency in converting multi-currency revenue into USD totals by aligning event dates with FX rates, handling ...

Data Manipulation (SQL/Python)
4
0
47 people solved
Feb 16, 2026
Meta logo
Meta
Easy
Data Scientist Locked

Compute CTR for peak vs non-peak hours

This question evaluates a candidate's ability to compute time-based click-through rate metrics using SQL and data manipulation techniques, including j...

Data Manipulation (SQL/Python)
9
0
64 people solved
Feb 16, 2026
Meta logo
Meta
Easy
Data Scientist

Compute multi-account user distribution and unread pct

You are working on a product where a user can have multiple accounts, and each account can receive notifications. Tables Assume the following schemas:...

Data Manipulation (SQL/Python)
4
0
36 people solved
Feb 3, 2026
Meta logo
Meta
Easy
Data Scientist

Compute ads revenue by geography in SQL

You have ad delivery logs for a shop-ads system. Tables ad_impressions - impression_id STRING (PK) - ts TIMESTAMP (UTC) - user_id STRING - shop_id STR...

Data Manipulation (SQL/Python)
29
5
208 people solved
Jan 17, 2026
Meta logo
Meta
Medium
Data Scientist

Write SQL for CTR and revenue

Write SQL for the following two tasks. Problem 1: CTR during peak vs. non-peak hours You are given three tables: - ads(ad_id BIGINT, advertiser_id BIG...

Data Manipulation (SQL/Python)
6
1
42 people solved
Jan 3, 2026
Meta logo
Meta
Easy
Data Scientist

Compute active ad revenue by creation source

You work on an ads platform and need to report active ad revenue broken down by the ad’s creation source. Tables ads - ad_id BIGINT PK - advertiser_id...

Data Manipulation (SQL/Python)
3
0
27 people solved
Dec 6, 2025

Explore more Meta Data Scientist interview questions

Real questions from candidate reports, grouped by topic.

Other Meta Data Scientist categories
Browse all